Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157789 - sys-apps/tcp-wrappers creates absolute symlinks to libraries
Summary: sys-apps/tcp-wrappers creates absolute symlinks to libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 18:30 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-12-10 18:52 UTC (History)
0 users

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


Attachments
Ebuild patch (tcp-wrappers-ebuild.patch,569 bytes, patch)
2006-12-10 18:31 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Straight ebuild patch (tcp-wrappers-ebuild.patch,762 bytes, patch)
2006-12-10 18:48 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

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