Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31778 - Heavy Gear 2 2.01b looks for tar.gz files when disk has only tar files
Summary: Heavy Gear 2 2.01b looks for tar.gz files when disk has only tar files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 16:03 UTC by Ian Truelsen
Modified: 2004-01-07 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ls -lR from HG2 CD (hg2.txt,6.01 KB, text/plain)
2004-01-05 16:04 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Truelsen 2003-10-22 16:03:41 UTC
When trying to install hg2, the ebuild looks to access data.tar.gz, but the
files on my cd are data.tar files.

minion root # ls /mnt/cdrom -l
total 234091

-r-xr-xr-x    1 root     root      2968825 Dec 31  1969 BINARIES.TAR
-r-xr-xr-x    1 root     root     236674918 Dec 31  1969 DATA.TAR

Leading to this:

>>> Install heavygear2-1.0b into /var/tmp/portage/heavygear2-1.0b/image/
category games-action
 * Using /mnt/cdrom as the data source
 * Copying files... this may take a while...
videos
tar (child): /mnt/cdrom/data.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

!!! ERROR: games-action/heavygear2-1.0b failed.
!!! Function src_install, Line 57, Exitcode 2
!!! uncompressing data

I am not sure if this is indicative of a problem with the ebuild or a problem
with my disk, however the latter seems somewhat unlikely. Would it be possible
to have the ebuild check to see whether the file is a tar or gz and then expand
appropriately?

Reproducible: Always
Steps to Reproduce:
1.emerge heavygear2
2.
3.

Actual Results:  
See above

Expected Results:  
installed

ian@minion ian $ emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,2.2.5-r4,
2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.10p1
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs fixpackages emergemail ccache distcc"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://dark-lord.ihtruelsen.dyndns.org/gentoo-portage"
USE="x86 cups foomaticdb gif kde gnome libg++ mad mikmod nls png xml2 zlib
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java
guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif
opengl mozilla ldap gtk2 usb mysql directfb moznocompose moznoirc -mozxmlterm
-mozp3p -mozaccess -mozcalendar moznomail xface 3dnow apm avi crypt dvd encode
fbcon flash jpeg mpeg ncurses oss pdflib quicktime slp spell truetype xmms xv"
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-22 17:14:43 UTC
I'm on it...
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-22 17:17:59 UTC
My disk has .tar.gz files.

-r--r--r--    1 root     root      2968825 Mar  3  2000 binaries.tar.gz
-r--r--r--    1 root     root     236674918 Mar  3  2000 data.tar.gz

Mine is a version 1.0 Linux CD from Loki, dated March 3, 2000 (via the README).

What is yours?
Comment 3 Ian Truelsen 2003-10-22 17:53:43 UTC
From the readme:

Heavy Gear II
Version 1.0
March 3, 2000
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-23 03:20:04 UTC
Your files are also all capital??

DATA.TAR or data.tar?  It looks like they're all in caps.
Comment 5 Ian Truelsen 2003-10-25 19:33:16 UTC
Both are in caps:

DATA.TAR
BINARIES.TAR
Comment 6 Ian Truelsen 2003-12-15 13:23:32 UTC
Any movement on this?

I can send you a copy of my disk if it would help
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-16 04:16:07 UTC
I am looking into it.

Actually, just the output of ls -alR on the CD should be sufficient.
Comment 8 Ian Truelsen 2003-12-16 08:03:03 UTC
ian@minion cdrom $ ls -alR
.:
total 234097
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 .
drwxr-xr-x    6 root     root         4096 Dec 10 17:54 ..
-r-xr-xr-x    1 root     root           54 Dec 31  1969 AUTORUN.INF
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 BIN
-r-xr-xr-x    1 root     root      2968825 Dec 31  1969 BINARIES.TAR
-r-xr-xr-x    1 root     root     236674918 Dec 31  1969 DATA.TAR
-r-xr-xr-x    1 root     root         9270 Dec 31  1969 ICON.BMP
-r-xr-xr-x    1 root     root        23573 Dec 31  1969 ICON.XPM
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 MISC
-r-xr-xr-x    1 root     root        15552 Dec 31  1969 README
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 SETUP.DATA
-r-xr-xr-x    1 root     root         2203 Dec 31  1969 SETUP.SH
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 SHELL
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 SRC
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 WIN32

./BIN:
total 6
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 X86

./BIN/X86:
total 6
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 GLIBC-2.1

./BIN/X86/GLIBC-2.1:
total 7441
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root         2233 Dec 31  1969 HG2
-r-xr-xr-x    1 root     root       301431 Dec 31  1969 LIBMESAMATROXGL.SO
-r-xr-xr-x    1 root     root      2471252 Dec 31  1969 LIBMESAVOODOOGL.000
-r-xr-xr-x    1 root     root      4839352 Dec 31  1969 LIBMESAVOODOOGL.SO

