Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24341 - emerge libmpeg-0.3.2_pre20030625 failure
Summary: emerge libmpeg-0.3.2_pre20030625 failure
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-12 10:14 UTC by Marinus Karel tenNapel
Modified: 2004-03-17 06:34 UTC (History)
2 users (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 Marinus Karel tenNapel 2003-07-12 10:14:13 UTC
I got these error messages:
!!! ERROR: media-libs/libmepg2-0.3.2_pre20030625 failed.
!!! function src_compile, line 48, Exitcode 2
!!! (no error message)

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Just continue emerging libmpeg and the rest of gnome :)
Comment 1 foser (RETIRED) gentoo-dev 2003-07-12 10:25:29 UTC
not a gnome bug directly, raker problem with your snapshot you should probably take this.

reporter please provide 'emerge info' and the full output of the failing build 
Comment 2 Jeff 2003-07-15 06:59:09 UTC
Just as a comment.  

I got this error as well.  The error was related to the inability to find libslang.so.1.

emerge installed slang.1.4.5 before libmpeg, and in /usr/lib there was:
libslang.so
libslang.so.1.4.5

libmpeg was looking to link /usr/lib/libslang.so.1, which didn't exist, resulting in the compile error.

I manually created /usr/lib/libslang.so.1 (pointing to libslang.so), and everything was fine.

Fundamentally, this seems like a common flaw in the portage system, in that a package links into a particular version of a linked library, resulting in problems either with compiling, or on emerge -u world.

For example, having mplayer compiled with the directfb USE flag, and then subsequently the `emerge -u world` updated directfb (removing the old version).  At that point mplayer would no longer start, since it was looking for  libdirectfb.so.0.9.12, but now existed as libdirectfb.so.0.9.18. 
Comment 3 SpanKY gentoo-dev 2003-09-11 19:12:02 UTC
you guys need to post more information, like `emerge info` and more of the compile/link error (you havent posted any of it yet)
Comment 4 someseven 2003-09-19 06:23:51 UTC
I have the same problem:
bash-2.05b$ emerge libmpeg2
......

`/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libvo'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include   -Wall -march=athlon-xp  -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro  -MT sample1.o -MD -MP -MF ".deps/sample1.Tpo" \
  -c -o sample1.o `test -f 'sample1.c' || echo './'`sample1.c; \
then mv -f ".deps/sample1.Tpo" ".deps/sample1.Po"; \
else rm -f ".deps/sample1.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include   -Wall -march=athlon-xp  -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro  -MT sample2.o -MD -MP -MF ".deps/sample2.Tpo" \
  -c -o sample2.o `test -f 'sample2.c' || echo './'`sample2.c; \
then mv -f ".deps/sample2.Tpo" ".deps/sample2.Po"; \
else rm -f ".deps/sample2.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -Wall -march=athlon-xp  -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro    -o sample1  sample1.o ../libmpeg2/libmpeg2.la
/bin/sh ../libtool --mode=link gcc -Wall -march=athlon-xp  -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro    -o sample2  sample2.o ../libmpeg2/libmpeg2.la ../libvo/libvo.a -lSM -lICE  -L/usr/X11R6/lib -lX11  -lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
mkdir .libs
gcc -Wall -march=athlon-xp -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -o .libs/sample1 sample1.o  ../libmpeg2/.libs/libmpeg2.so
creating sample1
gcc -Wall -march=athlon-xp -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib  ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so -L/usr/kde/3.1/lib -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -lvga -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc'
make: *** [all-recursive] Error 1
Making all in autotools
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/autotools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/autotools'
Making all in include
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/include'
make  all-am
make[2]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/include'
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/include'
Making all in libmpeg2
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2'
Making all in libvo
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libvo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libvo'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc'
/bin/sh ../libtool --mode=link gcc -Wall -march=athlon-xp  -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro    -o sample2  sample2.o ../libmpeg2/libmpeg2.la ../libvo/libvo.a -lSM -lICE  -L/usr/X11R6/lib -lX11  -lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
gcc -Wall -march=athlon-xp -pipe -O3 -fomit-frame-pointer -mcpu=pentiumpro -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib  ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so -L/usr/kde/3.1/lib -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -lvga -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/doc'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-libs/libmpeg2-0.3.2_pre20030625 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)


bash-2.05b# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) XP 1700+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline aalib svga java postgres sdl gpm tcpd pam ssl perl esd imlib oggvorbis gtk motif opengl cdr X gtk2 gnome ipv6 tcltk python usb xmms samba doc expat -kde -qt -mozilla"

:)







Comment 5 foser (RETIRED) gentoo-dev 2003-09-19 07:23:46 UTC
note to raker, it turns out the mpeg2dec fix for gst-plugins doesn't work. It compiles, but it doesn't work.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-06 00:39:10 UTC
someseven: Please tell me the result of

ls -l /usr/kde/3.1/lib/libartsc* 
Comment 7 someseven 2003-10-08 08:55:15 UTC
bash-2.05b# ls -l /usr/kde/3.1/lib/libartsc*
-rwxr-xr-x    1 root     root         1476 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artscbackend.la
lrwxrwxrwx    1 root     root           24 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artscbackend.so -> libartscbackend.so.0.0.0
lrwxrwxrwx    1 root     root           24 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artscbackend.so.0 -> libartscbackend.so.0.0.0
-rwxr-xr-x    1 root     root        95746 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artscbackend.so.0.0.0
-rwxr-xr-x    1 root     root          714 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artsc.la
lrwxrwxrwx    1 root     root           17 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artsc.so -> libartsc.so.0.0.0
lrwxrwxrwx    1 root     root           17 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artsc.so.0 -> libartsc.so.0.0.0
-rwxr-xr-x    1 root     root        27125 2003-09-25 10:00 /usr/kde/3.1/lib/lib
artsc.so.0.0.0
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-08 23:04:52 UTC
Perhaps I'm blind, but I can't see any reason why ld: cannot find -lartsc
- the lib is there, the library path is there.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-03 06:57:03 UTC
someseven: please run CFLAGS="" emerge libmpeg2 2>&1 | tee logfile and _attach_
the logfile, that makes it easier to compare with a functional build.
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2004-03-17 06:34:19 UTC
Since there was no reaction for several months, I'll declare this as NEEDINFO. Please re-open if you are still alive and have the problem. :-)