| Summary: | sdl-perl tosses "undefined symbol: filledpieColor" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Hill <michael> |
| Component: | [OLD] Library | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | basic, oliver |
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
sdl-perl-2.1.3-gfxPie.patch
ebuild-apply-patch.diff |
||
|
Description
Michael Hill
2005-06-04 12:35:28 UTC
/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. 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 :) |