Summary: | xmms ebuild fails with alsa related error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Edward Muller <edwardam> |
Component: | Current packages | Assignee: | Seemant Kulleen (RETIRED) <seemant> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.1a | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Edward Muller
2002-04-12 23:32:17 UTC
I believe this bug is related to the avifile ebuild. When I try to re-emerge avifile I get the following error. gcc -shared codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive -L/usr/kde/2/lib -L/usr/X11R6/lib -L/usr/qt/2/lib aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -L/usr/lib /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so -lX11 -lXext -lXinerama -lggi -lgii -lgg /usr/lib/libaa.so -lXxf86dga -lXxf86vm -lXi -lXft -lpthread -lnsl -ldl -lm -Wl,-soname -Wl,libaviplay-0.6.so.0 -o .libs/libaviplay-0.6.so.0.6.0 /usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.6.0.20011220-r1/work/avifile0.6-20011220/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.6.0.20011220-r1/work/avifile0.6-20011220/lib' make: *** [all-recursive] Error 1 Part of the avifile configure process includes /usr/kde/2/libs Looking at the avifile ebuild (avifile-0.6.0.20011220-r1.ebuild) shows that "--with-extra-libraries=/usr/kde/2" is hard coded in the configure line of the ebuild. Changing the /usr/kde/2/lib entries to /usr/kde/3/lib entries lets avifile compile and install properly. I quess avifile can use alsa, but that appears to be it as it's qui programs seems to link to/use qt2, not kde. Anyway ... that's all casual observation... Hi, Sorry, I have been attacking a number of bugs simultaneously so I did not have time to comment on this one. It turns out you figured out the problem anyway, in that it was an arts (kde sound) issue rather than an alsa issue. You also did most of the work for me by tracking it down to the aviplay ebuild. Thanks for that. Now, on to the solution. With andee's help in #gentoo (since I do not have KDE :P), I have updated the avifile ebuild to accomodate qt2/kde2 and qt3/kde3 depending on which one is active at the time that you emerge avifile. It should work like a charm now. |