Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3086

Summary: xmms-1.2.7-r6 ebuild failes when decompressing the archive
Product: Gentoo Linux Reporter: Duke <duke>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
URL: http://www.xmms.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: A patch to fix it.

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).
Thanks!

     -- 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 :)