Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114040 - games-fps/quake1-data not working (script issue - crc error)
Summary: games-fps/quake1-data not working (script issue - crc error)
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: 2005-11-30 08:28 UTC by Pandor
Modified: 2005-12-01 01:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pandor 2005-11-30 08:28:37 UTC
games-fps/quake1-data package extracts the data files from the orignal quake1 cd.
this is the actual script (snippet):

src_unpack() {
	echo ">>> Unpacking q101_int.1 to ${PWD}"
	if [[ ${CDROM_SET} == "1" ]] ; then
		lha xqf "${CDROM_ROOT}"/q101_int.1 || die "failure unpacking q101_int.1"
	fi
}

The script tries to extract q101_int.1, but the compressed archive is actually a
split archive (q101_int.1 & q101_int.2) so it ends up with a crc error on one of
the contained files and stops.



My suggested fix, is to 'cat' the files and then extract:
# cat /media/cdrom/q101_int.1 /media/cdrom/q101_int.2 > q101_int.lha
# lha e q101_int.lha

Reproducible: Always
Steps to Reproduce:
1. insert orignal quake1 game cd and mount
2. emerge quake1-data

Actual Results:  
quits with a crc error.

Expected Results:  
extract data files from archive.
Comment 1 SpanKY gentoo-dev 2005-12-01 01:26:38 UTC
ah, i always assumed it failed because my disk was scratched to hell :)

fixed in cvs, thanks !