Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424593 - app-admin/puppet-2.7.13 fails to install due to double/out-of-prefix errors
Summary: app-admin/puppet-2.7.13 fails to install due to double/out-of-prefix errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 08:58 UTC by Ramon
Modified: 2012-07-03 17:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2012-07-03 08:58:01 UTC
puppet-2.7.13 fails to install on prefix due to:

Aborting due to QA concerns: double prefix files installed

The root cause seems to be the following snippet in the ebuild:
each_fakegem_install() {
  ${RUBY} install.rb --destdir="${ED}" install

However changing ${ED} to ${D} results in another QA problem:
 Aborting due to QA concerns: there are files installed outside the prefix

In this case it is puppet trying to install files in /etc/puppet, which is outside of the prefix

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-07-03 13:38:34 UTC
This will work:

${RUBY} install.rb --configdir=${EPREFIX}/etc --destdir="${D}" install
Comment 2 Ramon 2012-07-03 15:26:52 UTC
Thanks that solved it...
Comment 3 Fabian Groffen gentoo-dev 2012-07-03 17:24:37 UTC
committed, thanks