Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340339 - media-video/ffmpeg-0.6_p25423 fails with libavformat/4xm.o: file not recognized: File truncated
Summary: media-video/ffmpeg-0.6_p25423 fails with libavformat/4xm.o: file not recogniz...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 12:48 UTC by Kamen Dokov
Modified: 2010-10-10 19:17 UTC (History)
0 users

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


Attachments
build.log (build.log,56.07 KB, text/plain)
2010-10-10 12:49 UTC, Kamen Dokov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamen Dokov 2010-10-10 12:48:49 UTC
Emerging media-video/ffmpeg-0.6_p25423 fails with libavformat/4xm.o: file not recognized: File truncated 

Reproducible: Always

Steps to Reproduce:
1.emerge media-video/ffmpeg
2.
3.

Actual Results:  
LD      libavformat/libavformat.so.52
libavformat/4xm.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libavformat/libavformat.so.52] Error 1
make: *** Waiting for unfinished jobs....
emake failed


Expected Results:  
To merge ffmpeg without problems

emerge --info =media-video/ffmpeg-0.6_p25423
Portage 2.2_rc91 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Sun, 10 Oct 2010 08:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo repo_name-seti
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.telnet.bg/  http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG.UTF-8"                                                                                                                                             
LC_ALL="bg_BG.UTF-8"                                                                                                                                           
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"                                                                                                       
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/"                                                                                                                                     
PORTDIR="/usr/portage"                                                                                                                                         
PORTDIR_OVERLAY="/usr/local/portage"                                                                                                                           
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                 
USE="3dnow 3dnowext X acl acpi alsa amd64 bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exceptions fam fortran gcj gdbm gif gpm gtk hal handbook html iconv ipv6 isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sse sse2 sse3 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv =media-video/ffmpeg-0.6_p25423
[ebuild     U ] media-video/ffmpeg-0.6_p25423 [0.6] USE="3dnow 3dnowext X alsa amr bzip2%* dirac encode faac frei0r%* gsm ieee1394 jpeg2k* mmx mmxext mp3 network oss pic* qt-faststart%* rtmp* schroedinger sdl speex ssse3 theora threads v4l v4l2 vaapi vdpau vorbis vpx x264 xvid zlib (-altivec) -bindist -cpudetection -custom-cflags -debug -doc -hardcoded-tables -jack -static-libs% -test (-faad%*)" VIDEO_CARDS="nvidia"
Comment 1 Kamen Dokov 2010-10-10 12:49:54 UTC
Created attachment 250107 [details]
build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-10 18:02:52 UTC
Disable ccache and try again.
Comment 3 Kamen Dokov 2010-10-10 19:17:09 UTC
*Sigh*
You are correct '-ccache' solved the problem :)
Thank you!