Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286325 - media-video/vlc-1.0.2 failed to build : .libs/libx11_plugin_la-xcommon.o: file not recognized
Summary: media-video/vlc-1.0.2 failed to build : .libs/libx11_plugin_la-xcommon.o: fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 22:57 UTC by pierre
Modified: 2009-09-25 22:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
and here is the buid.log (build.log,1.37 MB, text/plain)
2009-09-24 23:00 UTC, pierre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pierre 2009-09-24 22:57:27 UTC
well it's all in the title : upgrading vlc from 1.0.1 to 1.0.2 failed to compile.

Reproducible: Always

Steps to Reproduce:
1.emerge -av vlc
2.
3.




here is my emerge --info :
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Sep 2009 16:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en fr_FR en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/local/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/portage/local/pierre /usr/portage/local/freerunner/openmoko-overlay/openmoko-target"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 ati bash-completion berkdb bzip2 cairo cdr cli cracklib crypt dbus dga dri dvd exif ffmpeg flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java java6 jpeg jpeg2k lm_sensors loop-aes mikmod mmx mmxext modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python radeon readline reflection session spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vim-syntax vorbis x264 xfce xinerama xml xml2 xorg xpm xv zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en fr_FR en_US" LIRC_DEVICES="packard_bell" USERLAND="GNU" VIDEO_CARDS="ati radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

and here are the last lines of compilation's ouput :
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libx11_plugin_la-x11.o .libs/libx11_plugin_la-xcommon.o  -Wl,--whole-archive ../../../compat/.libs/libcompat.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/src/.libs /usr/lib64/libXxf86vm.so -L/usr/lib64 /usr/lib64/libXinerama.so /usr/lib64/libXext.so /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so ../../../src/.libs/libvlccore.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm  -march=k8 -msse3 -Wl,-O1   -Wl,-soname -Wl,libx11_plugin.so -o .libs/libx11_plugin.so
.libs/libx11_plugin_la-xcommon.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[6]: *** [libx11_plugin.la] Error 1
make[6]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld:.libs/libxvideo_plugin_la-xvideo.o: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld:.libs/libxvideo_plugin_la-xvideo.o:1: syntax error
collect2: ld returned 1 exit status
make[6]: *** [libxvideo_plugin.la] Error 1
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libglx_plugin_la-glx.o .libs/libglx_plugin_la-xcommon.o  -Wl,--whole-archive ../../../compat/.libs/libcompat.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/src/.libs /usr/lib64/libXxf86vm.so -L/usr/lib64 /usr/lib64/libXinerama.so -luuid /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXext.so /usr/lib64/libXi.so /usr/lib64/libX11.so -lstdc++ ../../../src/.libs/libvlccore.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm  -march=k8 -msse3 -Wl,-O1   -Wl,-soname -Wl,libglx_plugin.so -o .libs/libglx_plugin.so
.libs/libglx_plugin_la-glx.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[6]: *** [libglx_plugin.la] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/modules/video_output/x11'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/modules/video_output/x11'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/modules/video_output'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2'
make: *** [all] Error 2
Comment 1 pierre 2009-09-24 23:00:23 UTC
Created attachment 205172 [details]
and here is the buid.log
Comment 2 Rafał Mużyło 2009-09-24 23:27:37 UTC
Looks like a parallel make/ccache problem.
Try lowering MAKEOPTS / cleaning the cache.
Comment 3 pierre 2009-09-25 22:23:15 UTC
(In reply to comment #2)
> Looks like a parallel make/ccache problem.
> Try lowering MAKEOPTS / cleaning the cache.
> 
MAKEOPTS didn't change anything, but cleaning he cache did it....
thank you.