Summary: | <sys-process/lsof-4.85 fails to build with glibc-2.14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kabel, rsantos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381391 | ||
Attachments: |
Build log
lsof 4.84 rpc patch proposed lsof 4.84-r1 ebuild |
Description
Diego Elio Pettenò (RETIRED)
2011-06-09 16:15:42 UTC
Created attachment 285387 [details, diff]
lsof 4.84 rpc patch
This patches lsof 4.84 source so on linux systems it will determine if rpc.h exists, and if not, compilation of rpc portmapper will be disabled. (lsof option +|-M).
Created attachment 285389 [details]
proposed lsof 4.84-r1 ebuild
This ebuild uses the rpc patch in src_prepare
Hello there, see attached lsof 4.84 rpc patch and proposed lsof 4.84-r1 ebuild which uses this patch. Glibc 2.14 does not install RPC headers anymore because NIS is considered obsolete. The library still contains code for packages built when RPC headers existed, but new code cannot be compiled or linked so we can get rid of RPC by forcing programmers to rewrite their programs. kabel Comment on attachment 285387 [details, diff]
lsof 4.84 rpc patch
ugh, all the `test -r $LSOF_INCLUDE` logic needs to be rewritten. but that isnt a problem with your patch and needs to get fixed in general.
one problem with this patch though is that it doesnt support libtirpc which provides rpc logic now in Linux ...
should be all set now in the tree; thanks for the report! Commit message: Clean up build logic by testing the compiler rather than poking around the filesystem. Support USE=ipv6. Support building with libtirpc rather than glibc and do so with USE=rpc. http://sources.gentoo.org/sys-process/lsof/files/lsof-4.84-rpc.patch?rev=1.1 http://sources.gentoo.org/sys-process/lsof/lsof-4.84-r1.ebuild?rev=1.1 http://sources.gentoo.org/sys-process/lsof/metadata.xml?r1=1.1&r2=1.2 lsof now on 4.85 with this bug fixed |