Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286195 - vlc-1.0.2 fails to compile with died running emake, base_src_work:make
Summary: vlc-1.0.2 fails to compile with died running emake, base_src_work:make
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 11:07 UTC by Luis Aranguren
Modified: 2009-10-10 08:12 UTC (History)
2 users (show)

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


Attachments
Complete build log of error compiling vlc-1.0.2 (build.log,450.83 KB, text/plain)
2009-09-24 11:09 UTC, Luis Aranguren
Details
Complete build log error compiling media-libs/libdca-0.0.5-r2 (build.log,10.97 KB, text/plain)
2009-09-24 19:58 UTC, Luis Aranguren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Aranguren 2009-09-24 11:07:04 UTC
Tried to emerge vlc-1.0.2 which resulted in a compilation error.

Reproducible: Always

Steps to Reproduce:
1.emerge -uvDN =media-video/vlc-1.0.2

Actual Results:  
 * ERROR: media-video/vlc-1.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3948:  Called base_src_compile
 *             environment, line  661:  Called base_src_work 'make'
 *             environment, line  775:  Called die
 * The specific snippet of code:
 *                       emake || die "died running emake, $FUNCNAME:make";
 *  The die message:
 *   died running emake, base_src_work:make


Portage 2.2_rc41 (default/linux/x86/2008.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 2.6.31-gentoo i686)      
=================================================================                                        
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-gentoo-1.12.11.1  
Timestamp of tree: Thu, 24 Sep 2009 08:00:01 +0000                                                       
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     4.0_p28                                                                             
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                                 
dev-lang/python:     2.6.2-r1                                                                            
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 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 -pipe -fomit-frame-pointer -march=prescott -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/boxee/UserData /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.pacific.net.au/linux/Gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage /usr/local/portage/layman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa automount berkdb bluetooth branding bzip2 cairo cdr cjk cli cpudetection cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo firefox flac fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv icq immqt-bc ipv6 irc isdnlog jabber java jpeg kde kdepim ldap libnotify mad matroska mikmod mmx mmxext modules mozilla mp3 mp4 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pcmcia pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl session snmp spell spl sqlite sse sse2 sse3 ssl startup-notification svg svga sysfs tcpd tga threads thunar tiff truetype unicode usb v4l v4l2 vhosts vorbis wifi win32codecs x264 x86 xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid yahoo zeroconf 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="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx vga ati vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luis Aranguren 2009-09-24 11:09:33 UTC
Created attachment 205093 [details]
Complete build log of error compiling vlc-1.0.2
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-09-24 11:40:50 UTC
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/libdca.so: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/libdca.so:1: syntax error

Hmm. Try:

# rm -rf /usr/lib/libdca*
# emerge -1 libdca
Comment 3 Luis Aranguren 2009-09-24 19:58:21 UTC
Created attachment 205135 [details]
Complete build log error compiling media-libs/libdca-0.0.5-r2

I tried your suggestion. Also tried changing the USE flags of the package and downgrading to 5.0.0 all produced the same error that I am attaching. I am not sure on how to proceed, should open another bug for this new error?
Thanks.
Comment 4 MickKi 2009-09-27 08:46:24 UTC
Same problem like the OP, also on x86 arch.  Remerging media-libs/libdca did the trick for me:
======================================
# ls -la /usr/lib/libdca*
-rw-r--r-- 1 root root 145890 Sep 27 09:03 /usr/lib/libdca.a
-rw-r--r-- 1 root root    910 Sep 27 09:03 /usr/lib/libdca.la
lrwxrwxrwx 1 root root     15 Sep 27 09:03 /usr/lib/libdca.so -> libdca.so.0.0.0
lrwxrwxrwx 1 root root     15 Sep 27 09:03 /usr/lib/libdca.so.0 -> libdca.so.0.0.0
-rwxr-xr-x 1 root root 144612 Sep 27 09:03 /usr/lib/libdca.so.0.0.0
======================================

and vlc-1.0.2 completed without further problems.
-- 
Regards,
Mick
Comment 5 Bernd Butscheidt 2009-10-04 18:39:02 UTC
No luck here either:

*******************************************++
localhost ProjectX # emerge -av vlc

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild     U ] media-video/vlc-1.0.2 [1.0.1] USE="X a52 aac alsa dbus dts* dvb dvd ffmpeg flac gcrypt hal libnotify matroska mmx mp3 mpeg ncurses ogg opengl png pulseaudio qt4 sdl sse stream svg theora truetype twolame vorbis x264 xml xv -aalib (-altivec) -atmo -avahi -bidi -cdda -cddax -cddb -cdio -dc1394 -debug -dirac -directfb -fbcon -fluidsynth -fontconfig -ggi -gnome -gnutls -httpd -id3tag -ieee1394 -jack -kate -libass -libcaca -libproxy -libsysfs -libtiger -libv4l2 -lirc -live -lua -modplug -mtp -musepack -nsplugin -optimisememory -oss (-pda) -pvr -remoteosd -rtsp -run-as-root -samba -schroedinger -sdl-image -seamonkey -shine -shout -skins -speex (-svga) -taglib -upnp -v4l -v4l2 -vcdinfo -vcdx -vlm (-win32codecs) -wma-fixed -xcb -xinerama -xosd -zvbi" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/vlc-1.0.2
 * vlc-m4-1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                       [ ok ]
 * vlc-patches-77.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                 [ ok ]
 * vlc-1.0.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking vlc-m4-1.tar.bz2 to /extern02/var/tmp/portage/media-video/vlc-1.0.2/work
