Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641012 - dev-perl/Ace-1.920.0-r2 - make[2]: rpcgen: Command not found
Summary: dev-perl/Ace-1.920.0-r2 - make[2]: rpcgen: Command not found
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-14 16:49 UTC by Martin Mokrejš
Modified: 2018-09-07 11:03 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,11.16 KB, text/plain)
2017-12-14 16:52 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2017-12-14 16:49:55 UTC
It seems the package is missing some dependency.

rpcgen -b -I -K -1 rpcace.x
make[2]: rpcgen: Command not found
make[2]: *** [Makefile:100: rpcace.h] Error 127
make[2]: Leaving directory '/scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work/AcePerl-1.92/acelib'


Based on a wild guess from bug #640416 I installed net-libs/rpcsvc-proto-1.2-r1 but then I get anyway:


gcc -g -Wall -O2 -DACEDB4 -fPIC -I. -I./wh -DLINUX -c -c aceclientlib.c
aceclientlib.c:30:21: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
                     ^
compilation terminated.
make[2]: *** [Makefile:105: aceclientlib.o] Error 1
make[2]: Leaving directory '/scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work/AcePerl-1.92/acelib'


Seems the package does not provide such header file:

# equery files net-libs/rpcsvc-proto
 * Searching for rpcsvc-proto in net-libs ...
 * Contents of net-libs/rpcsvc-proto-1.2-r1:
/usr
/usr/bin
/usr/bin/rpcgen
/usr/include
/usr/include/rpcsvc
/usr/include/rpcsvc/bootparam.h
/usr/include/rpcsvc/bootparam_prot.h
/usr/include/rpcsvc/bootparam_prot.x
/usr/include/rpcsvc/key_prot.h
/usr/include/rpcsvc/key_prot.x
/usr/include/rpcsvc/klm_prot.h
/usr/include/rpcsvc/klm_prot.x
/usr/include/rpcsvc/mount.h
/usr/include/rpcsvc/mount.x
/usr/include/rpcsvc/nfs_prot.h
/usr/include/rpcsvc/nfs_prot.x
/usr/include/rpcsvc/nlm_prot.h
/usr/include/rpcsvc/nlm_prot.x
/usr/include/rpcsvc/rex.h
/usr/include/rpcsvc/rex.x
/usr/include/rpcsvc/rstat.h
/usr/include/rpcsvc/rstat.x
/usr/include/rpcsvc/rusers.h
/usr/include/rpcsvc/rusers.x
/usr/include/rpcsvc/sm_inter.h
/usr/include/rpcsvc/sm_inter.x
/usr/include/rpcsvc/spray.h
/usr/include/rpcsvc/spray.x
/usr/share
/usr/share/doc
/usr/share/doc/rpcsvc-proto-1.2-r1
/usr/share/doc/rpcsvc-proto-1.2-r1/ChangeLog.bz2
/usr/share/doc/rpcsvc-proto-1.2-r1/NEWS.bz2
/usr/share/doc/rpcsvc-proto-1.2-r1/README.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rpcgen.1.bz2
#
Comment 1 Martin Mokrejš 2017-12-14 16:51:52 UTC
And I think the Ace ebuild should take advantage of some IUSE values, as there components are optional:


>>> Emerging (1 of 1) dev-perl/Ace-1.920.0-r2::gentoo
 * AcePerl-1.92.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking AcePerl-1.92.tar.gz to /scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work
>>> Source unpacked in /scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work
>>> Preparing source in /scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work/AcePerl-1.92 ...
>>> Source prepared.
>>> Configuring source in /scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/work/AcePerl-1.92 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/scratch/var/tmp/portage/dev-perl/Ace-1.920.0-r2/image/

What do you want to build?

  1) Interface to Ace socket server and local databases (pure Perl)
  2) The above plus XS optimizations (requires C compiler)
  3) The above plus RPC server interface (requires C compiler)

Enter your choice:  [3] 3
...
Comment 2 Martin Mokrejš 2017-12-14 16:52:06 UTC
Created attachment 510040 [details]
build.log
Comment 3 Martin Mokrejš 2017-12-14 17:03:54 UTC
And yes, I am at sys-libs/glibc-2.26-r3 , forgot to mention bug #637270.
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-04-04 23:44:23 UTC
Can you test with -r3 and see how you fare?

Also, I'd rather avoid IUSE if we can. As it was, it installed modules that relied on this functionality, but simply exploded when used. ( It previously always used "1" )

Adding IUSE would mean we'd have to put additional work in to remove these.
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-09-07 11:03:51 UTC
If anyone having this problem can report back what -r3 does for them, that'd be great. But as-is, I can't replicate this problem, so I'm relying on you people to indicate its fixed.