On my pc, emerge -e world fails when compiling gimp. As stated in the summary gcc says that /usr/lib/libmpeg.so is missing. I guess the mpeg-lib library should contain this file, but it only generates a libmpeg.a file in /usr/lib. Greets Matt
Sorry, I forgot some details I guess: gimp-version 1.2.3-r3 mpeg-lib 1.3.1-r1 ACCEPT_KEYWORDS="x86" and I'm building gimp with every USE-flag possible.
Can you give the full output of when it fails and how ?
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wall -o .libs/gap_decode_mpeg gap_decode_mpeg_main.o gap_arr_dialog.o gap_pdb_calls.o -rdynamic ../../libgimp/.libs/libgimpui.so -L/usr/lib -L/usr/X11R6/lib ../../libgimp/.libs/libgimp.so /usr/lib/libmpeg.so -L/usr/qt/3/lib -L/usr/kde/3/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -lXv -lXxf86dga -lXxf86vm /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so -lc -lgcc_s /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 gcc: /usr/lib/libmpeg.so: No such file or directory make[3]: *** [gap_decode_mpeg] Error 1 make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/gap' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3' make: *** [all-recursive-am] Error 2 !!! ERROR: media-gfx/gimp-1.2.3-r3 failed. !!! Function src_compile, Line 115, Exitcode 2 !!! (no error message)
no idea why it does this, i dont have libmpeg.so myself.. what is the output of 'grep -r libmpeg /usr/lib/lib*la' ?
No problem, here's the output: /usr/lib/libarts_mpeglib.la:dependency_libs=' -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/lib/libmpeg.la -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib -lX11 -lXext -lXv -lXxf86dga -lXxf86vm /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la /usr/lib/libogg.la /usr/lib/libogg.la -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la -lm -lc -lgcc_s' /usr/lib/libarts_splay.la:dependency_libs=' -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/lib/libmpeg.la -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib -lX11 -lXext -lXv -lXxf86dga -lXxf86vm /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la /usr/lib/libogg.la /usr/lib/libogg.la -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la -lm -lc -lgcc_s' /usr/lib/libmpeg.la:# libmpeg.la - a libtool library file /usr/lib/libmpeg.la:dlname='libmpeg-0.3.0.so' /usr/lib/libmpeg.la:library_names='libmpeg-0.3.0.so libmpeg-0.3.0.so libmpeg.so' /usr/lib/libmpeg.la:# Version information for libmpeg. /usr/lib/libyafxplayer.la:dependency_libs=' -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/lib/libmpeg.la -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib /usr/lib/libyafcore.la /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la -lX11 -lXext -lXv -lXxf86dga -lXxf86vm /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la /usr/lib/libogg.la /usr/lib/libogg.la -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la -lm -lc -lgcc_s'
do you have mpeg-lib around ? what happens if you remove it and try to compile gimp ? And if that works, if you reinstall mpeg-lib and then emerge gimp, do you still trip over the error ?
no more traffic, closing.
Hmmm, still happens here, a while ago, I unemerged gimp and after that I did a " emerge depclean" and unemerged libmpeg this way. But today, when I tried to emerge gimp, it gave me exactly the same error. Ok, but I think I found the error: Here's the output of running the configure script of mpeg-lib: >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking host system type... Invalid configuration `i686-pc-linux-gnu': machine `i686-pc-linux' not recognized checking whether byte ordering is bigendian... no checking for gcc... gcc .... The rest of the output is okay. Isn't it possible libmpeg.so doesn't get built because of the configure script not recognizing my machine type? But on the other hand then, why am I the only one affected by this error? Hmm strange thing... Greets Matt
did you read comment #6 and do any of those things ? It most likely isn't your hostname, it is some other lib used by gimp referring to mpeg. And i'm not talking about libmpeg, but about mpeg-lib.
i'll take this , only cluttering our view reporter please try and respond in a reasonable timeframe. It's very hard to track bugs like this.
"do you have mpeg-lib around ?" Yes "what happens if you remove it and try to compile gimp?" same error when compiling gimp "And if that works, if you reinstall mpeg-lib and then emerge gimp, do you still trip over the error ?" yes "And i'm not talking about libmpeg, but about mpeg-lib. " yeah me too, I just mixed them up, when writing the last post
can you recompile arts ? Thats the only lib that references to libmpeg.so it seems ... i cannot think of anything else then your removed some lib while something else referenced to it. it looks similar to things ive seen before, but it is hell to find out what exactly.
Ok, recompiling arts didn't help either. Maybe it's the best thing to just recompile a completely new gentoo system... but thanks for your help
well i wouldnt suggest that, cause its probably one minor pack causing the trouble. Only as i said it's pretty hard to find out and especially in a bug like this (so slow). Anyway the error message is fairly obvious, i suppose every average joe linux should be able to find the problematic pack in a reasonable time. Configure script asks random config script for needed libs -> it returns a bunch, but because this got compiled before a certain optional depending lib was removed it still contains reference to that lib -> find the pack that owns the config script (config script can also be a la, lib description .. but i think i ruled that out here by now). Or try to hardcode gimp to not build the mpeg extension (which is the problematic one). Don't think there is a switch, but you could find out why it tries to build now and fool the config script into not building it or something.
ok, after building a completely new gentoo system, i can't reproduce the bug anymore, so I'm closing this bug.