It produces the following output: * ERROR: dev-php/pear-1.9.0 failed: * cd failed * * Call stack: * misc-functions.sh, line 1083: Called install_qa_check * misc-functions.sh, line 45: Called die * The specific snippet of code: * cd "${ED}" || die "cd failed" This seems to be caused by its unnecessary src_install() directive. Removing it works just fine and it finishes. Reproducible: Always Steps to Reproduce: I'm on OS X, but the error should happen on default Gentoo as well. ;)
No, it doesn't actually happen on a gentoo system, but I doubt that such a call [1] is needed. [1] src_install() { :; }
CC-ing prefix, since they might want to know that a no-op src_install() causes problems on OS X but not linux
(In reply to comment #1) > No, it doesn't actually happen on a gentoo system, but I doubt that such a call > [1] is needed. > > [1] > src_install() { > :; > } > A no-op src_install is valid. I've seen this before but can't remember the fix. Steve (and others on this bug), not your problem so I'll remove you from the bug.
in Prefix Portage, the default src_install creates the directory ${ED} to avoid misc errors in the QA checks from misc-functions. I should probably try to fix this the proper way by skipping the checks if ${D} and/or ${ED} not exists.
I just made a tentative fix for this in Portage. I'll have to test it a bit before I'll unleash it.
Your fix(In reply to comment #5) > I just made a tentative fix for this in Portage. I'll have to test it a bit > before I'll unleash it. > Your fix seems to do the trick. Marking as fixed, thx.