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

Bug 641154

Summary: mail-client/drac-1.12-r1 drac.h:9:21: fatal error: rpc/rpc.h: No such file or directory
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Severity: normal Keywords: PMASKED
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381391    

Description Mike Gilbert gentoo-dev 2017-12-15 16:59:27 UTC
With glibc-2.26 and net-libs/rpcsvc-proto installed, drac fails to build.

 * drac.tar.Z BLAKE2B SHA512 size ;-) ...                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking drac.tar.Z to /x/portage/mail-client/drac-1.12-r1/work
>>> Source unpacked in /x/portage/mail-client/drac-1.12-r1/work
>>> Compiling source in /x/portage/mail-client/drac-1.12-r1/work ...
make -j6 -j1 
x86_64-pc-linux-gnu-gcc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -O2 -pipe -march=amdfam10   -c -o testing.o testing.c
testing.c:10:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(argc, argv)
testing.c: In function ‘main’:
testing.c:21:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
testing.c:21:3: warning: incompatible implicit declaration of built-in function ‘exit’
testing.c:21:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
testing.c:25:7: warning: implicit declaration of function ‘dracauth’ [-Wimplicit-function-declaration]
  rc = dracauth(host, ip, &err);
rpcgen -C -I drac.x
x86_64-pc-linux-gnu-gcc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -O2 -pipe -march=amdfam10   -c -o dracauth.o dracauth.c
In file included from dracauth.c:21:0:
drac.h:9:21: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
compilation terminated.
make: *** [<builtin>: dracauth.o] Error 1
emake failed
Comment 1 Mike Gilbert gentoo-dev 2017-12-23 18:17:36 UTC
# Mike Gilbert <> (23 Dec 2017)
# Fails to build without glibc rpc support, bug 641154.
# Dead upstream.
# Removal in 30 days.