Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713716 - x11-apps/xload-1.1.4 : /.../get_rload.c: fatal error: protocols/rwhod.h: No such file or directory
Summary: x11-apps/xload-1.1.4 : /.../get_rload.c: fatal error: protocols/rwhod.h: No s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-20 22:14 UTC by Toralf Förster
Modified: 2023-03-21 19:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2020-03-20 22:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.19 KB, text/plain)
2020-03-20 22:14 UTC, Toralf Förster
Details
environment (environment,108.95 KB, text/plain)
2020-03-20 22:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.46 KB, application/x-bzip)
2020-03-20 22:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.89 KB, application/x-bzip)
2020-03-20 22:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.91 KB, application/x-bzip)
2020-03-20 22:14 UTC, Toralf Förster
Details
x11-apps:xload-1.1.3:20200320-220454.log (x11-apps:xload-1.1.3:20200320-220454.log,10.64 KB, text/plain)
2020-03-20 22:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-20 22:14:42 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3    -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o get_rload.o /var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3/get_rload.c
/var/tmp/portage/x11-apps/xload-1.1.3/work/xload-1.1.3/get_rload.c:27:10: fatal error: protocols/rwhod.h: No such file or directory
   27 | #include <protocols/rwhod.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Mar 20 20:38:39 UTC 2020
/var/db/repos/musl	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO x11-apps/xload
[ebuild  N    ] x11-apps/xload-1.1.3
Comment 1 Toralf Förster gentoo-dev 2020-03-20 22:14:44 UTC
Created attachment 623500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 22:14:47 UTC
Created attachment 623502 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 22:14:50 UTC
Created attachment 623504 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 22:14:53 UTC
Created attachment 623506 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 22:14:55 UTC
Created attachment 623508 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 22:14:58 UTC
Created attachment 623510 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-20 22:15:01 UTC
Created attachment 623512 [details]
x11-apps:xload-1.1.3:20200320-220454.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-31 19:26:07 UTC
No patch in Alpine... https://git.alpinelinux.org/aports/tree/testing/xload/APKBUILD
Comment 9 Agostino Sarubbo gentoo-dev 2022-10-10 08:07:49 UTC
tinderbox_musl has reproduced this issue with version 1.1.4 - Updating summary.
Comment 10 immolo 2023-03-21 19:00:05 UTC
This one came up as a support question today and was solved doing the following:

1. Download https://raw.githubusercontent.com/lattera/glibc/master/inet/protocols/rwhod.h
2. Place file in /usr/include/protocols/
3. emerge -va x11-apps/xload 

I'm assuming Alpine has written their own version of rwod.h so I'll confirm this and see if there is a cleaner way can do the same in Gentoo once I'm back with a machine I can test on.