Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43797 - avifile-0.7.38.20030710 fails to compile
Summary: avifile-0.7.38.20030710 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 43799 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-05 05:54 UTC by Miguel
Modified: 2004-03-18 07:44 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 Miguel 2004-03-05 05:54:18 UTC
When emerging k3b, avifile fails to compile. This is the output:

gcc -shared  codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavformat/.libs -Wl,--rpath -Wl,/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavcodec/.libs -L/usr/X11R6/lib -L/usr/lib -L/usr/kde/3.1/lib /var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavformat/.libs/libaviplayavformat.so /var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/ffmpeg/libavcodec/.libs/libaviplayavcodec.so /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lvga -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lXft -lXrender /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lpthread -lnsl -ldl  -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.38
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [libaviplay.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 146, Exitcode 2
!!! (no error message)

I have seen similar bug reports but have not found this one.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Miguel 2004-03-05 06:18:26 UTC

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/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 bonobo cdr crypt cups directfb dvd encode esd foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 2 Miguel 2004-03-05 06:22:17 UTC
*** Bug 43799 has been marked as a duplicate of this bug. ***
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-03-05 07:14:05 UTC

*** This bug has been marked as a duplicate of 15736 ***
Comment 4 Miguel 2004-03-05 07:28:04 UTC
I have rebooted and did rm -r /var/tmp/portage/* as suggested in bug #15736 but the problem persists
Comment 5 Miguel 2004-03-05 09:42:40 UTC
I finally found what the problem is: it did search for the artsc library in /usr/kde/3.1/lib instead of /usr/kde/3.2/lib. 

I have kde-3.2 installed but there are still some kde-3.1 directories and files around although I have unmerged everything related to kde-3.1. I managed to compile avifile by linking  /usr/kde/3.1/lib to /usr/kde/3.2/lib. It is not a clean solution but it works. I'm not sure if it will break something else because there were still some libs in /usr/kde/3.1/lib (I made a backup just in case).

Don't know if it is an ebuild problem or if it has something to do with my system. Any ideas ? Thanks
Comment 6 Miguel 2004-03-06 09:33:11 UTC
I tried to remove the /usr/kde/3.1 directory and then avifile fails to compile again. I have search in configurations files like ld.conf and I can not find any reference to kde-3.1. In fact no package owns /usr/kde/3.1/lib anymore.

I left the link from /usr/kde/3.1/lib to /usr/kde/3.2/lib as a temporary solution. 
Comment 7 Luca Barbato gentoo-dev 2004-03-18 07:44:07 UTC
emerge libsdl
emerge avifile
everything should be fine

kde team there is already a fix_libtool_files for kde, if isn't we should prepare one?