Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641154 - mail-client/drac-1.12-r1 drac.h:9:21: fatal error: rpc/rpc.h: No such file or directory
Summary: mail-client/drac-1.12-r1 drac.h:9:21: fatal error: rpc/rpc.h: No such file or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: glibc-rpc
  Show dependency tree
 
Reported: 2017-12-15 16:59 UTC by Mike Gilbert
Modified: 2018-01-27 19:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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]
   exit(1);
   ^~~~
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 <floppym@gentoo.org> (23 Dec 2017)
# Fails to build without glibc rpc support, bug 641154.
# Dead upstream.
# Removal in 30 days.
mail-client/drac