Using Portage 2.0.51.1, Line 1228 of /usr/portage/eclass/eutils.eclass: skip=$(head -n ${skip} "${src}" | wc -c) This causes ${skip} to have a leading whitespace/tab which causes the 'dd' command to fail later in the script and prevent emerging of packages that need it. This is fine: skip=$(head -n ${skip} "${src}" | wc -c | awk '{print $1}') Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge enemy-territory 3. Actual Results: ... >>> Unpacking et-linux-2.60.x86.run to /var/tmp/portage/enemy-territory-2.60/work * Unknown filetype "empty" ? !!! ERROR: games-fps/enemy-territory-2.60 failed. !!! Function unpack_makeself, Line 1270, Exitcode 1 !!! failure unpacking (empty) makeself et-linux-2.60.x86.run ('2.1.4' + 8756) Expected Results: >>> games-fps/enemy-territory-2.60 merged.
i dont see why you would get a leading space: $ skip=$(head -n 5 /dev/urandom | wc -c) $ echo "A${skip}A" A813A wc shouldnt dump any spaces
I have no problems merging enemy-territory after doing an emerge --sync. I tried it on 3 different machines, just to be sure.