Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13523 - emerge gimp fails - libmpeg.so missing
Summary: emerge gimp fails - libmpeg.so missing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 16:14 UTC by Matthias Liertzer
Modified: 2003-07-20 05:06 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 Matthias Liertzer 2003-01-08 16:14:41 UTC
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
Comment 1 Matthias Liertzer 2003-01-08 16:40:18 UTC
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. 
Comment 2 foser (RETIRED) gentoo-dev 2003-01-11 11:36:45 UTC
Can you give the full output of when it fails and how ?
Comment 3 Matthias Liertzer 2003-01-12 07:27:25 UTC
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) 
Comment 4 foser (RETIRED) gentoo-dev 2003-01-16 10:09:57 UTC
no idea why it does this, i dont have libmpeg.so myself..

what is the output of 'grep -r libmpeg /usr/lib/lib*la' ?
Comment 5 Matthias Liertzer 2003-01-16 15:04:32 UTC
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' 
 
 
Comment 6 foser (RETIRED) gentoo-dev 2003-01-31 13:41:37 UTC
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 ?
Comment 7 foser (RETIRED) gentoo-dev 2003-02-15 09:30:09 UTC
no more traffic, closing.
Comment 8 Matthias Liertzer 2003-03-03 08:44:04 UTC
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 
Comment 9 foser (RETIRED) gentoo-dev 2003-03-03 20:16:11 UTC
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.
Comment 10 foser (RETIRED) gentoo-dev 2003-03-08 13:47:47 UTC
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.
Comment 11 Matthias Liertzer 2003-03-09 07:27:42 UTC
"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
Comment 12 foser (RETIRED) gentoo-dev 2003-03-09 08:41:45 UTC
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.
Comment 13 Matthias Liertzer 2003-03-11 18:18:34 UTC
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 
Comment 14 foser (RETIRED) gentoo-dev 2003-03-11 18:30:54 UTC
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.
Comment 15 Matthias Liertzer 2003-03-30 12:18:14 UTC
ok, after building a completely new gentoo system, i can't reproduce the bug 
anymore, so I'm closing this bug.