Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225311 - ffmpeg does not build on amd64 machine
Summary: ffmpeg does not build on amd64 machine
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-08 08:47 UTC by Thomas Stein
Modified: 2008-06-09 14:37 UTC (History)
0 users

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


Attachments
complete build.log (build.log,579.44 KB, text/plain)
2008-06-08 08:48 UTC, Thomas Stein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2008-06-08 08:47:59 UTC
I get the following error:

x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libswscale.so.0 -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/work/ffmpeg"/libavcodec -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/work/ffmpeg"/libavformat -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/work/ffmpeg"/libavutil -Wl,-Bsymbolic -o libswscale.so.0 rgb2rgb.o swscale.o yuv2rgb.o -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/work/ffmpeg"/libavutil -lavutil -lz -lm    -ldl
ln -sf libswscale.so.0 libswscale.so
make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/work/ffmpeg/libswscale'
 *
 * ERROR: media-video/ffmpeg-0.4.9_p20080206 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2468:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make 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-video/ffmpeg-0.4.9_p20080206/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080206/temp/environment'.

Reproducible: Always




emerge --info

System uname: 2.6.24 x86_64 AMD Phenom(tm) 9750 Quad-Core Processor
Timestamp of tree: Tue, 27 May 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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/layman/voip /usr/portage/local/layman/kdesvn-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb cli cracklib crypt cups dri fortran gdbm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="ice1724" 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="hfcmulti hfcpci" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Stein 2008-06-08 08:48:44 UTC
Created attachment 155893 [details]
complete build.log
Comment 2 Thomas Stein 2008-06-08 09:46:34 UTC
Hm. Works now. I had a rather old imlib package installed. I noticed that while compiling ffmpeg from svn. 

[ebuild     U ] media-libs/imlib2-1.4.1.000 [1.1.0.20040201] USE="nls zlib%* -X* -bzip2% -doc -gif* -jpeg* (-mmx) -mp3% -png* -tiff (-static%)" 841 kB

Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-06-09 14:37:31 UTC
Try to keep your system up to date. Closing as it works for you now.