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:
Thanks, indeed fixing the mkdir to use ED instead of D avoids this out of prefix issue. Committed now.