Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385857

Summary: media-video/transcode-1.1.5 fails compiling with ffmpeg 0.7.5
Product: Gentoo Linux Reporter: Andrea <maialovic>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WORKSFORME    
Severity: normal CC: remy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete transcode-1.1.5 build.log with compilation error

Description Andrea 2011-10-06 12:33:09 UTC
yesterday i've sync-ed my portage tree and start to upgrade packages.
but just when try to upgrade transcode-1.1.5 it's fail to build.
the situation don't change with early sync

Reproducible: Always

Steps to Reproduce:
1.synked portage tree
2.emerge -uvDN world --with-bdeps=y
3.fail compile transcode
Actual Results:  
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc   -I/usr/include/libxml2   -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe  -Wl,-O1 -Wl,--as-needed -o tcxmlcheck tcxmlcheck-tcxmlcheck.o tcxmlcheck-fileinfo.o tcxmlcheck-ioaux.o tcxmlcheck-ioxml.o tcxmlcheck-probe_xml.o   -lxml2   ../aclib/libac.la ../libtc/libtc.la -lm -lm -lz -ldl 
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe  -Wl,-O1 -Wl,--as-needed -o tcxpm2rgb tcxpm2rgb-tcxpm2rgb.o ../libtc/libtc.la -lm -lz -ldl 
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tccat tccat-tccat.o tccat-dvd_reader.o tccat-extract_avi.o tccat-fileinfo.o tccat-ioaux.o tccat-ioxml.o tccat-ts_reader.o  -Wl,--as-needed ../avilib/.libs/libavi.a -L/usr/lib /usr/lib64/libdvdread.so /usr/lib64/libxml2.so ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcdemux tcdemux-aux_pes.o tcdemux-tcdemux.o tcdemux-demux_pass.o tcdemux-demuxer.o tcdemux-dvd_reader.o tcdemux-fileinfo.o tcdemux-ioaux.o tcdemux-packets.o tcdemux-scan_pack.o tcdemux-seqinfo.o  -Wl,--as-needed ../avilib/.libs/libavi.a -L/usr/lib /usr/lib64/libdvdread.so ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lpthread -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include -I/usr/include/mpeg2dec -I/usr/include/mpeg2dec -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcdecode tcdecode-tcdecode.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-mpg123.o tcdecode-decode_a52.o tcdecode-decode_dv.o tcdecode-decode_lavc.o tcdecode-decode_lzo.o tcdecode-decode_mov.o tcdecode-decode_mp3.o tcdecode-decode_mpeg2.o tcdecode-decode_ogg.o tcdecode-decode_yuv.o -Wl,--export-dynamic  -Wl,--as-needed -L/usr/lib -lmp3lame /usr/lib64/libmpeg2.so /usr/lib64/libmpeg2convert.so -lvorbis -logg -lvorbisfile ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
tcdecode-decode_lavc.o: In function `decode_lavc':
decode_lavc.c:(.text+0x30): undefined reference to `avcodec_init'
decode_lavc.c:(.text+0x35): undefined reference to `avcodec_register_all'
decode_lavc.c:(.text+0xbd): undefined reference to `avcodec_find_decoder'
decode_lavc.c:(.text+0xce): undefined reference to `avcodec_alloc_context'
decode_lavc.c:(.text+0x10b): undefined reference to `avcodec_open'
decode_lavc.c:(.text+0x23d): undefined reference to `av_init_packet'
decode_lavc.c:(.text+0x265): undefined reference to `avcodec_decode_video2'
decode_lavc.c:(.text+0x352): undefined reference to `avcodec_find_decoder'
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Errore 1
make[3]: *** Attesa dei processi non terminati....
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcxpm2rgb tcxpm2rgb-tcxpm2rgb.o  -Wl,--as-needed ../libtc/.libs/libtc.a -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcscan tcscan-tcscan.o tcscan-ac3scan.o tcscan-aux_pes.o tcscan-fileinfo.o tcscan-ioaux.o tcscan-mpg123.o tcscan-scan_pes.o  -Wl,--as-needed ../avilib/.libs/libavi.a -L/usr/lib -lmp3lame ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcextract tcextract-tcextract.o tcextract-aux_pes.o tcextract-fileinfo.o tcextract-ioaux.o tcextract-extract_ac3.o tcextract-extract_avi.o tcextract-extract_dv.o tcextract-extract_lzo.o tcextract-extract_mp3.o tcextract-extract_mpeg2.o tcextract-extract_mxf.o tcextract-extract_ogm.o tcextract-extract_pcm.o tcextract-extract_rgb.o tcextract-extract_yuv.o  -Wl,--as-needed ../avilib/.libs/libavi.a ../avilib/.libs/libwav.a -lvorbis -logg ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcxmlcheck tcxmlcheck-tcxmlcheck.o tcxmlcheck-fileinfo.o tcxmlcheck-ioaux.o tcxmlcheck-ioxml.o tcxmlcheck-probe_xml.o  -Wl,--as-needed /usr/lib64/libxml2.so ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -Dattribute_deprecated= -I/usr/include -I/usr/include -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -O3 -pipe -Wl,-O1 -o tcprobe tcprobe-tcprobe.o tcprobe-ac3scan.o tcprobe-aux_pes.o tcprobe-dvd_reader.o tcprobe-fileinfo.o tcprobe-ioaux.o tcprobe-ioxml.o tcprobe-mpg123.o tcprobe-scan_pes.o tcprobe-decode_dv.o tcprobe-extract_avi.o tcprobe-extract_mxf.o tcprobe-extract_yuv.o tcprobe-probe_bktr.o tcprobe-probe_bsdav.o tcprobe-probe_dvd.o tcprobe-probe_im.o tcprobe-probe_mov.o tcprobe-probe_nuv.o tcprobe-probe_ogg.o tcprobe-probe_oss.o tcprobe-probe_pv3.o tcprobe-probe_stream.o tcprobe-probe_sunau.o tcprobe-probe_v4l.o tcprobe-probe_vnc.o tcprobe-probe_wav.o tcprobe-probe_xml.o tcprobe-probe_mplayer.o tcprobe-probe_ffmpeg.o tcprobe-probe_x11.o tcprobe-x11source.o tcprobe-probe_pvn.o  -Wl,--as-needed ../avilib/.libs/libavi.a ../avilib/.libs/libwav.a -L/usr/lib /usr/lib64/libdvdread.so -lmp3lame -lvorbis -logg /usr/lib64/libxml2.so -lSM -lICE -lXext -lX11 ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl
tcprobe-probe_ffmpeg.o: In function `probe_ffmpeg':
probe_ffmpeg.c:(.text+0x25): undefined reference to `avcodec_init'
probe_ffmpeg.c:(.text+0x2a): undefined reference to `avcodec_register_all'
probe_ffmpeg.c:(.text+0x47): undefined reference to `av_open_input_file'
probe_ffmpeg.c:(.text+0x58): undefined reference to `av_find_stream_info'
probe_ffmpeg.c:(.text+0x15c): undefined reference to `av_close_input_file'
collect2: ld returned 1 exit status
make[3]: *** [tcprobe] Errore 1
mv -f .deps/tcrequant-tcrequant.Tpo .deps/tcrequant-tcrequant.Po
make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r2/work/transcode-1.1.5/import'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r2/work/transcode-1.1.5/import'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.5-r2/work/transcode-1.1.5'
make: *** [all] Errore 2
emake failed
 [31;01m*[0m ERROR: media-video/transcode-1.1.5-r2 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m          ebuild.sh, line   91:  Called src_compile
 [31;01m*[0m        environment, line 3162:  Called _eapi2_src_compile
 [31;01m*[0m   phase-helpers.sh, line  562:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m 

Expected Results:  
fixing bug

emerge --info
Portage 2.1.10.22 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 06 Oct 2011 11:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2                                                                                                                                                                
Repositories: gentoo games dotnet java-overlay gamerlay-stable                                                                                                                                  
ACCEPT_KEYWORDS="amd64"                                                                                                                                                                         
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1 PUEL dlj-1.1 googleearth google-talkplugin openssl"                                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                    
CFLAGS="-march=native -O3 -pipe"                                                                                                                                                                
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j9"
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/games /var/lib/layman/dotnet /var/lib/layman/java-overlay /var/lib/layman/gamerlay"
SYNC="rsync://rsync11.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jack java jpeg jpeg2k kde kipi lame lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd private-headers qt3support qt4 readline sdl semantic-desktop session sndfile spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb v4l2 vorbis wavpack x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hdsp" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2011-10-06 17:57:07 UTC
Full build log seems to be required.

It seems ffmpeg isn't correctly detected.
Comment 2 Andrea 2011-10-06 18:30:46 UTC
Created attachment 289013 [details]
complete transcode-1.1.5 build.log with compilation error
Comment 3 Rafał Mużyło 2011-10-06 23:06:02 UTC
OK, first which version of ffmpeg is installed ?
Second, it claims to be checking via pkg-config, so what does 'pkg-config --libs libavcodec' return ?
Comment 4 Andrea 2011-10-07 17:00:56 UTC
(In reply to comment #3)
> OK, first which version of ffmpeg is installed ?
> Second, it claims to be checking via pkg-config, so what does 'pkg-config
> --libs libavcodec' return ?

this bug show up with ffmpeg 0.7.5. 
with 0.7.6 I try and don't appears.
Comment 5 H. Peter Pfeufer 2011-10-23 15:20:09 UTC
I had the same problem with ffmpeg 0.7.6
After re-emerging ffmpeg it works.
Comment 6 Alexis Ballier gentoo-dev 2011-11-22 17:07:39 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > OK, first which version of ffmpeg is installed ?
> > Second, it claims to be checking via pkg-config, so what does 'pkg-config
> > --libs libavcodec' return ?
> 
> this bug show up with ffmpeg 0.7.5. 
> with 0.7.6 I try and don't appears.

closing then
(never seen that issue)