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

Bug 637114

Summary: dev-perl/Ace depends on SunRPC implementation in glibc which is to go away
Product: Gentoo Linux Reporter: Anton <anton.stay.connected>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Severity: normal CC: perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381391    
Attachments: build.log
emerge --info '=dev-perl/Ace-1.290.0-r2::local'
emerge -pqv '=dev-perl/Ace-1.290.0-r2::local'
The ebuild file used

Description Anton 2017-11-10 23:31:12 UTC
The support for RPC in glibc is to go away [1, 2] and it seems that dev-perl/Ace implicitly depends on it.

The way this dependence manifested itself for me was a build failure on a Gentoo Prefix on Mac -- which does not have glibc installed and uses the Apple's libc library instead. (The problem was not finding rpcgen binary, details to be attached) Emerging net-libs/rpcsvc-proto fixed this particular build failure -- however a generic solution is discussed in detail in [2]

Comment 1 Anton 2017-11-10 23:31:52 UTC
Created attachment 503544 [details]
Comment 2 Anton 2017-11-10 23:32:53 UTC
Created attachment 503546 [details]
emerge --info '=dev-perl/Ace-1.290.0-r2::local'
Comment 3 Anton 2017-11-10 23:33:33 UTC
Created attachment 503548 [details]
emerge -pqv '=dev-perl/Ace-1.290.0-r2::local'
Comment 4 Anton 2017-11-10 23:38:58 UTC
Created attachment 503550 [details]
The ebuild file used

The ebuild had to be modified slightly for Prefix-specific reasons. The change is the generation of "DARWIN_DEF" file within src_prepare(). That file defines the compiler and linker commands to be used on a Darwin (i.e. MacOS) system, and will be included by the Makefile. See
Comment 5 Anton 2017-11-10 23:45:32 UTC
Acknowledgements: Andreas K. Huettel <> on gentoo-user mailing list, for helping understand the problem and find the solution.
Comment 6 Larry the Git Cow gentoo-dev 2018-03-30 19:12:56 UTC
The bug has been closed via the following commit(s):

commit 960f0cdf44edbcd5ae2ca7f3e36d0f6ad1f54b00
Author:     Andreas K. Hüttel <>
AuthorDate: 2018-03-30 19:12:32 +0000
Commit:     Andreas K. Hüttel <>
CommitDate: 2018-03-30 19:12:47 +0000

    dev-perl/Ace: Various fixes for glibc-2.26 and Darwin
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Ace/Ace-1.920.0-r3.ebuild | 113 +++++++++++++++++++++++++++++++++++++
 1 file changed, 113 insertions(+)