make[2]: Entering directory '/var/tmp/portage/net-nds/ypbind-1.37.2-r1/work/ypbind-mt-1.37.2/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -pipe -march=native -Wall -c ypbind-mt.c ypbind-mt.c:42:21: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> ^ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_20171110-180110 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpv net-nds/ypbind [ebuild N ] net-nds/ypbind-1.37.2-r1 USE="nls systemd -dbus -debug -slp"
Created attachment 504340 [details] emerge-info.txt
Created attachment 504342 [details] emerge-history.txt
Created attachment 504344 [details] environment
Created attachment 504346 [details] etc.portage.tbz2
Created attachment 504348 [details] logs.tbz2
Created attachment 504350 [details] net-nds:ypbind-1.37.2-r1:20171115-050301.log
Created attachment 504352 [details] temp.tbz2
On my system this is happening because I upgraded glibc to 2.26-r6. Beginning with glibc-2.26, the rpc functions are no longer built into glibc by default. I installed net-libs/libtirpc, which now provides these functions. The headers are installed in /usr/include/tirpc, but this package does not add this directory to the include path when compiling. I have successfully installed net-nds/yp-tools, and its ypcat links to libtirpc.so to get those functions. The ebuild supports this as follows: DEPEND=" || ( <sys-libs/glibc-2.26[rpc] net-libs/libtirpc ) net-libs/libnsl:0= " And presumably it adds /usr/include/tirpc to the include path when compiling as appropriate.
Ugh. Just realized you guys already know that is and just decided to give up. Any idea what gentoo packages might support ypbind and ypserv functionality in the future?
Removed from the tree