>>> Unpacking vlc-patches-77.tar.bz2 to /extern02/var/tmp/portage/media-video/vlc-1.0.2/work
>>> Unpacking vlc-1.0.2.tar.bz2 to /extern02/var/tmp/portage/media-video/vlc-1.0.2/work
>>> Source unpacked in /extern02/var/tmp/portage/media-video/vlc-1.0.2/work
>>> Preparing source in /extern02/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2 ...
 * Applying various patches (bugfixes/updates) ...
 *   010_all_freetype-font.patch ...                                                       [ ok ]
 *   020_all_check_headers_regexps.patch ...                                               [ ok ]
 *   030_all_xcb_sysconf_bsd.patch ...                                                     [ ok ]
 *   300_all_pic.patch ...                                                                 [ ok ]
 *   310_all_mmx_pic.patch ...                                                             [ ok ]
 *   320_all_disable_media_list_player_tests.patch ...                                     [ ok ]
 *   530_all_older_xcb_xv.patch ...                                                        [ ok ]
 *   540_all_x264.patch ...                                                                [ ok ]
 *   550_all_nofc.patch ...                                                                [ ok ]
 *   560_all_kateppc.patch ...                                                             [ ok ]
 * Done with patching


.
.
.
.


libtool: link: echo "{ global:" > .libs/libvlccore.ver
libtool: link:  cat ./libvlccore.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libvlccore.ver
libtool: link:  echo "local: *; };" >> .libs/libvlccore.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libvlccore_la-libvlc.o .libs/libvlccore_la-libvlc-module.o .libs/libvlccore_la-missing.o .libs/libvlccore_la-version.o interface/.libs/libvlccore_la-dialog.o interface/.libs/libvlccore_la-interface.o interface/.libs/libvlccore_la-intf_eject.o playlist/.libs/libvlccore_la-art.o playlist/.libs/libvlccore_la-thread.o playlist/.libs/libvlccore_la-control.o playlist/.libs/libvlccore_la-engine.o playlist/.libs/libvlccore_la-fetcher.o playlist/.libs/libvlccore_la-sort.o playlist/.libs/libvlccore_la-loadsave.o playlist/.libs/libvlccore_la-preparser.o playlist/.libs/libvlccore_la-tree.o playlist/.libs/libvlccore_la-item.o playlist/.libs/libvlccore_la-search.o playlist/.libs/libvlccore_la-services_discovery.o input/.libs/libvlccore_la-item.o input/.libs/libvlccore_la-access.o input/.libs/libvlccore_la-clock.o input/.libs/libvlccore_la-control.o input/.libs/libvlccore_la-decoder.o input/.libs/libvlccore_la-decoder_synchro.o input/.libs/libvlccore_la-demux.o input/.libs/libvlccore_la-es_out.o input/.libs/libvlccore_la-es_out_timeshift.o input/.libs/libvlccore_la-event.o input/.libs/libvlccore_la-input.o input/.libs/libvlccore_la-meta.o input/.libs/libvlccore_la-resource.o input/.libs/libvlccore_la-stream.o input/.libs/libvlccore_la-stream_demux.o input/.libs/libvlccore_la-stream_filter.o input/.libs/libvlccore_la-stream_memory.o input/.libs/libvlccore_la-subtitles.o input/.libs/libvlccore_la-var.o video_output/.libs/libvlccore_la-video_output.o video_output/.libs/libvlccore_la-vout_pictures.o video_output/.libs/libvlccore_la-video_text.o video_output/.libs/libvlccore_la-video_widgets.o video_output/.libs/libvlccore_la-vout_subpictures.o video_output/.libs/libvlccore_la-vout_intf.o audio_output/.libs/libvlccore_la-common.o audio_output/.libs/libvlccore_la-dec.o audio_output/.libs/libvlccore_la-filters.o audio_output/.libs/libvlccore_la-input.o audio_output/.libs/libvlccore_la-mixer.o audio_output/.libs/libvlccore_la-output.o audio_output/.libs/libvlccore_la-intf.o osd/.libs/libvlccore_la-osd.o osd/.libs/libvlccore_la-osd_text.o osd/.libs/libvlccore_la-osd_widgets.o network/.libs/libvlccore_la-acl.o network/.libs/libvlccore_la-getaddrinfo.o network/.libs/libvlccore_la-io.o network/.libs/libvlccore_la-tcp.o network/.libs/libvlccore_la-udp.o network/.libs/libvlccore_la-rootbind.o network/.libs/libvlccore_la-tls.o network/.libs/libvlccore_la-poll.o text/.libs/libvlccore_la-charset.o text/.libs/libvlccore_la-strings.o text/.libs/libvlccore_la-unicode.o text/.libs/libvlccore_la-filesystem.o text/.libs/libvlccore_la-wincp.o text/.libs/libvlccore_la-iso_lang.o misc/.libs/libvlccore_la-md5.o misc/.libs/libvlccore_la-rand.o misc/.libs/libvlccore_la-mtime.o misc/.libs/libvlccore_la-block.o misc/.libs/libvlccore_la-es_format.o modules/.libs/libvlccore_la-modules.o modules/.libs/libvlccore_la-cache.o modules/.libs/libvlccore_la-entry.o modules/.libs/libvlccore_la-os.o misc/.libs/libvlccore_la-threads.o misc/.libs/libvlccore_la-stats.o misc/.libs/libvlccore_la-cpu.o misc/.libs/libvlccore_la-action.o config/.libs/libvlccore_la-core.o config/.libs/libvlccore_la-dirs.o config/.libs/libvlccore_la-chain.o config/.libs/libvlccore_la-file.o config/.libs/libvlccore_la-intf.o config/.libs/libvlccore_la-cmdline.o misc/.libs/libvlccore_la-events.o misc/.libs/libvlccore_la-image.o misc/.libs/libvlccore_la-messages.o misc/.libs/libvlccore_la-objects.o misc/.libs/libvlccore_la-variables.o misc/.libs/libvlccore_la-error.o misc/.libs/libvlccore_la-update.o misc/.libs/libvlccore_la-xml.o misc/.libs/libvlccore_la-devices.o extras/.libs/libvlccore_la-libc.o misc/.libs/libvlccore_la-filter_chain.o misc/.libs/libvlccore_la-linux_specific.o stream_output/.libs/libvlccore_la-stream_output.o stream_output/.libs/libvlccore_la-announce.o stream_output/.libs/libvlccore_la-sap.o stream_output/.libs/libvlccore_la-sdp.o  -Wl,--whole-archive ../compat/.libs/libcompat.a -Wl,--no-whole-archive  /usr/lib64/libhal.so -L/usr/lib64 /usr/lib64/libdbus-1.so -lrt -lpthread -ldl -lm  -march=athlon64 -Wl,-O1   -Wl,-soname -Wl,libvlccore.so.2 -Wl,-version-script -Wl,.libs/libvlccore.ver -o .libs/libvlccore.so.2.1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:input/.libs/libvlccore_la-subtitles.o: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:input/.libs/libvlccore_la-subtitles.o:1: syntax error
collect2: ld returned 1 exit status
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/extern02/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/extern02/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/extern02/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/extern02/var/tmp/portage/media-video/vlc-1.0.2/work/vlc-1.0.2'
make: *** [all] Error 2
 * ERROR: media-video/vlc-1.0.2 failed:
 *   died running emake, base_src_work:make
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_compile
 *   environment, line 4019:  Called base_src_compile
 *   environment, line  682:  Called base_src_work 'make'
 *   environment, line  796:  Called die
 * The specific snippet of code:
 *                       emake || die "died running emake, $FUNCNAME:make";
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/extern02/var/tmp/portage/media-video/vlc-1.0.2/temp/build.log'.
 * The ebuild environment file is located at '/extern02/var/tmp/portage/media-video/vlc-1.0.2/temp/environment'.


