Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55853 - (PATCH)kde doesn't compile if ROOT is not "/"
Summary: (PATCH)kde doesn't compile if ROOT is not "/"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 22:44 UTC by devsk
Modified: 2005-01-18 10:31 UTC (History)
0 users

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


Attachments
use ${ROOT}usr instead of "/usr" for paths and make use of 'use' flags (kde.eclass.patch,1015 bytes, patch)
2004-07-01 22:47 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2004-07-01 22:44:34 UTC
KDE doesn't compile if the ROOT is not "/". The reason is that everything is assumed to be under "/".

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

Actual Results:  
Fails to find OpenSSL in /opt/usr and compile fails.

Expected Results:  
Compile should succeed.

The attached patch makes it possible to emerge kde in non "/" locations.
Comment 1 devsk 2004-07-01 22:47:32 UTC
Created attachment 34620 [details, diff]
use ${ROOT}usr instead of "/usr" for paths and make use of 'use' flags
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-18 10:31:40 UTC
Sorry for not responding for so long.

However, dependent libraries should be installed in both "/" and "$ROOT" (if
they are in DEPEND and RDEPEND), so I don't think this should be a problem, 
(and the code has changed a lot since then).
Please reopen if you think it's still an issue.