x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -D_REENTRANT=1 -O2 -pipe -march=native -Wall -c nicknames.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -D_REENTRANT=1 -O2 -pipe -march=native -Wall -c yp_all_host.c yp_all_host.c:30:27: fatal error: rpcsvc/ypclnt.h: No such file or directory #include <rpcsvc/ypclnt.h> ^ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_20170905-225247 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv net-nds/yp-tools [ebuild N ] net-nds/yp-tools-4.2.2 USE="nls"
Created attachment 493018 [details] emerge-info.txt
Created attachment 493020 [details] emerge-history.txt
Created attachment 493022 [details] environment
Created attachment 493024 [details] etc.portage.tbz2
Created attachment 493026 [details] logs.tbz2
Created attachment 493028 [details] net-nds:yp-tools-4.2.2:20170907-121309.log
Created attachment 493030 [details] temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40cbd88c042002320f2166469046a29b883457b commit a40cbd88c042002320f2166469046a29b883457b Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-11-01 18:58:38 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-11-01 18:58:54 +0000 net-nds/yp-tools: Add missing dependencies for the glibc-2.26 case, bug 630246 Closes: https://bugs.gentoo.org/630246 Package-Manager: Portage-2.3.13, Repoman-2.3.4 .../yp-tools/{yp-tools-4.2.2.ebuild => yp-tools-4.2.2-r1.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+)
got at the unstable amd64 chroot image 17.0-hardened_libressl-test_20180108-214514 this : yp_all_host.c:30:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
Created attachment 514306 [details] emerge-info.txt
Created attachment 514308 [details] emerge-history.txt
Created attachment 514310 [details] environment
Created attachment 514312 [details] etc.portage.tbz2
Created attachment 514314 [details] logs.tbz2
Created attachment 514316 [details] net-nds:yp-tools-4.2.2-r1:20180111-090715.log
Created attachment 514318 [details] temp.tbz2
Is net-libs/libtirpc not providing that file?
(In reply to Pacho Ramos from comment #17) tinderbox@mr-fox ~ $ scw run/17.0-hardened_libressl-test_20180108-214514/ mr-fox / # eix -I net-libs/libtirpc [I] net-libs/libtirpc Available versions: 1.0.1-r1(0/3) 1.0.2-r1(0/3) {ipv6 kerberos static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 1.0.2-r1(0/3)(03:12:21 PM 01/10/2018)(ipv6 -kerberos -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Homepage: http://libtirpc.sourceforge.net/ Description: Transport Independent RPC library (SunRPC replacement) mr-fox / # equery f net-libs/libtirpc | grep ypclnt.h mr-fox / # exit exit
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3f3423b5a8c8c808209abafd62e8fab2523401 commit 2d3f3423b5a8c8c808209abafd62e8fab2523401 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-03-03 22:35:56 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-03-03 22:36:21 +0000 net-nds/yp-tools: Always use libtirpc, should fix bug 630246 Closes: https://bugs.gentoo.org/630246 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-nds/yp-tools/yp-tools-4.2.2-r2.ebuild | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+)
got at the unstable amd64 chroot image 17.0_20180519-112102 this : yp_all_host.c:30:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
Created attachment 532326 [details] emerge-info.txt
Created attachment 532328 [details] emerge-history.txt
Created attachment 532330 [details] environment
Created attachment 532332 [details] etc.portage.tbz2
Created attachment 532334 [details] logs.tbz2
Created attachment 532336 [details] net-nds:yp-tools-4.2.2-r2:20180520-133055.log
Created attachment 532338 [details] temp.tbz2
The header is installed by net-libs/libnsl-1.2.0 (/usr/include/rpcsvc/ypclnt.h) and that is pulled in deps... do you have libnsl in your system? Is that file present?
nope - the atatched emerge-history does not contains it. But FWIW later it was installed: mr-fox / # qlop -u -l net-libs/libnsl Thu May 31 07:41:11 2018 <<< net-libs/libnsl-0-r1 Thu May 31 07:41:19 2018 >>> net-libs/libnsl-1.2.0 mr-fox / #
Hi, I was able to compile yp-tools by changing the version of gcc. I replaced gcc-8.2.0-r2 with gcc-7.3.0-r3. No more worry.
(In reply to Toralf Förster from comment #29) > nope - the atatched emerge-history does not contains it. But FWIW later it > was installed: > > mr-fox / # qlop -u -l net-libs/libnsl > Thu May 31 07:41:11 2018 <<< net-libs/libnsl-0-r1 > Thu May 31 07:41:19 2018 >>> net-libs/libnsl-1.2.0 > mr-fox / # probably we need to force a newer version to be pulled before trying to be merged (In reply to Patrice Herault from comment #30) > Hi, I was able to compile yp-tools by changing the version of gcc. > I replaced gcc-8.2.0-r2 with gcc-7.3.0-r3. > No more worry. that looks to be like a different bug (probably with different error messages)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa31a6ddf3efaddca26f0349c0836888c032039 commit 8aa31a6ddf3efaddca26f0349c0836888c032039 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-20 10:57:51 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-20 11:38:58 +0000 net-nds/yp-tools: Pull in new enough libnsl Closes: https://bugs.gentoo.org/630246 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-nds/yp-tools/yp-tools-4.2.2-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)