When emerging detex-2.7 I get the following message: [snip] >>> Unpacking source... >>> Unpacking detex-2.7.tar to /var/tmp/portage/detex-2.7/work /usr/sbin/ebuild.sh: line 20: Makefile: Permission denied !!! ERROR: dev-tex/detex-2.7 failed. !!! Function src_unpack, Line 24, Exitcode 1 !!! sed failed This error stems from the sed command in line 20 of the detex ebuild. The permissions I get for the Makefile after unpacking are -r--r--r-- 1 portage portage 1899 May 12 1999 Makefile Hence, to resolve this problem, write permission has to be added to the Makefile. I didn't attach a corrected ebuild as I'm not sure if this occurs for every user as I'm the first one to file a bug about it. The modifications to the ebuild would be fairly easy, though. Reproducible: Always Steps to Reproduce: 1. emerge detex
turn off userpriv/usersandbox in FEATURES
I reached the same conclusion. It is userpriv/usersandbox issue...
you are right: doesn't work with FEATURES="sandbox userpriv usersandbox" works with no features set
okay, good work.