Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757762 - net-libs/libnsl-1.3.0-r1 - yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
Summary: net-libs/libnsl-1.3.0-r1 - yp_prot.h:10:10: fatal error: rpc/rpc.h: No such f...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 15:57 UTC by Jean-Francois Ostiguy
Modified: 2020-11-30 16:20 UTC (History)
2 users (show)

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


Attachments
emerge.info (emerge.info,6.84 KB, application/x-info)
2020-11-30 15:57 UTC, Jean-Francois Ostiguy
Details
build.log (libnsl-1.3.0-r1.build.log,33.39 KB, text/x-log)
2020-11-30 15:58 UTC, Jean-Francois Ostiguy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Ostiguy 2020-11-30 15:57:24 UTC
net-libs/libnsl-1.3.0-r1 emerge fails after profile 17.1 conversionIn file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/ypprot_err.c:22:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_order.c  -fPIC -DPIC -o .libs/yp_order.o
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_master.c:21:10: fatal error: rpc/clnt.h: No such file or directory
   21 | #include <rpc/clnt.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: ypprot_err.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/ypbinderr_string.c:24:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_xdr.c:41:10: fatal error: rpc/types.h: No such file or directory
   41 | #include <rpc/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: yp_master.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/taddr2host.c  -fPIC -DPIC -o .libs/taddr2host.o
make[2]: *** [Makefile:693: yp_xdr.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_maplist.c  -fPIC -DPIC -o .libs/yp_maplist.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_match.c  -fPIC -DPIC -o .libs/yp_match.o
make[2]: *** [Makefile:693: ypbinderr_string.lo] Error 1
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_first.c:21:10: fatal error: rpc/clnt.h: No such file or directory
   21 | #include <rpc/clnt.h>
      |          ^~~~~~~~~~~~
compilation terminated.
In file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/do_ypcall.c:28:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: yp_first.lo] Error 1
make[2]: *** [Makefile:693: do_ypcall.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_next.c  -fPIC -DPIC -o .libs/yp_next.o
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_order.c:21:10: fatal error: rpc/clnt.h: No such file or directory
   21 | #include <rpc/clnt.h>
      |          ^~~~~~~~~~~~
compilation terminated.
In file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_get_default_domain.c:23:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/nis.h:35:10: fatal error: rpc/rpc.h: No such file or directory
   35 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: yp_order.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -O2 -pipe -march=native -c /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yperr_string.c  -fPIC -DPIC -o .libs/yperr_string.o
make[2]: *** [Makefile:693: yp_get_default_domain.lo] Error 1
In file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_maplist.c:22:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
In file included from /var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_match.c:22:
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: yp_maplist.lo] Error 1
make[2]: *** [Makefile:693: yp_match.lo] Error 1
/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0/src/yp_next.c:21:10: fatal error: rpc/clnt.h: No such file or directory
   21 | #include <rpc/clnt.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:693: yp_next.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0-abi_x86_32.x86/src'
make[1]: *** [Makefile:487: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0-abi_x86_32.x86'
make: *** [Makefile:396: all] Error 2
 * ERROR: net-libs/libnsl-1.3.0-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/libnsl-1.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libnsl-1.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-libs/libnsl-1.3.0-r1/work/libnsl-1.3.0'



Reproducible: Always
Comment 1 Jean-Francois Ostiguy 2020-11-30 15:57:57 UTC
Created attachment 675844 [details]
emerge.info
Comment 2 Jean-Francois Ostiguy 2020-11-30 15:58:33 UTC
Created attachment 675847 [details]
build.log
Comment 3 Brian Evans (RETIRED) gentoo-dev 2020-11-30 16:12:37 UTC
(In reply to Jean-Francois Ostiguy from comment #2)
> Created attachment 675847 [details]
> build.log

>checking for TIRPC... no

Fix your rebuild issue from bug 757759 first.
Comment 4 Jean-Francois Ostiguy 2020-11-30 16:19:15 UTC
> Fix your rebuild issue from bug 757759 first.

The above fixed this as well. Thanks.