./MISC:
total 1706
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
-r-xr-xr-x    1 root     root       375180 Dec 31  1969 GLIDE_V3-2.60-15
-r-xr-xr-x    1 root     root      1366641 Dec 31  1969 XFREE86-SVGA-3.3

./SETUP.DATA:
total 183
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 BIN
-r-xr-xr-x    1 root     root         1136 Dec 31  1969 LINKGL.SH
-r-xr-xr-x    1 root     root        45839 Dec 31  1969 SETUP.GLADE
-r-xr-xr-x    1 root     root         1820 Dec 31  1969 SETUP.XML
-r-xr-xr-x    1 root     root       130817 Dec 31  1969 SPLASH.XPM

./SETUP.DATA/BIN:
total 12
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ALPHA
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 PPC
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 SPARC64
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 X86

./SETUP.DATA/BIN/ALPHA:
total 674
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 GLIBC-2.1
-r-xr-xr-x    1 root     root       683656 Dec 31  1969 SETUP

./SETUP.DATA/BIN/ALPHA/GLIBC-2.1:
total 302
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root       304240 Dec 31  1969 SETUP.GTK

./SETUP.DATA/BIN/PPC:
total 576
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 GLIBC-2.1
-r-xr-xr-x    1 root     root       583528 Dec 31  1969 SETUP

./SETUP.DATA/BIN/PPC/GLIBC-2.1:
total 240
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root       240808 Dec 31  1969 SETUP.GTK

./SETUP.DATA/BIN/SPARC64:
total 551
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 GLIBC-2.1
-r-xr-xr-x    1 root     root       557116 Dec 31  1969 SETUP

./SETUP.DATA/BIN/SPARC64/GLIBC-2.1:
total 225
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root       226040 Dec 31  1969 SETUP.GTK

./SETUP.DATA/BIN/X86:
total 1854
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 GLIBC-2.1
-r-xr-xr-x    1 root     root      1891571 Dec 31  1969 SETUP

./SETUP.DATA/BIN/X86/GLIBC-2.1:
total 637
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root       647278 Dec 31  1969 SETUP.GTK

./SHELL:
total 6
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 MOVIES

./SHELL/MOVIES:
total 152034
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root      4432076 Dec 31  1969 ASTEROID.MPG
-r-xr-xr-x    1 root     root      5423424 Dec 31  1969 FLIGHT.MPG
-r-xr-xr-x    1 root     root      8518236 Dec 31  1969 GATE.MPG
-r-xr-xr-x    1 root     root     18789352 Dec 31  1969 INTRO.MPG
-r-xr-xr-x    1 root     root      1669276 Dec 31  1969 LEAVING.MPG
-r-xr-xr-x    1 root     root     14287616 Dec 31  1969 OUTRO.MPG
-r-xr-xr-x    1 root     root      4805860 Dec 31  1969 SC01.MPG
-r-xr-xr-x    1 root     root      5952776 Dec 31  1969 SC06.MPG
-r-xr-xr-x    1 root     root      2741884 Dec 31  1969 SC07.MPG
-r-xr-xr-x    1 root     root      3802892 Dec 31  1969 SC08.MPG
-r-xr-xr-x    1 root     root      4007204 Dec 31  1969 SC09.MPG
-r-xr-xr-x    1 root     root      2382024 Dec 31  1969 SC10.MPG
-r-xr-xr-x    1 root     root      3682164 Dec 31  1969 SC11.MPG
-r-xr-xr-x    1 root     root      3744852 Dec 31  1969 SC12.MPG
-r-xr-xr-x    1 root     root      4573700 Dec 31  1969 SC13.MPG
-r-xr-xr-x    1 root     root      3547512 Dec 31  1969 SC17.MPG
-r-xr-xr-x    1 root     root      2642052 Dec 31  1969 SC18.MPG
-r-xr-xr-x    1 root     root      3786644 Dec 31  1969 SC1J.MPG
-r-xr-xr-x    1 root     root      3340876 Dec 31  1969 SC21.MPG
-r-xr-xr-x    1 root     root      3928268 Dec 31  1969 SC22.MPG
-r-xr-xr-x    1 root     root      3570732 Dec 31  1969 SC23.MPG
-r-xr-xr-x    1 root     root      2765104 Dec 31  1969 SC25.MPG
-r-xr-xr-x    1 root     root      2544544 Dec 31  1969 SC27.MPG
-r-xr-xr-x    1 root     root      5906336 Dec 31  1969 SC2J.MPG
-r-xr-xr-x    1 root     root      1903760 Dec 31  1969 SC30.MPG
-r-xr-xr-x    1 root     root      3208548 Dec 31  1969 SC35.MPG
-r-xr-xr-x    1 root     root      2247372 Dec 31  1969 SC37.MPG
-r-xr-xr-x    1 root     root      4910340 Dec 31  1969 SC3J.MPG
-r-xr-xr-x    1 root     root     22555120 Dec 31  1969 TITLE.MPG

