Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294149 - media-libs/xine-lib-1.1.16.3-r1 cannot compile
Summary: media-libs/xine-lib-1.1.16.3-r1 cannot compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 09:42 UTC by Jakob
Modified: 2009-12-23 19:11 UTC (History)
0 users

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 Jakob 2009-11-23 09:42:24 UTC
The building process complains that there is no "usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la", although "/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la" exists. 

Reproducible: Always

Steps to Reproduce:
1.emerge media-libs/xine-lib
2.
3.

Actual Results:  
libtool: link: warning: cannot determine absolute directory name of `usr/lib/gcc/i686-pc-linux-gnu/4.3.4'                                                                                                                                    
/bin/grep: usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la: No such file or directory                                                                                                                                                         
/bin/sed: can't read usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la: No such file or directory                                                                                                                                               
libtool: link: `usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la' is not a valid libtool archive                                                                                                                                               
make[2]: *** [xineplug_decode_image.la] Error 1                                                                                                                                                                                              
make[2]: *** Waiting for unfinished jobs....                                                                                                                                                                                                 
libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/xineplug_decode_theora_la-xine_theora_decoder.o   -Wl,-rpath -Wl,/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib -ldl -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lrt -lresolv -lnsl /usr/lib/libtheora.so -logg  -march=nocona -Wl,--no-undefined -Wl,-O1   -pthread -Wl,-soname -Wl,xineplug_decode_theora.so -o .libs/xineplug_decode_theora.so                                                                                                                                                                                             
libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/xineplug_decode_gdk_pixbuf_la-gdkpixbuf.o   -Wl,-rpath -Wl,/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lrt -lresolv -lnsl /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so  -march=nocona -Wl,--no-undefined -Wl,-O1   -pthread -Wl,-soname -Wl,xineplug_decode_gdk_pixbuf.so -o .libs/xineplug_decode_gdk_pixbuf.so                                                                                    
libtool: link: ( cd ".libs" && rm -f "xineplug_decode_theora.la" && ln -s "../xineplug_decode_theora.la" "xineplug_decode_theora.la" )                                                                                                       
libtool: link: ( cd ".libs" && rm -f "xineplug_decode_gdk_pixbuf.la" && ln -s "../xineplug_decode_gdk_pixbuf.la" "xineplug_decode_gdk_pixbuf.la" )                                                                                           
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src/libxinevdec'                                                                                                                         
make[1]: *** [all-recursive] Error 1                                                                                                                                                                                                         
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/work/xine-lib-1.1.16.3/src'                                                                                                                                     
make: *** [all-recursive] Error 1                                                                                                                                                                                                            
 *                                                                                                                                                                                                                                           
 * ERROR: media-libs/xine-lib-1.1.16.3-r1 failed.                                                                                                                                                                                            
 * Call stack:                                                                                                                                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                                                                                   
 *             environment, line 3075:  Called die                                                                                                                                                                                           
 * The specific snippet of code:                                                                                                                                                                                                             
 *       emake || die "emake failed."                                                                                                                                                                                                        
 *  The die message:                                                                                                                                                                                                                         
 *   emake failed.                                                                                                                                                                                                                           
 *                                                                                                                                                                                                                                           
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                                                                                                        
 * A complete build log is located at '/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/temp/build.log'.                                                                                                                                     
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.1.16.3-r1/temp/environment'.                                                                                                                            
 *                                                                                                                                                                                                                                           

>>> Failed to emerge media-libs/xine-lib-1.1.16.3-r1, Log file:



useflags of xine-lib are USE="X a52 aac aalib alsa css dts gtk imagemagick ipv6 mad modplug musepack nls opengl sdl speex theora truetype v4l vorbis win32codecs xcb xinerama xv xvmc* (-altivec) -directfb -dxr3 -esd -fbcon -flac -gnome -jack -libcaca -mmap -mng -oss -pulseaudio (-real) -samba -vcd -vidix (-vis) -wavpack (-arts%*)"

emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 22 Nov 2009 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB en_US de zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi ada alsa apache2 bash-completion berkdb bluetooth bzip2 cairo cdda cli cracklib crypt cups custom-optimization dbus divx dri dvd emacs exif faac faad firefox foomaticdb fortran ftp gcj gd gdbm gif gimp gpm gs gsm gstreamer gtk hal ical iconv icq id3tag imagemagick ipv6 irda irmc java jpeg jpeg2k kde kdepim kpathsea latex lirc modules mp3 mp4 mpeg mplayer mtp mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf pdo perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime rar readline realmedia reflection restrict-javascript schroedinger sdl session speex spl sqlite sqlite3 sse sse2 ssl ssse3 stream subversion svg sysfs tcpd theora tiff truetype twolame unicode usb v4l v4l2 vdpau vorbis win32codecs wmf wmp x264 x86 xine xinerama xml xorg xulrunner xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US de zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-11-23 10:17:44 UTC
libtool: link: `usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la' is not a valid
libtool archive

that's a failure with .la files, please do:

emerge lafilefixer; lafilefixer --justfixit

then the error should magically disappear :)
Comment 2 Jakob 2009-11-23 10:52:04 UTC
This solved the problem ... magically.
Thanks Patrick

Comment 3 Vaclav Dvorsky 2009-12-23 19:11:13 UTC
The same problem, lafilefixer is resolution, THX