When using splitdebug portage tries to place the debug information into /usr/lib/debug instead of EPREFIX/usr/lib/debug * /usr/lib/debug/.build-id/0f/6fd6d112223fc064e18f216e3fabeb7ac31e5e * /usr/lib/debug/.build-id/0f/f822f4a5938d8270f6442041be677f8cbce0f9.debug * /usr/lib/debug/.build-id/0f/6fd6d112223fc064e18f216e3fabeb7ac31e5e.debug * /usr/lib/debug/.build-id/0f/f822f4a5938d8270f6442041be677f8cbce0f9 * /usr/lib/debug/.build-id/12 * /usr/lib/debug/.build-id/12/4f28bfda4c2e1d413427030c168370b98f90f8.debug * /usr/lib/debug/.build-id/12/4f28bfda4c2e1d413427030c168370b98f90f8 * /usr/lib/debug/.build-id/1e * /usr/lib/debug/.build-id/1e/63cf9bdad0cc083631542522427a48ddd4081e * /usr/lib/debug/.build-id/1e/63cf9bdad0cc083631542522427a48ddd4081e.debug * ERROR: sci-chemistry/nmrpipe-6.0.2011.286.17.18 failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 1748: Called install_qa_check * misc-functions.sh, line 210: Called install_qa_check_prefix * misc-functions.sh, line 800: Called die * The specific snippet of code: * die "Aborting due to QA concerns: there are files installed outside the prefix"
I think this should do it diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 077656f..0305f0a 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -108,7 +108,7 @@ save_elf_debug() { local inode=$(inode_var_name "$x") if [[ -n ${!inode} ]] ; then - ln "${D}usr/lib/debug/${!inode:${#D}}.debug" "$y" + ln "${ED}usr/lib/debug/${!inode:${#D}}.debug" "$y" else eval $inode=\$x if [[ -e ${T}/prepstrip.split.debug ]] ; then @@ -129,7 +129,7 @@ save_elf_debug() { | awk '$NF ~ /GNU/ { getline; printf $2$3$4$5; getline; print $2 }') fi if [[ -n ${buildid} ]] ; then - local buildid_dir="${D}usr/lib/debug/.build-id/${buildid:0:2}" + local buildid_dir="${ED}usr/lib/debug/.build-id/${buildid:0:2}" local buildid_file="${buildid_dir}/${buildid:2}" mkdir -p "${buildid_dir}" ln -s "../../${x:${#D}}.debug" "${buildid_file}.debug"
this has been released by now