Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33749 - libmpeg2 won't compile
Summary: libmpeg2 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 34804
Blocks:
  Show dependency tree
 
Reported: 2003-11-18 05:06 UTC by Wim Uyttebroek
Modified: 2003-12-11 15:55 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 Wim Uyttebroek 2003-11-18 05:06:52 UTC
I have this problem for several weeks now.
same problem with libdv (http://bugs.gentoo.org/show_bug.cgi?id=33748)

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge libmpeg2
3.

Actual Results:  
make[2]: Entering directory `/var/tmp/portage/libmpeg2-0.3.
2_pre20030625/work/mpeg2dec-0.3.2-cvs/include'
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 -fomit-frame-pointer -mcpu=pentiumpro 
-march=pentium3 -Os -pipe -fomit-frame-pointer   -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 
libtool: link: cannot find the library `'
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)



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
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/kde/3.2/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/home/gentoo/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/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 encode foomaticdb gif jpeg libg++ mad mikmod nls pdflib xmms xv gdbm 
berkdb slang readline bonobo tcltk guile ruby sdl gpm tcpd pam libwww ssl perl 
esd imlib gtk motif X opengl mysql apache2 mod_php mod_ssl php java kde gtk2 
gnome qt alsa arts 3dnow cdr cups crypt apm avi dvd icc junit mozilla mmx mpeg 
ncurses oggvorbis oss png python quicktime spell sse svga truetype tetex usb 
zlib samba prebuilt xml xml2 mbox"
Comment 1 SpanKY gentoo-dev 2003-11-18 06:37:46 UTC
chances are your bug 33748 are the same problem

please try to track down the .la file that is causing this on your system
Comment 2 SpanKY gentoo-dev 2003-11-18 08:20:28 UTC
what version of libtool do you have ?
post the libmpeg2.la file found somewhere in /var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/
Comment 3 Wim Uyttebroek 2003-11-18 08:59:44 UTC
I have sys-devel/libtool-1.4.3-r3

in /var/tmp/portage/libmpeg2-0.3.2_pre20030625/work/mpeg2dec-0.3.2-cvs/libmpeg2/libmpeg2.la I have:

 libmpeg2.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libmpeg2.so.0'

# Names of this library.
library_names='libmpeg2.so.0.0.0 libmpeg2.so.0 libmpeg2.so'

# The name of the static archive.
old_library='libmpeg2.a'

# Libraries that this one depends upon.
dependency_libs=' '

# Version information for libmpeg2.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'
Comment 4 Wim Uyttebroek 2003-11-23 07:35:08 UTC
USE=-sdl emerge libdv
USE=-sdl emerge libmpeg2

this solves my problem, I had it with this 2 ebuilds

see http://bugs.gentoo.org/show_bug.cgi?id=33748
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-27 14:09:58 UTC
check bug 33742.  

Different program, same solution.

Just adjust the parh/filenames to suit.
Comment 6 SpanKY gentoo-dev 2003-11-29 14:47:19 UTC
have you ever had kde-cvs emerged ?
Comment 7 Wim Uyttebroek 2003-11-29 15:00:07 UTC
Yes, now I have the first beta (non kde-cvs ebuild)
Comment 8 SpanKY gentoo-dev 2003-11-29 15:58:35 UTC
please re-emerge libsdl and then see if these packages compile again
Comment 9 Wim Uyttebroek 2003-11-30 01:28:51 UTC
No, same compile errors for both packages.
Comment 10 Luca Barbato gentoo-dev 2003-11-30 11:03:27 UTC
try USE="-arts" emerge libsdl
emerge libmpeg2
Comment 11 Wim Uyttebroek 2003-12-01 00:42:32 UTC
USE="-arts" emerge libsdl libmpeg2 libdv works
Comment 12 SpanKY gentoo-dev 2003-12-11 15:55:12 UTC
update to libsdl-1.2.6-r3