Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491736 - postgres fails install with "QA concerns" because of /usr/share/postgresql-9.4 folder outside the prefix.
Summary: postgres fails install with "QA concerns" because of /usr/share/postgresql-9....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 06:02 UTC by Chris
Modified: 2013-12-17 20:37 UTC (History)
0 users

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


Attachments
build log, and output of the above two commands. Note the commands were run an a 'fixed' ebuild. (emerge.postgres,171.29 KB, text/plain)
2013-11-20 06:02 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2013-11-20 06:02:02 UTC
Created attachment 363616 [details]
build log, and output of the above two commands.  Note the commands were run an a 'fixed' ebuild.

On MacOS X under prefix,
"emerge postgres" fails with the message below.

I was able to work around it by commenting out the following line from the ebuild:
#mkdir -p "${D}/usr/share/postgresql-${SLOT}"

I did attach the files as the instructions below say, but, I think the emerge commands might be picking up my fixed version rather than the original ebuild (I promise they are identical except as I explained.)

Thanks.

ecompressdir: bzip2 -9 /usr/share/doc
 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/postgresql-9.4
 * ERROR: dev-db/postgresql-base-9999::gentoo_prefix failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 1887:  Called install_qa_check
 *   misc-functions.sh, line  244:  Called install_qa_check_prefix
 *   misc-functions.sh, line  926:  Called die
 * The specific snippet of code:
 *   			die "Aborting due to QA concerns: there are files installed outside the prefix"
 * 
 * If you need support, post the output of `emerge --info '=dev-db/postgresql-base-9999::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/postgresql-base-9999::gentoo_prefix'`.
 * The complete build log is located at '/Gentoo/var/tmp/portage/dev-db/postgresql-base-9999/temp/build.log'.
 * The ebuild environment file is located at '/Gentoo/var/tmp/portage/dev-db/postgresql-base-9999/temp/environment'.
 * Working directory: '/Gentoo/var/tmp/portage/dev-db/postgresql-base-9999/image'
 * S: '/Gentoo/var/tmp/portage/dev-db/postgresql-base-9999/work/postgresql-base-9999'
!!! post install failed; exiting.

>>> Failed to emerge dev-db/postgresql-base-9999, Log file:
Comment 1 Fabian Groffen gentoo-dev 2013-12-17 20:37:12 UTC
Thanks, indeed fixing the mkdir to use ED instead of D avoids this out of prefix issue.  Committed now.