Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
americas-army won't merge solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Wed Nov 01, 2006 4:19 pm    Post subject: americas-army won't merge solved Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Nov 01, 2006 6:28 pm    Post subject: Re: americas-army won't merge Reply with quote

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
View user's profile Send private message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Wed Nov 01, 2006 6:31 pm    Post subject: Reply with quote

this happend on the first download.

i never did a digest on the ebuild

and the md5 check passed
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Nov 01, 2006 6:42 pm    Post subject: Re: americas-army won't merge Reply with quote

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:
Code:
*tar\ archive*)
Back to top
View user's profile Send private message
mtascii
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 87

PostPosted: Wed Nov 01, 2006 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Nov 01, 2006 8:07 pm    Post subject: Reply with quote

Bug confirmed and reported :)

Just edit eutils.eclass to add the asterix, to fix the bug immediately.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum