There are missing parenthesis in the ebuild. Line 29 of app-sci/fung-calc-1.3.2b should probably be fixed as follows: - use amd64 && epatch ${FILESDIR}/fung-calc-fPIC || die - use amd64 && (epatch ${FILESDIR}/fung-calc-fPIC || die) Doing so works for me anyway... Reproducible: Always Steps to Reproduce: ACCEPT_KEYWORDS=~x86 emerge fung-calc Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) app-sci/fung-calc-1.3.2b to / >>> md5 src_uri ;-) fung-calc-1.3.2b.tar.gz >>> Unpacking source... >>> Unpacking fung-calc-1.3.2b.tar.gz to /var/tmp/portage/fung-calc-1.3.2b/work >>> Source unpacked. opengl !!! ERROR: app-sci/fung-calc-1.3.2b failed. !!! Function src_compile, Line 29, Exitcode 1 !!! (no error message)
Since it's better to apply the patch unconditionally (for prelinking), I just removed the broken stuff. Just a hint about your proposed solution: Try running true && (false || exit 1); echo Still alive