*******************************************


emerge --info:

**********************************
System uname: Linux-2.6.31-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-gentoo-2.0.1
Timestamp of tree: Sun, 04 Oct 2009 08:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
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 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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 /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB de"
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/portage/local/own /usr/local/portage/layman/berkano /usr/local/portage/layman/portato /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/vmware"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups dbus dga dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="HDA NVidia" 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" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" USERLAND="GNU" VIDEO_CARDS="mga nv nvidia nvidia%"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
****************************************************

Comment 6 Luis Aranguren 2009-10-04 18:47:52 UTC
My temporary solution was to emerge vlc without the dts use flag. Actually I completely removed the dts flag from my system. 

In /etc/make.conf added USE="-dts ...". I will add the flag back once this bug is resolved.
Comment 7 Wormo (RETIRED) gentoo-dev 2009-10-09 06:38:01 UTC
I have seen this "file format not recognized; treating as linker script" error as symptom of ccache problems... can one of you guys please try repeating the libdca build with ccache turned off in make.conf?
Comment 8 Luis Aranguren 2009-10-09 16:40:57 UTC
Good call. 

Added dts back in /etc/make.conf as USE="dts ...". Did a "ccache -C" and then libdca and vlc compiled without any problems.
Comment 9 Bernd Butscheidt 2009-10-10 08:12:01 UTC
Confirmed.

VLC-1.0.2 installed this way.