Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641056

Summary: net-nds/portmap-6.0::gentoo missing dependencies
Product: Gentoo Linux Reporter: Roman Gruber <roman.gruber>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Gruber 2017-12-14 21:27:02 UTC
As I am forced to enable PIE because of some decission, I upgraded to latest GCC from overlay gentoo with latest profile named profile 17 desctop, amd64.

I expect better testing of core components, this is the 76 package which was build with the recommended

emerge -e world as suggested by the emerge news thing!

I also want to point out that I was told several times on forums.gentoo.org that a rebuild of the system or world set is not needed anymore. It is kinda amusing that it is now required! 

Should the box fail or be unusable because of the NEW requirement of PIE, which is just a cosmetic enforced change without any additional benefit, I ll ditch gentoo at all now. After more than 11 years I know a certain amout on how gentoo works and that enforced PIE ist just not needed or required on boxes with NSA spyware/trojan coprocessores these days.
Gentoo was about choice, now it is use it or go. 

system settings can be recovered from other bugs I filed earlier.

>>> Emerging (76 of 962) net-nds/portmap-6.0::gentoo
>>> Failed to emerge net-nds/portmap-6.0, Log file:
>>>  '/var/tmp/portage/net-nds/portmap-6.0/temp/build.log'
>>> Jobs: 75 of 962 complete, 1 failed              Load avg: 1.50, 1.91, 1.65
 * Package:    net-nds/portmap-6.0
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux tcpd userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking portmap-6.0.tgz to /var/tmp/portage/net-nds/portmap-6.0/work
 * Applying portmap-6.0-tcpd.patch ...
 [ ok ]
>>> Source unpacked in /var/tmp/portage/net-nds/portmap-6.0/work
>>> Compiling source in /var/tmp/portage/net-nds/portmap-6.0/work/portmap_6.0 ...
make -j7 NO_TCP_WRAPPER= 
x86_64-pc-linux-gnu-gcc -MM -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes *.c > .depend
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD	 -DFACILITY=LOG_DAEMON   -c -o portmap.o portmap.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD	 -DFACILITY=LOG_DAEMON   -c -o pmap_check.o pmap_check.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD	 -DFACILITY=LOG_DAEMON   -c -o from_local.o from_local.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD	 -DFACILITY=LOG_DAEMON   -c -o pmap_dump.o pmap_dump.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD	 -DFACILITY=LOG_DAEMON   -c -o pmap_set.o pmap_set.c
sed -e 's/RPCUSER//' -e 's/DAEMON_UID/1/' -e 's/DAEMON_GID/1/' < portmap.8 > portmap.man
portmap.c:79:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: portmap.o] Error 1
make: *** Waiting for unfinished jobs....
pmap_check.c:38:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: pmap_check.o] Error 1
pmap_set.c:13:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: pmap_set.o] Error 1
pmap_dump.c:16:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: pmap_dump.o] Error 1
emake failed
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-14 21:30:31 UTC
Bugzilla has a search function. Use it.

*** This bug has been marked as a duplicate of bug 630670 ***
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-12-15 10:29:06 UTC
PIE is now the default and deliberately made a little more tricky to toggle because it's not nice to flip backwards and forwards. That doesn't mean it's mandatory, you can still switch it off if you really want to.