emerging net-libs/xulrunner-1.9.1-r1 in prefix will abort with the message "Aborting due to QA concerns: double prefix files installed" the issue is in the ebuild's src_install(). the spurious lines are: dosym "${MOZLIBDIR}/xulrunner" "${EROOT}/usr/bin/xulrunner-${MAJ_PV}" dosym "${MOZLIBDIR}/python/xpcom" "${EROOT}/$(python_get_sitedir)/xpcom" the problem is that prefix' dosym itself adds ${EPREFIX} to the 2nd argument so it ends up as ${EPREFIX}/${EROOT} which is ${EPREFIX}/${ROOT}${ERPEFIX} Reproducible: Always Steps to Reproduce: 1. emerge xulrunner with eprefix other than "/" Actual Results: aborted build and message "Aborting due to QA concerns: double prefix files installed" Expected Results: successfull install of xulrunner in the gentoo-x86 the corresponding lines are: dosym "${MOZLIBDIR}/xulrunner" "${ROOT}/usr/bin/xulrunner-${MAJ_PV}" dosym "${MOZLIBDIR}/python/xpcom" "${ROOT}/$(python_get_sitedir)/xpcom" if i understand the developer docs correctly the usage of ${ROOT} is wrong here as it should only be used if ${D} is not used. but ${D} is implicitely added by dosym. so this is actually a bug in x86 and it could (and imho should) be fixed there.
Created attachment 199743 [details, diff] patch to correct install paths this patch puts the correct paths to the dosym commands by stripping off the superfluous ${EROOT}
I don't think $ROOT should be used in src_install()
gx86 should be fixed in this respect, synced to prefix now
(In reply to comment #3) > gx86 should be fixed in this respect, synced to prefix now > (In reply to comment #1) > Created an attachment (id=199743) [edit] > patch to correct install paths > > this patch puts the correct paths to the dosym commands by stripping off the > superfluous ${EROOT} > (In reply to comment #2) > I don't think $ROOT should be used in src_install() > I appreciate all the comments, I exspecially agree that ${ROOT} should not be using in src_install() hense I am appling this patch to mozilla overlay so we can get it pushed to tree for -r2 revision.