Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630246 - net-nds/yp-tools-4.2.2 : yp_all_host.c:30:27: fatal error: rpcsvc/ypclnt.h: No such file or directory
Summary: net-nds/yp-tools-4.2.2 : yp_all_host.c:30:27: fatal error: rpcsvc/ypclnt.h: N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-rpc
  Show dependency tree
 
Reported: 2017-09-07 15:20 UTC by Toralf Förster
Modified: 2018-10-20 11:39 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.09 KB, text/plain)
2017-09-07 15:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.95 KB, text/plain)
2017-09-07 15:20 UTC, Toralf Förster
Details
environment (environment,49.28 KB, text/plain)
2017-09-07 15:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.68 KB, application/x-bzip)
2017-09-07 15:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.00 KB, application/x-bzip)
2017-09-07 15:21 UTC, Toralf Förster
Details
net-nds:yp-tools-4.2.2:20170907-121309.log (net-nds:yp-tools-4.2.2:20170907-121309.log,10.03 KB, text/plain)
2017-09-07 15:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.30 KB, application/x-bzip)
2017-09-07 15:21 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,14.83 KB, text/plain)
2018-01-11 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.30 KB, text/plain)
2018-01-11 17:36 UTC, Toralf Förster
Details
environment (environment,49.85 KB, text/plain)
2018-01-11 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.63 KB, application/x-bzip)
2018-01-11 17:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.02 KB, application/x-bzip)
2018-01-11 17:36 UTC, Toralf Förster
Details
net-nds:yp-tools-4.2.2-r1:20180111-090715.log (net-nds:yp-tools-4.2.2-r1:20180111-090715.log,10.09 KB, text/plain)
2018-01-11 17:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.43 KB, application/x-bzip)
2018-01-11 17:37 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,15.36 KB, text/plain)
2018-05-20 15:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,69.33 KB, text/plain)
2018-05-20 15:44 UTC, Toralf Förster
Details
environment (environment,49.59 KB, text/plain)
2018-05-20 15:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.66 KB, application/x-bzip)
2018-05-20 15:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.01 KB, application/x-bzip)
2018-05-20 15:44 UTC, Toralf Förster
Details
net-nds:yp-tools-4.2.2-r2:20180520-133055.log (net-nds:yp-tools-4.2.2-r2:20180520-133055.log,10.08 KB, text/plain)
2018-05-20 15:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.90 KB, application/x-bzip)
2018-05-20 15:44 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 2017-09-07 15:20:52 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2017-09-07 15:20:55 UTC
Created attachment 493018 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-07 15:20:58 UTC
Created attachment 493020 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-07 15:21:01 UTC
Created attachment 493022 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-07 15:21:04 UTC
Created attachment 493024 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-07 15:21:08 UTC
Created attachment 493026 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-07 15:21:11 UTC
Created attachment 493028 [details]
net-nds:yp-tools-4.2.2:20170907-121309.log
Comment 7 Toralf Förster gentoo-dev 2017-09-07 15:21:14 UTC
Created attachment 493030 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2017-11-01 18:59:03 UTC
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(+)
Comment 9 Toralf Förster gentoo-dev 2018-01-11 17:36:44 UTC
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
Comment 10 Toralf Förster gentoo-dev 2018-01-11 17:36:48 UTC
Created attachment 514306 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2018-01-11 17:36:50 UTC
Created attachment 514308 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2018-01-11 17:36:53 UTC
Created attachment 514310 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2018-01-11 17:36:56 UTC
Created attachment 514312 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2018-01-11 17:36:59 UTC
Created attachment 514314 [details]
logs.tbz2
Comment 15 Toralf Förster gentoo-dev 2018-01-11 17:37:02 UTC
Created attachment 514316 [details]
net-nds:yp-tools-4.2.2-r1:20180111-090715.log
Comment 16 Toralf Förster gentoo-dev 2018-01-11 17:37:04 UTC
Created attachment 514318 [details]
temp.tbz2
Comment 17 Pacho Ramos gentoo-dev 2018-01-11 18:53:14 UTC
Is net-libs/libtirpc not providing that file?
Comment 18 Toralf Förster gentoo-dev 2018-01-11 19:24:03 UTC
(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
Comment 19 Larry the Git Cow gentoo-dev 2018-03-03 22:36:30 UTC
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(+)
Comment 20 Toralf Förster gentoo-dev 2018-05-20 15:44:33 UTC
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
Comment 21 Toralf Förster gentoo-dev 2018-05-20 15:44:37 UTC
Created attachment 532326 [details]
emerge-info.txt
Comment 22 Toralf Förster gentoo-dev 2018-05-20 15:44:40 UTC
Created attachment 532328 [details]
emerge-history.txt
Comment 23 Toralf Förster gentoo-dev 2018-05-20 15:44:43 UTC
Created attachment 532330 [details]
environment
Comment 24 Toralf Förster gentoo-dev 2018-05-20 15:44:46 UTC
Created attachment 532332 [details]
etc.portage.tbz2
Comment 25 Toralf Förster gentoo-dev 2018-05-20 15:44:49 UTC
Created attachment 532334 [details]
logs.tbz2
Comment 26 Toralf Förster gentoo-dev 2018-05-20 15:44:52 UTC
Created attachment 532336 [details]
net-nds:yp-tools-4.2.2-r2:20180520-133055.log
Comment 27 Toralf Förster gentoo-dev 2018-05-20 15:44:55 UTC
Created attachment 532338 [details]
temp.tbz2
Comment 28 Pacho Ramos gentoo-dev 2018-06-20 15:31:02 UTC
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?
Comment 29 Toralf Förster gentoo-dev 2018-06-20 17:34:20 UTC
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 / #
Comment 30 Patrice Herault 2018-09-18 22:24:59 UTC
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.
Comment 31 Pacho Ramos gentoo-dev 2018-10-08 13:05:00 UTC
(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)
Comment 32 Larry the Git Cow gentoo-dev 2018-10-20 11:39:21 UTC
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(-)