system info emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8_v04 i686) ================================================================= System uname: 2.6.22-gentoo-r8_v04 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Timestamp of tree: Mon, 07 Jan 2008 07:47:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo " LANG="en_US.UTF-8" LINGUAS="en_GB en_US en ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi alsa amr arts berkdb bitmap-fonts cairo cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus dri dvb dvd dvdr dvdread eds emboss enca encode esd evo fam fbcon firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg jpeg2k ldap libcaca logrotate lzo mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real reflection sdl session speex spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1 type1-fonts unicode v4l v4l2 vorbis win32codecs x264 x86 xanim xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: emerge -a transcode These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-video/transcode-1.0.4 [1.0.3] USE="oss%* sse2*" Actual Results: ERROR: requirement failed: cannot link against libavcodec libavcodec can be found in the following packages: FFMpeg http://www.ffmpeg.org/ Please see the INSTALL file in the top directory of the transcode sources for more information about building transcode with this configure script. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/media-video/transcode-1.0.4/work/transcode-1.0.4/config.log * * ERROR: media-video/transcode-1.0.4 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * transcode-1.0.4.ebuild, line 108: Called econf '--with-default-xvid=xvid4' '--enable-mmx' '--enable-sse' '--enable-sse2' '--disable-3dnow' '--disable-altivec' '--disable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-ogg' '--enable-oss' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--disable-libdv' '--enable-libquicktime' '--enable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2' '--disable-mjpegtools' '--enable-sdl' '--disable-libfame' '--disable-imagemagick' '--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib/transcode' '--with-libpostproc-builddir=/usr/lib' '--disable-avifile' '--disable-xio' * ebuild.sh, line 638: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf 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/transcode-1.0.4/temp/build.log'. * * Messages for package media-video/transcode-1.0.4: * * ERROR: media-video/transcode-1.0.4 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * transcode-1.0.4.ebuild, line 108: Called econf '--with-default-xvid=xvid4' '--enable-mmx' '--enable-sse' '--enable-sse2' '--disable-3dnow' '--disable-altivec' '--disable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-ogg' '--enable-oss' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--disable-libdv' '--enable-libquicktime' '--enable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2' '--disable-mjpegtools' '--enable-sdl' '--disable-libfame' '--disable-imagemagick' '--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib/transcode' '--with-libpostproc-builddir=/usr/lib' '--disable-avifile' '--disable-xio' * ebuild.sh, line 638: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf 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/transcode-1.0.4/temp/build.log'.
Created attachment 140481 [details] /var/tmp/portage/media-video/transcode-1.0.4/temp/build.log
Alexey, I have pretty similar conf: Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) [cut] CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fexpensive-optimizations" CHOST="i686-pc-linux-gnu" [cut] ...and media-video/transcode-1.0.4 works FINE for me: [cut] ---------------------------------------- Summary for transcode 1.0.4: ---------------------------------------- [cut] libavcodec ---------------------------------------- headers -I/usr/include libraries -L/usr/lib -lavcodec -lm -lz -lpthread build 3352580 version 51.40.4 statically linked no [and compile is going] [cut] Please make sure you've run: a. etc-update b. revdep-rebuild
> !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! /var/tmp/portage/media-video/transcode-1.0.4/work/transcode-1.0.4/config.log Just do it...
Created attachment 140594 [details] config.log I believe I have the same problem. I think this is the relevant part of config.log: configure:27631: result: default configure:27657: checking for avcodec_thread_init in -lavcodec configure:27692: x86_64-pc-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon64 -DDCT_YUV_PRECISION=1 -L/usr/lib conftest.c -lavcodec -lm -lz -lpthread -lm -lz -ldl >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libx264.so.54, needed by /usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link) thang ~ # locate libx264.so /usr/lib64/libx264.so.56 /usr/lib64/debug/usr/lib64/libx264.so.56.debug /usr/lib64/libx264.so thang ~ # qfile /usr/lib64/libx264.so.56 media-libs/x264-svn (/usr/lib64/libx264.so.56) thang ~ # eix -Ic x264 [I] media-libs/x264-svn (20070924@01/03/08): A free library for encoding X264/AVC streams. Based on this, I reinstalled ffmpeg, and then the install went smoothly. revdep-rebuild (or similar) probably would have caught this?
(In reply to comment #4) > revdep-rebuild (or similar) probably would have caught this? Yeah sure...
*** This bug has been marked as a duplicate of bug 194132 ***
Thanks folks. my mistake.Should have done revdep-rebuild in the first place.