Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3086 - xmms-1.2.7-r6 ebuild failes when decompressing the archive
Summary: xmms-1.2.7-r6 ebuild failes when decompressing the archive
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
Depends on:
Reported: 2002-05-27 17:21 UTC by Duke
Modified: 2003-02-04 19:42 UTC (History)
0 users

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

A patch to fix it. (xmms.patch,424 bytes, patch)
2002-05-28 15:08 UTC, Daniel Sabo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Duke 2002-05-27 17:21:12 UTC
Using Gentoo 1.1a, emerge rsync as of May 27, 18:00 EST.
While trying to emerge --update world, the update to xmms-1.2.7-r6 failed when
decompressing the archive.  There was no error reported with the md5sum, and
manually decompressing the archive worked fine.  Here is the error message:

# emerge -u world
Calculating world dependencies ...done!
>>> emerge media-sound/xmms-1.2.7-r6 to /
>>> md5 ;-) xmms-1.2.7.tar.gz
>>> Unpacking source...
>>> Unpacking xmms-1.2.7.tar.gz

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line 31, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/media-sound/xmms/xmms-1.2.7-r6.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-28 06:05:12 UTC
try to remove the xmms tarball from /usr/portage/distfiles and then emerge again
Comment 2 Daniel Sabo 2002-05-28 14:59:23 UTC
It's not unpacking the tarball that causes the error, the offending line is:
	# For plugins such as avi4xmms, xmms needs to be linked to libavifile
	# and libstdcxx.
	use avi && patch -p1 <${FILESDIR}/${P}-enable-avifile-plugins.patch || die

You can't call || die like that because it dies if "use avi" is false. Do make
it work with USE="-avi" it should be:

	use avi && (patch -p1 <${FILESDIR}/${P}-enable-avifile-plugins.patch || die)
Comment 3 Daniel Sabo 2002-05-28 15:08:48 UTC
Created attachment 1196 [details, diff]
A patch to fix it.
Comment 4 Duke 2002-05-31 09:24:56 UTC
Confirm: the patch works (although I did it manually using the information in
additionaly comment #2).

     -- Duke.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-31 09:35:24 UTC
Daniel, you're quite correct about that.  I have changed that in the -r7 ebuild.

Thanks for catching the error and fixing it :)