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

Bug 27968

Summary: realplayer ebuild (realplayer-8-r5) broken
Product: Gentoo Linux Reporter: gatto <poobar>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: realplayer-8-r5.ebuild.diff
entire updated realplayer-8-r5.ebuild

Description gatto 2003-09-04 17:39:31 UTC
After emerge'ing the current stable realplayer -- realplayer-8-r5.ebuild -- I
noticed that the "x86? rv9_libc6_i386_cs2.tgz" codec tarball didn't get merged,
even though I downloaded it to $DISTFILES and the emerge finished OK.

After screwing around with the ebuild I noticed that the problem was that in
src_unpack(), $RV9_X86 was not getting set to "rv9_libc6_i386_cs2.tgz" but
instead was set to empty string. This was because for x86, src_unpack() expects
$A to be "rp8_linux20_libc6_i386_cs2.bin  rv9_libc6_i386_cs2.tgz", and instead
$A was only set to "rp8_linux20_libc6_i386_cs2.bin" (probably because of the
code at the begining of the ebuild which messes with $A and is removed in my
patched ebuild).

Attaching a patched ebuild which works for me.

Sidenote: While I was trying to figure out what was wrong I ran into the same
problem as bug <a href="http://bugs.gentoo.org/show_bug.cgi?id=18376">18376</a>.
I think the fix for this bug fixes that bug too. That bug occurs because the two
strings in $A mentioned above get transposed, thereby causing $RP8_BIN and
$RV9_X86 to get the wrong arguments in src_unpack(), resulting in
rv9_libc6_i386_cs2.tgz to get unpacked in place of
rp8_linux20_libc6_i386_cs2.bin, and later on in src_unpack(), causing the
following error message when it trys to unpack rp8_linux20_libc6_i386_cs2.bin
thinking it is unpacking rv9_libc6_i386_cs2.tgz.

>>> Unpacking rp8_linux20_libc6_i386_cs2.bin to
/var/tmp/portage/realplayer-8-r5/work
unpack rp8_linux20_libc6_i386_cs2.bin: file format not recognized. Ignoring.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-rc2-ac3)
=================================================================
System uname: 2.4.22-rc2-ac3 i686 AMD Athlon(tm) Processor
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://gentoo.mirrors.pair.com/ ftp://cs.ubishops.ca/pub/gentoo
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
USE="x86 oss avi encode foomaticdb libg++ mad mikmod nls qt xml2 xmms gdbm
berkdb tetex java guile ruby mysql sdl libwww python gtk cdr 3dfx 3dnow apm
crypt cups dga gif gtk2 imlib jpeg mbox mmx mozilla moznomail moznoirc
moznocompose mpeg ncurses oggvorbis opengl pam pdflib perl png quicktime
readline samba slang spell ssl svga tiff truetype vim-with-x voodoo3 X xml xv
zlib -arts -dvd -esd -gpm -gnome -kde -ldap -motif -sasl -tcpd"
Comment 1 gatto 2003-09-04 17:52:11 UTC
Created attachment 17093 [details, diff]
realplayer-8-r5.ebuild.diff
Comment 2 gatto 2003-09-04 18:06:05 UTC
Created attachment 17094 [details, diff]
entire updated realplayer-8-r5.ebuild
Comment 3 SpanKY gentoo-dev 2003-09-04 21:03:19 UTC

*** This bug has been marked as a duplicate of 27647 ***