When trying to emerge the new rhythmbox, the building of mjpegtools-1.6.0-r3 (which is a dependency) fails with the following error: gcc -mcpu=i686 -march=i686 -march=i686 -O3 -pipe -Wall -Wunused -o .libs/lav2wav lav2wav.o -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/utils -lmjpegutils ./.libs/liblavfile.so -L/usr/lib -lmovtar -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/../quicktime4linux-1.4-patch -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/../quicktime4linux-1.4-patch/i686 -lquicktime -lpthread -lpng -lz -lm -L/lib -ldl -L/usr/include/jpeg-mmx /usr/lib/libjpeg.so -L/usr/local/lib /usr/lib/libdv.so /usr/lib/libpopt.so /usr/lib/libSDL.so -L/usr/kde/3/lib -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -L/usr/X11R6/lib -lX11 -lXext -lggi /usr/lib/libgii.so /usr/lib/libgg.so -lvga /usr/lib/libaa.so -ldl -lpthread -lm /usr/lib/libglib.so -lpthread -ldl /usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [lav2wav] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse.... gcc -mcpu=i686 -march=i686 -march=i686 -O3 -pipe -Wall -Wunused -o .libs/lav2yuv lav2yuv.o lav_common.o -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/utils -lmjpegutils ./.libs/liblavfile.so -L/usr/lib -lmovtar -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/../quicktime4linux-1.4-patch -L/var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/../quicktime4linux-1.4-patch/i686 -lquicktime -lpthread -lpng -lz -lm -L/lib -ldl -L/usr/include/jpeg-mmx -L/usr/local/lib -L/usr/kde/3/lib -lm -L/usr/X11R6/lib -ldl -lpthread -lm -lpthread -ldl ./.libs/liblavjpeg.so /usr/lib/libjpeg.so /usr/lib/libdv.so /usr/lib/libpopt.so /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lggi /usr/lib/libgii.so /usr/lib/libgg.so -lvga /usr/lib/libaa.so -ldl -lpthread -lm /usr/lib/libglib.so -lpthread -ldl /usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [lav2yuv] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis /var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0/lavtools make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis /var/tmp/portage/mjpegtools-1.6.0-r3/work/mjpegtools-1.6.0 make: *** [all] Fehler 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -159, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mjpegtools/mjpegtools-1.6.0-r3.ebuild . I am using gcc 2.95. Could this problem have something to do with that I am using KDE 3.1 beta1? (and so arts 1.0.7) bye suka
Ok solved the problem myself: It originated because I only have the KDE 3.1 beta1 installed which goes into the /usr/kde/3.1 dir, doing a symlink to /usr/kde/3 allowed me to build it. Should be taken care of (how?) as this could result in bigger problems when moving to a KDE 3.1 only system...
Hi, I think You have KDEDIR=/usr/kde/3/ defined anywhere in Your environment (possibly in /etc/make.conf or /etc/make.globals?). Try `env` to get Your environment.
The only KDE related variable I get when typing env is: KDEDIRS=/usr/kde/3.1:/usr ALso in /etc/env.d/ I only have the paths set to the 3.1-dirs, so I don't think this is the problem
is there any "KDEDIR=" in /etc/make*?
No, no KDEDIR= in make.conf, make.globals or any of the files in make.profile
OK, this is what I believe is happening: libsdl and libdv both have optional deps on arts (via USE arts). You must have compiled one or both with kde 3.0.x installed, so their .la files still have the /usr/kde/3 path in them. mjpegtools will link against all libraries that libsdl and libdv link against. Including arts. So to fix this problem, please remerge both libdv and libsdl (those of the two that you have installed). emerge mjpegtools should now work (please test without your symlink in /usr/kde). I'll add the missing dep on libdv to mjpegtools, as well as an optional one on arts.
Now that I recompiled both the compile of mjpegtools works without problems (even without the symlink). BUT: More applications seem to have the problem, at least I get the same error with xmms, so how to avoid such problems at a whole?
There are ways to fix such a situation - remerge offending apps or edit (or sed from a script) all .la files in /usr/lib to refer to /usr/kde/3.1 not /usr/kde/3. To avoid such problems, stop them from happening in the first place - I am not aware of any way to do that :-( I'm afraid you'll have to remerge xmms and anything else that gives trouble (xmms-arts too I suppose).
thanks a lot for your help, at least now I know what the problem is. (and so I already solved the xmms problem) bye suka
Whoa, um, I...ah.... pasted that into the wrong bug's window. So sorry. :P
Argh. Er, no I didn't. I just got caught by that "Your NEXT BUG Follows" thing and thought that I had . . . *ahem* Yeah. So disregard that message. /me ducks!