| View previous topic :: View next topic |
| Author |
Message |
mtascii Tux's lil' helper

Joined: 29 Jan 2006 Posts: 87
|
Posted: Wed Nov 01, 2006 4:19 pm Post subject: americas-army won't merge solved |
|
|
i get a strange error when i try to merge americas-army
| Code: | >>> Emerging (1 of 2) games-fps/americas-army-250 to /
* armyops250-linux.run MD5 ;-) ... [ ok ]
* armyops250-linux.run RMD160 ;-) ... [ ok ]
* armyops250-linux.run SHA1 ;-) ... [ ok ]
* armyops250-linux.run SHA256 ;-) ... [ ok ]
* armyops250-linux.run size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking armyops250-linux.run ;-) ... [ ok ]
* The installed game takes about 1.6GB of space when installed and
* 2.4GB of space in /var/tmp to build!
>>> Unpacking source...
>>> Unpacking armyops250-linux.run to /var/tmp/portage/games-fps/americas-army-250/work
* Unknown filetype "POSIX tar archive (GNU)" ?
!!! ERROR: games-fps/americas-army-250 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
americas-army-250.ebuild, line 53: Called unpack_makeself '/var/tmp/portage/games-fps/americas-army-250/distdir/armyops250-linux.run'
eutils.eclass, line 1185: Called die
!!! failure unpacking (POSIX tar archive (GNU)) makeself armyops250-linux.run ('2.1.4' +8843)
!!! If you need support, post the topmost build error, and the call stack if relevant. |
EDIT:
i have enough space under /var/tmp
| Code: | df -h
Dateisystem Größe Benut Verf Ben% Eingehängt auf
/dev/hdc1 21G 13G 8,1G 62% /
udev 760M 200K 760M 1% /dev
shm 760M 16K 760M 1% /dev/shm
|
Last edited by mtascii on Wed Nov 01, 2006 8:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Nov 01, 2006 6:28 pm Post subject: Re: americas-army won't merge |
|
|
| The usual mistake is that a user thinks that running "digest" on an ebuild will fix the fact that his downloaded file is corrupted, rather than deleting the downloaded file and letting Portage re-download it. |
|
| Back to top |
|
 |
mtascii Tux's lil' helper

Joined: 29 Jan 2006 Posts: 87
|
Posted: Wed Nov 01, 2006 6:31 pm Post subject: |
|
|
this happend on the first download.
i never did a digest on the ebuild
and the md5 check passed |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Nov 01, 2006 6:42 pm Post subject: Re: americas-army won't merge |
|
|
| mtascii wrote: | | * Unknown filetype "POSIX tar archive (GNU)" ? |
The relevant code section from /usr/portage/eclass/eutils.eclass is:
| Code: | local filetype="$(file -b "${tmpfile}")"
case ${filetype} in
*tar\ archive) |
So, why does your file command add " (GNU)" to the end? What version of file are you running, and what does file --version show? It sounds like you should file a bug to have that line changed to:
|
|
| Back to top |
|
 |
mtascii Tux's lil' helper

Joined: 29 Jan 2006 Posts: 87
|
Posted: Wed Nov 01, 2006 7:35 pm Post subject: |
|
|
| Code: | file --version
file-4.18
magic file from /usr/share/misc/file/magic
|
an the part from my /usr/portage/eclass/eutils.eclass
| Code: | local filetype="$(file -b "${tmpfile}")"
case ${filetype} in
*tar\ archive)
eval ${exe} | tar --no-same-owner -xf -
;;
bzip2*)
eval ${exe} | bzip2 -dc | tar --no-same-owner -xf -
;;
gzip*)
eval ${exe} | tar --no-same-owner -xzf -
;;
compress*)
eval ${exe} | gunzip | tar --no-same-owner -xf -
;;
*)
eerror "Unknown filetype \"${filetype}\" ?"
false
|
|
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Nov 01, 2006 8:07 pm Post subject: |
|
|
Bug confirmed and reported
Just edit eutils.eclass to add the asterix, to fix the bug immediately. |
|
| Back to top |
|
 |
|