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

Bug 62421

Summary: frozen-bubble and perl-5.8.5: no compile no run
Product: Gentoo Linux Reporter: Chris Lieb <chris.lieb.hotmail+gentoo>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED INVALID    
Severity: normal CC: amd64, games, patrick
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Lieb 2004-08-31 13:21:53 UTC
I just upgraded to perl-5.8.5 and ran the script that reinstalls all of the perl packages with the new version.  After performing all of this, I tried to start frozen-bubble-1.0.0-r3, but the console output was:

Can't load '/usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/SDL_perl/SDL_perl.so: undefined symbol: filledpieColor at /usr/lib/perl5/5.8.5/x86_64-linux/DynaLoader.pm line 230.
 at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9.
Compilation failed in require at /usr/games/bin/frozen-bubble line 51.
BEGIN failed--compilation aborted at /usr/games/bin/frozen-bubble line 51.

Seeing this error message, I decided to try recompiling frozen-bubble, but the emerge dies almost as soon as it begins with: 

>>> Source unpacked.
Can't load '/usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/SDL_perl/SDL_perl.so: undefined symbol: filledpieColor at /usr/lib/perl5/5.8.5/x86_64-linux/DynaLoader.pm line 230.
 at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/SDL.pm line 9.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

    *** I need perl-SDL installed
make: *** [dirs] Error 1

!!! ERROR: games-arcade/frozen-bubble-1.0.0-r3 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! emake game failed

Seeing that the problem seemed to be with the perl-SDL module, I re-emerged sdl-perl, but that did not fix any of my problems.  I then re-emerged all of my sdl libs/progs/utils and then sdl-perl, but still the problem persists.

Reproducible: Always
Steps to Reproduce:
1. Emerge perl 5.8.5
2. Run libperl update script
3. try to start/emerge frozen-bubble-1.0.0-r3

Actual Results:  
An error message is displayed

Expected Results:  
frozen-bubble should emerge without a hitch and run

Portage 2.0.50-r10 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r1)
=================================================================
System uname: 2.6.8-gentoo-r1 x86_64 Mobile AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages usersandbox usrepriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org
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://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi aim alsa amd64 apm arts artswrappersuid audiofile avi
berkdb cdr crypt cups dga directfb divx4linux doc dvd encode esd f77 fbcon
foomaticdb gd gdbm gif gphoto2 gpm gstreamer gtk2 icq imagemagic imap imlib ipv6
java joystick jpeg junit kde lcms ldap libg++ libwww live lufsusermount mad
mikmod mpeg msn multilib nas ncurses nls nogcj oggvorbis opengl oscar oss pam
pcmcia pdflib perl png pnp python qt quicktime readline sasl sdl slang slp smaba
snmp socks5 spell ssl tcltk tcpd tetex tiff truetype unicode usb
video_cards_radeon videoswmf xml xml2 xmms xosd xv xvid yahoo zlib"
Comment 1 SpanKY gentoo-dev 2004-08-31 17:13:38 UTC
this is a perl bug, not a games bug

but, rebuilding sdl-perl/frozen-bubble did fix things for me
Comment 2 Patrick Lauer gentoo-dev 2004-09-01 01:24:19 UTC
SpanKY, 
>but, rebuilding sdl-perl/frozen-bubble did fix things for me
that's not a package, could you please be more precise?

Also, this error is not amd64 specific, it happens on my x86 system too
Comment 3 Chris Lieb 2004-09-01 19:30:03 UTC
After I re-emerged all of frozen-bubble's dependencies (perl, sdl-perl, sdl-mixer, sed, autoconf, patch, and glibc), frozen-bubble compiled and ran without any errors.  Not sure what the problem was, but the issue is resolved.
Comment 4 Chris Lieb 2004-09-02 08:16:08 UTC
Changing from FIXED to INVALID
Comment 5 Chris Lieb 2004-09-02 08:16:29 UTC
Just fixing resolution status
Comment 6 Brian Bianco 2004-11-07 16:04:44 UTC
I tried the fix that Chris Lieb suggested, i remerged all of the items that he listed and i am still recieving the error

BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/SDL.pm line 9.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

    *** I need perl-SDL installed
make: *** [dirs] Error 1
Comment 7 Ryan Egesdahl 2005-02-09 16:02:45 UTC
This bug is not fixed. The problem lies with a typo in sdl-perl that somehow got missed. I have a patch posted at bug# 30599 for that problem. I don't know how reemerging dependencies resolved that - I synced my portage tree and redid all the dependencies as suggested, but no resolution.