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

Bug 157789

Summary: sys-apps/tcp-wrappers creates absolute symlinks to libraries
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild patch
Straight ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:30:50 UTC
The result is kinda funny, /usr/arm-unknown-linux-gnu/lib/libwrap.so -> /lib/libwrap.so.0 that of course will fail to build anything linking to libwrap while crossbuilding.

The attached patch reduces the links to relative ones and fixes the issue.

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:31:07 UTC
Created attachment 103775 [details, diff]
Ebuild patch
Comment 2 Luca Barbato gentoo-dev 2006-12-10 18:38:39 UTC
if is working both on cross env and host env...
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:40:31 UTC
Of course the patch is in reverse...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:41:17 UTC
It does, it simply get the same kind of links already created by ldconfig itself (relative).
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:48:51 UTC
Created attachment 103776 [details, diff]
Straight ebuild patch
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 18:52:37 UTC
Committed with Luca's okay.