Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133148 - gnash seems to depend on svgalib
Summary: gnash seems to depend on svgalib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: 149936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-12 14:15 UTC by Perttu Luukko
Modified: 2006-10-03 05:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perttu Luukko 2006-05-12 14:15:55 UTC
net-www/gnash-0.7.1 fails to build without svgalib:

i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -o .libs/gnash gnash.o  -L/usr/lib /usr/lib/libjpeg.so /usr/lib/libogg.so /usr/lib/libxml2.so -lm /usr/lib/libSDL.so /usr/lib/opengl/nvidia/lib/libGL.so /usr/lib/libGLU.so /usr/lib/libgtkglext-x11-1.0.so /usr/lib/libgdkglext-x11-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libatk-1.0.so /usr/lib/libglib-2.0.so /usr/lib/libmad.so ./.libs/libgnashbackend.so ../server/.libs/libgnashserver.so ../server/.libs/libgnashasobjs.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so /usr/lib/libSDL_mixer.so -L/usr/X11R6/lib -lpng -lXrender -lpng12 -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -lSM -lICE -lrt -lXi -lXmu -lz -laudio -lXt -lXext -ldl -lvga -lslang -lX11 -lncurses -lpthread -Wl,--rpath -Wl,/usr/lib/opengl/nvidia/lib -Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lvga

Of course it would be nice if svgalib was made optional through the svga USE-flag. Strangely enough, the gnash manual does not list svgalib as a dependency at
http://www.gnu.org/software/gnash/manual/gnash.html#codedepend. There shouldn't be any indirect dependencies either - I've run emerge --newuse, and nothing seems to miss libvga when I run revdep-rebuild.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-12 14:43:05 UTC
-lvga is only added in the .la files, though it does not actually depend on it.

I actually have no clue about this. Considering the whole tarball does not even contain the string "vga".
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-12 14:51:22 UTC
# grep vga /usr/lib/*.la
/usr/lib/libSDL_mixer.la:dependency_libs=' -L/usr/lib /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la /usr/lib/libogg.la /usr/lib/libsmpeg.la -lstdc++ -lSDL /usr/lib/libSDL.la -lm /usr/lib/libXext.la /usr/lib/libX11.la /usr/lib/libXau.la /usr/lib/libXdmcp.la -lvga -lpthread /usr/lib/libmikmod.la -ldl'


Seems sdl-mixer is the culprit. Just remerge sdl-mixer and it works fine :)
Comment 3 Perttu Luukko 2006-05-13 00:30:34 UTC
Damn secret reverse dependencies... :) Works fine now. Thanks for the grep tip - I'll try it next time before filing a bug :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-03 05:00:34 UTC
*** Bug 149936 has been marked as a duplicate of this bug. ***