Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334293 - media-video/transcode-1.1.5-r1 - tcdecode-decode_lavc.o: In function `decode_lavc': decode_lavc.c:(.text+0x36): undefined reference to `avcodec_init'
Summary: media-video/transcode-1.1.5-r1 - tcdecode-decode_lavc.o: In function `decode_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 354159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-24 14:10 UTC by FoX
Modified: 2011-12-06 07:56 UTC (History)
2 users (show)

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


Attachments
build.log of failed transcode 1.1.5-r1 emerge (build.log,371.69 KB, text/plain)
2010-08-29 11:29 UTC, Jens Pranaitis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FoX 2010-08-24 14:10:47 UTC
Failed to emerge media-video/transcode-1.1.5-r1



build.log (End)

tcdecode-decode_lavc.o: In function `decode_lavc':
decode_lavc.c:(.text+0x36): undefined reference to `avcodec_init'
decode_lavc.c:(.text+0x3b): undefined reference to `avcodec_register_all'
decode_lavc.c:(.text+0xbf): undefined reference to `avcodec_find_decoder'
decode_lavc.c:(.text+0xce): undefined reference to `avcodec_alloc_context'
decode_lavc.c:(.text+0x114): undefined reference to `avcodec_open'
decode_lavc.c:(.text+0x2b7): undefined reference to `avcodec_decode_video'
decode_lavc.c:(.text+0x3c0): undefined reference to `avcodec_find_decoder'
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r1/work/transcode-1.1.5/import'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r1/work/transcode-1.1.5/import'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r1/work/transcode-1.1.5'
make: *** [all] Ошибка 2
 * ERROR: media-video/transcode-1.1.5-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3194:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-video/transcode-1.1.5-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/transcode-1.1.5-r1'.
 * The complete build log is located at '/var/tmp/portage/media-video/transcode-1.1.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/transcode-1.1.5-r1/temp/environment'.
 * S: '/var/tmp/portage/media-video/transcode-1.1.5-r1/work/transcode-1.1.5'

>>> Failed to emerge media-video/transcode-1.1.5-r1, Log file:

>>>  '/var/tmp/portage/media-video/transcode-1.1.5-r1/temp/build.log'

 * Messages for package media-video/transcode-1.1.5-r1:

 * ERROR: media-video/transcode-1.1.5-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3194:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-video/transcode-1.1.5-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/transcode-1.1.5-r1'.
 * The complete build log is located at '/var/tmp/portage/media-video/transcode-1.1.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/transcode-1.1.5-r1/temp/environment'.
 * S: '/var/tmp/portage/media-video/transcode-1.1.5-r1/work/transcode-1.1.5'


# emerge --info

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 21 Aug 2010 14:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.5.4-r2, 2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7z X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran gdbm gif gpm gtk hal iconv jpeg kde lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 rar readline reflection samba sdl session spell spl sql ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit x264 x86 xcb xml xorg xulrunner xv xvid zip 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 cgi cgid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 16:59:57 UTC
Please attach the entire build log. Also, post which version of media-video/ffmpeg you have.
Comment 2 Jens Pranaitis 2010-08-29 11:29:21 UTC
Created attachment 245208 [details]
build.log of failed transcode 1.1.5-r1 emerge
Comment 3 Jens Pranaitis 2010-08-29 11:30:18 UTC
I have the same issue on Hardened Gentoo here's my emerge --info:

Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-hardened-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-hardened-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 29 Aug 2010 09:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/media/wd_ext/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-hash-style=gnu"
LINGUAS="en en_US"
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"
Comment 4 Jens Pranaitis 2010-08-29 11:31:14 UTC
paste fail, sorry about that:

Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-hardened-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-hardened-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 29 Aug 2010 09:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/media/wd_ext/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-hash-style=gnu"
LINGUAS="en en_US"
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="/var/lib/layman/pentoo /var/lib/layman/jensp /var/lib/layman/hardened-development /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aacs acl acpi adns afs aim aio akonadi alsa amazon amd64 amr ao apm asf ass assistant async audio audit authfile autoipd avahi ayatana bash-completion berkdb bluetooth bonjour bzip2 caps ccache cdda cddb cdparanoia cgi chm cleartype cli clucene connection-sharing consolekit cracklib crypt css cups curl cxx dbus dell device-mapper dhcp dhcpcd dirac djvu dri dvd ebook emovix encode exif expat faac faad fam fastcgi fbcon fbcondecor ffmpeg filter firefox3 flac fontconfig ftp gcdmaster gd gdbm geoip gif git glitz gmp gnutls gpm gps grsec gsm gstreamer gtk gui hal hardened iceweasel iconv icq icu imagemagick imap injection inotify ipod iproute2 ipv6 jabber jpeg justify kate kde kipi kvm lame laptop lastfm libcaca libnl libnotify libssh2 lzma mad matroska mdnsresponder-compat melt metric mjpeg mmx modules mozdevelop mp2 mp3 mp3tunes mp4 mpeg mtp mudflap multilib multimedia musicbrainz mysql ncurses network networkmanager nls nokia nptl nptlonly nsplugin nspluginwrapper ntfs ntp offensive ogg opencl opengl openmp openssl oscar otr pam pcre perl phonon php pic plasma pm-utils png policykit portaudio pppd python qemu qt3support qt4 quicktime quota quotas rar raster raw rdp readline reflection resolvconf restrict-javascript rss runtime-injection samba schroedinger sdl semantic-desktop session sha512 silc socks5 speex spell spl sql sse sse2 sse3 sse4 ssh ssl ssse3 startup-notification subversion svg symlink sysfs syslog taglib tcpd templates theora threads threadsafe tiff truetype udev unicode urandom v4l v4l2 vcd vcdx vde vim vim-syntax vnc vorbis wav wavpack webdav webkit wifi wma wma-fixed wps x264 xattr xcb xcomposite xine xinerama xml xorg xv zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-12-06 07:53:12 UTC
(In reply to comment #1)
> Please attach the entire build log. Also, post which version of
> media-video/ffmpeg you have.

I don't see reply to this question in this bug yet. Also, 1.1.7 is building fine here with ffmpeg-0.8.7.

Please try with 1.1.7 and up to date system. Reopen if this is still a problem with the requested data.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-12-06 07:56:26 UTC
*** Bug 354159 has been marked as a duplicate of this bug. ***