| Summary: | Bug in unpack_makeself prevents certain packages from emerging properly (INCLUDES FIX) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | k s <zentoo> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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. |
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.