I first noticed this when emerge -u world wanted to upgrade frozen-bubble a month or two ago. That failed with a Perl error, and I traced it to SDL_perl. Reproducible: Always Steps to Reproduce: 1. perl -e 'use SDL;' Actual Results: Can't load '/usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/auto/SDL_perl/SDL_perl.so: undefined symbol: filledpieColor at /usr/lib/perl5/5.8.6/i686-linux/DynaLoader.pm line 230. at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/SDL.pm line 13 Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/SDL.pm line 13. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/SDL.pm line 13. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. Expected Results: Should have run without an error. I've had occasional problems with gcc-3.4 that are resolved by using gcc-3.3, so I tried using gcc-3.3.5-r1 to rebuild sdl-perl. That didn't solve the problem. [mhill@shadowfax:~] 13:16:52 $ emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://www.gtlib.cc.gatech.edu/pub/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="x86 3dnow X acpi alsa apm audiofile avi bcmath berkdb bitmap-fonts bonobo bzlib calendar caps cdb cdr crypt cscope ctype cups curl dba dbase dbx dedicated dga dlloader doc dvd dvdr emboss encode esd exif fbcon fftw flac flatfile font-server foomaticdb freetds ftp gd gif ginac gmp gnome gnutls gpm gtk gtk2 hardened hardenedphp imagemagick imlib inifile jack jpeg kde libwww mbox memlimit mhash mikmod milter mime mmap mmx mng mozilla mp3 mpeg mpi mysql ncurses nocardbus nocd nomotif odbc ogg oggvorbis opengl oss pam pcntl pcre pda pdflib perl php pic pie plotutils png posix ppds python qt quicktime readline real samba sdl shared sharedmem simplexml sndfile sockets speex spell spl sse ssl svg sysvipc tcltk tcpd tidy tiff tokenizer truetype truetype-fonts type1-fonts usb vhosts videos vorbis wmf xine xml xml2 xmlrpc xmms xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
/usr/portage/dev-lang/perl/files/perl-cleaner is your friend. ;-) *** This bug has been marked as a duplicate of 92186 ***
Begging your pardon, but the problem I am experiencing has nothing at all to do with bug 92186. That one involved sdl-perl not being built as a dependency for frozen-bubble. This one has nothing to do with frozen-bubble, save that it was an attempted update of that package that stumbled over this problem with sdl-perl. My problem, again, is that the current sdl-perl package (sdl-perl-2.1.2-r1, built May 11), which my system has had installed since at least version sdl-perl-1.20.3, built on Nov 27, 2004, is manifesting a missing symbol when invoked from Perl. I ran the suggested command (perl-cleaner); it helpfully rebuilt about 20 module packages, but didn't fix the problem. I also rebuilt libsdl-1.2.8-r1, to no avail.
(In reply to comment #2) > I ran the suggested command (perl-cleaner); it helpfully rebuilt about 20 module > packages, but didn't fix the problem. I also rebuilt libsdl-1.2.8-r1, to no avail. Well, sorry that it did not fix the sdl-perl problem. At least now you have a saner perl setup. :-)
(While I install a fresh copy on my new 2005.0 laptop - my desktop has no problems with SDL) - have you upgraded any of the other sdl related packages on your box since installing sdl-perl? Looking at the DEP's, besides libsdl there are at least 4 other affecting packages: >=media-libs/sdl-mixer-1.2.5 >=media-libs/sdl-image-1.2.2 >=media-libs/sdl-gfx-2.0.3 >=media-libs/sdl-net-1.2.4 I know munging your emerge.log can be painful. If you have genlop installed you can always genlop -s sdl to see the emerge dates on anything related.
Confirm bug, even after re-merging sdl-perl. Probably a symbol no longer in SDL that sdl-perl never purged, as I can't find a reference to it in /usr/lib/libSDL*.so anywhere.
Sorry, I should've replied a long time ago. "genlop -s sdl" shows the most recent activity: Sat Jun 4 08:41:14 2005 >>> dev-perl/sdl-perl-2.1.2-r1 Sat Jun 4 08:45:14 2005 >>> dev-perl/sdl-perl-2.1.2-r1 Sat Jun 4 23:28:18 2005 >>> media-libs/libsdl-1.2.8-r1 Sat Jun 4 23:29:40 2005 >>> dev-perl/sdl-perl-2.1.2-r1 Sat Jun 11 10:25:01 2005 >>> media-libs/sdl-mixer-1.2.6 Sat Jun 11 10:25:34 2005 >>> media-libs/sdl-image-1.2.4 Sat Jun 11 10:26:06 2005 >>> media-libs/sdl-gfx-2.0.13 Sat Jun 11 10:26:25 2005 >>> media-libs/sdl-net-1.2.5 The only other SDL-related packages I have besides the ones named above are media-libs/sdl-sound and media-libs/sdl-ttf, neither of which seems at all likely to have a "filledpieColor" symbol. However, I will try a quick re-emerge of those two.
Nope, no change. :^(
Mass re-assign.
Created attachment 96888 [details, diff] sdl-perl-2.1.3-gfxPie.patch Apparently sdl-gfx-2.0.12 and above changed the capitalization of the functions "filledpieColor" and "filledpieRGBA" to "filledPieColor" and "filledPieRGBA". Here's a patch to detect versions and call the right function accordingly, borrowed from Fedora: http://www.redhat.com/archives/fedora-extras-commits/2006-August/msg01200.html) Mark
Created attachment 96889 [details, diff] ebuild-apply-patch.diff And here's a patch to the sdl-perl ebuild, to use it. Before applying the patch, frozen-bubble does not build, and a previously built copy of it doesn't run. After applying this patch, frozen-bubble builds and runs correctly.
Mark, thanks for the update. 'Sfunny - just a couple weeks ago I got the jones for Frozen Bubble again, and reinstalled it (I had removed it a long time back because upgrading didn't work), with sdl-perl as a prereq. Lo and behold, both emerged just fine. I now have: dev-perl/sdl-perl-2.1.3-r2 games-arcade/frozen-bubble-1.0.0-r6 So apparently one or both packages got fixed at some point while I wasn't looking. :^) If there's no objection, as the original reporter I think we could change this one to FIXED.
Isn't fixed here yet running ~x86 (nor on my x86 where I noticed it). I'll test the patches and see if it helps.
fixed it on my box. so get these patches into the tree and close this one : )
patch applied, sdl-perl bumped a revision, frozen-bubble tested and seems to play great :)