Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41823

Summary: libdv 0.99 or 0.101 will not compile.
Product: Gentoo Linux Reporter: Robert Scott <bugs>
Component: New packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Scott 2004-02-16 13:28:40 UTC
Running a gcc 2.95.3 system, libdv 0.99 and 1.01 give me the same error:

...
...
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f 'oss.c' || echo './'`oss.c
/bin/sh ../libtool --silent --mode=link gcc -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall   -o playdv  playdv.o display.o oss.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXv ../libdv/libdv.la -lpopt -lm
/usr/i586-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [playdv] Error 1
make[2]: Leaving directory `/var/tmp/portage/libdv-0.101/work/libdv-0.101/playdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.101/work/libdv-0.101'
make: *** [all] Error 2

!!! ERROR: media-libs/libdv-0.101 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1. emerge libdv


Actual Results:  
Compile failure.

Expected Results:  
Should compile fine.

Portage 2.0.50-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9,2.2.5-r4, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.2.8
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=i686 -O2 -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -mcpu=i686 -O2 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.linux.no/ http://gentoo.tiscali.nl/gentoo/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://mirror.pudas.net/gentoo
http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr cjk crypt cups encode esd gdbm gif
gnome-libs gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mikmod mmx motif
mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell ssl
svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-02-18 03:00:47 UTC
emerge kde-base/arts and try again

is it's already merged, you have a configuration problem
-> /usr/i586-pc-linux-gnu/bin/ld: 
this should be i686
Comment 2 Robert Scott 2004-02-18 16:38:25 UTC
Yes, arts is already merged, the i586-pc-linux-gnu thing is probably because I used to run the machine as i586 before I upgraded it. I don't have a /usr/i686-pc-linux-gnu . I'm really confused as to why it's looking for artsc at all. I grepped the whole libdv source for arts and nothing relevant was there.
Comment 3 Robert Scott 2004-02-18 17:19:19 UTC
Ah! Got it! I had to update libsdl to 1.2.6-r3.

See: http://bugs.gentoo.org/show_bug.cgi?id=35488
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-03-06 10:32:42 UTC
closing