./SRC:
total 2188
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
-r-xr-xr-x    1 root     root       409100 Dec 31  1969 MIXER-HG2.TAR
-r-xr-xr-x    1 root     root       227006 Dec 31  1969 OPENAL-HG2.TAR
-r-xr-xr-x    1 root     root         2284 Dec 31  1969 README.000
-r-xr-xr-x    1 root     root         2276 Dec 31  1969 README.SRC
-r-xr-xr-x    1 root     root      1202860 Dec 31  1969 SDL-HG2.TAR
-r-xr-xr-x    1 root     root       390343 Dec 31  1969 SMPEG-HG2.TAR

./WIN32:
total 11
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Apr  8  2002 ..
-r-xr-xr-x    1 root     root         3584 Dec 31  1969 AUTORUN.EXE
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 CVS
-r-xr-xr-x    1 root     root          897 Dec 31  1969 README.HTM

./WIN32/CVS:
total 6
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root           92 Dec 31  1969 ENTRIES
-r-xr-xr-x    1 root     root           18 Dec 31  1969 REPOSITORY
-r-xr-xr-x    1 root     root           36 Dec 31  1969 ROOT
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 06:32:25 UTC
Do you have "Joliet Extensions" compiled into your kernel?  It's under the "Filesystems".  It appears that you do not have these enabled.  Try recompiling your kernel and enabling Joliet and let me know if that fixes it.
Comment 10 Ian Truelsen 2004-01-05 09:58:15 UTC
It is in there:

ian@minion linux $ cat .config | grep JOLIET
CONFIG_JOLIET=y
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 11:56:41 UTC
Well, something is definitely wrong with your joliet support.  Here is an example, on your CD, you see these files:

./BIN/X86/GLIBC-2.1:
total 7441
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 .
dr-xr-xr-x    1 root     root         2048 Dec 31  1969 ..
-r-xr-xr-x    1 root     root         2233 Dec 31  1969 HG2
-r-xr-xr-x    1 root     root       301431 Dec 31  1969 LIBMESAMATROXGL.SO
-r-xr-xr-x    1 root     root      2471252 Dec 31  1969 LIBMESAVOODOOGL.000
-r-xr-xr-x    1 root     root      4839352 Dec 31  1969 LIBMESAVOODOOGL.SO

On my system, I see these files:
./bin/x86/glibc-2.1:
total 7437
-r-xr-xr-x    1 root     root         2233 Mar  3  2000 hg2
-r-xr-xr-x    1 root     root       301431 Feb 29  2000 libMesaMatroxGL.so.3.2.000121
-r-xr-xr-x    1 root     root      4839352 Feb 29  2000 libMesaVoodooGL.so.1.2.030100
-r-xr-xr-x    1 root     root      2471252 Feb 29  2000 libMesaVoodooGL.so.1.2.030300

Also, do you have NLS in your kernel?  Do you have CP437 and ISO8859-1?
Comment 12 Ian Truelsen 2004-01-05 12:32:34 UTC
Yes, no and yes

CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 12:55:17 UTC
Just out of curiosity, do you have another machine to put this CD into?  It looks EXACTLY like you don't have JOLIET in your kernel.  This is apparent by the filenames being truncated to standard ISO9660 notation and being all CAPS.

Heck, you can even use a LiveCD booted with cdcache to allow you to mount the CD and see if the filenames look correct from there.
Comment 14 Ian Truelsen 2004-01-05 13:11:52 UTC
I added the cp437 support and still get the caps

I checked on another machine and still the same

Do I only need the data and binaries file for the install?

If so, what should they be called? I will cp them off the CD, rename them and then burn them onto another CD to try. Also, if you could give me the names and locations of the movie files that would also be appreciated.

If that doesn't work then I surrender :)
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 15:55:27 UTC
Are you sure this isn't a burned CD?  It seems like someone burned it without Joliet (possibly).

Anyway, I am attaching the "proper" ls -lR for the CD.  You can simply copy the CD contents into a directory and rename the files to match.  Then run an emerge on it like this:

GAMES_CDROM=/path/to/files emerge heavygear2

...and the games_get_cd function will pull from your local drive.

Let me know if this works.  To be honest, it seems like something is wrong with your CD, though.  I compiled a kernel WITHOUT Joliet support, and my ls -lR matched yours, so there's definitely a problem there.  I'm just not sure what it  could be.
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 16:04:04 UTC
Created attachment 23209 [details]
ls -lR from HG2 CD
Comment 17 Ian Truelsen 2004-01-07 11:58:18 UTC
Seems like it was a CD problem. I am not sure how, as it looks like a proper CD. Anyway, it is installed and working.

Thanks for all your help.

Now, if I was only any good at it :)
Comment 18 Ian Truelsen 2004-01-07 11:58:56 UTC
Closing