Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55350 - (PATCH)emerge of nss-3.8 fails if ROOT is not "/"
Summary: (PATCH)emerge of nss-3.8 fails if ROOT is not "/"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 12:34 UTC by devsk
Modified: 2004-07-23 23:57 UTC (History)
0 users

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


Attachments
change /usr/lib to ${ROOT}usr/lib while sed'ing (nss-3.8.patch,1.02 KB, patch)
2004-06-27 12:35 UTC, devsk
Details | Diff
${ROOT}usr/include/nspr as well (nss-3.8-1.patch,1.16 KB, patch)
2004-06-27 16:00 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2004-06-27 12:34:23 UTC
nss can't find nspr libs in /usr/lib and hence borks. The attached patch modifies the sed script to add ${ROOT}usr/lib instead of /usr/lib for patch search.

Reproducible: Always
Steps to Reproduce:
1. ROOT="/opt" emerge nss
2.
3.

Actual Results:  
link fails to find libnspr4.so

Expected Results:  
it should link against libs from ${ROOT}usr/lib instead of /usr/lib.
Comment 1 devsk 2004-06-27 12:35:31 UTC
Created attachment 34292 [details, diff]
change /usr/lib to ${ROOT}usr/lib while sed'ing
Comment 2 devsk 2004-06-27 16:00:09 UTC
Created attachment 34305 [details, diff]
${ROOT}usr/include/nspr as well
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-07-23 23:57:09 UTC
alrighty .. thanks for the patch. its going into portage.