Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637114 - dev-perl/Ace depends on SunRPC implementation in glibc which is to go away
Summary: dev-perl/Ace depends on SunRPC implementation in glibc which is to go away
Status: RESOLVED FIXED
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: glibc-rpc
  Show dependency tree
 
Reported: 2017-11-10 23:31 UTC by Anton
Modified: 2018-03-30 19:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,11.06 KB, text/plain)
2017-11-10 23:31 UTC, Anton
Details
emerge --info '=dev-perl/Ace-1.290.0-r2::local' (emerge-info.log,4.51 KB, text/plain)
2017-11-10 23:32 UTC, Anton
Details
emerge -pqv '=dev-perl/Ace-1.290.0-r2::local' (emerge-pqv.log,66 bytes, text/plain)
2017-11-10 23:33 UTC, Anton
Details
The ebuild file used (Ace-1.920.0-r2.ebuild,2.70 KB, text/plain)
2017-11-10 23:38 UTC, Anton
Details

Note You need to log in before you can comment on or make changes to this bug.
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]


[1] https://archives.gentoo.org/gentoo-dev/message/034dbef0c206eba696c47c4daf2c7ce8
[2] https://wiki.gentoo.org/wiki/Project:Toolchain/RPC_implementation
Comment 1 Anton 2017-11-10 23:31:52 UTC
Created attachment 503544 [details]
build.log
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 https://bugs.gentoo.org/637102
Comment 5 Anton 2017-11-10 23:45:32 UTC
Acknowledgements: Andreas K. Huettel <dilfridge@gentoo.org> 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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960f0cdf44edbcd5ae2ca7f3e36d0f6ad1f54b00

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

    dev-perl/Ace: Various fixes for glibc-2.26 and Darwin
    
    Closes: https://bugs.gentoo.org/637114
    Closes: https://bugs.gentoo.org/637102
    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(+)