Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256867 - cmake-utils.eclass fix for prefix
Summary: cmake-utils.eclass fix for prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 00:48 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-01-30 01:21 UTC (History)
0 users

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


Attachments
cmake-utils-prefix.diff (cmake-utils-prefix.diff,665 bytes, patch)
2009-01-30 00:50 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-30 00:48:00 UTC
cmake-utils.eclass sets CMAKE_INSTALL_PREFIX to /usr which will break merging of packages in prefix.

Reproducible: Always

Steps to Reproduce:
1. emerge a package which uses cmake-utils.eclass

Actual Results:  
Output of net-irc/quassel-0.3.1-r4 from a local overlay:

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/applications
 * /usr/share/applications/quasselclient.desktop
 * /usr/share/icons
 * /usr/share/icons/hicolor
 * /usr/share/icons/hicolor/48x48
 * /usr/share/icons/hicolor/48x48/apps
 * /usr/share/icons/hicolor/48x48/apps/quassel.png
 * /usr/share/pixmaps
 * /usr/share/pixmaps/quassel.png
 * /usr/bin
 * /usr/bin/quasselcore
 * /usr/bin/quasselclient
 * ERROR: net-irc/quassel-0.3.1-r4 failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix


Expected Results:  
Merge into ${EPREFIX}
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-01-30 00:50:15 UTC
Created attachment 180184 [details, diff]
cmake-utils-prefix.diff

Add ${EPREFIX} to cmake paths in order to work around installation outside the prefix.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-30 01:21:38 UTC
seems reasonable to me, done.