Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272762 - media-video/transcode-1.1.2 and media-video/transcode-1.1.2-r1 fail to merge due to problems with finding ffmpeg/avformat.h and libavformat, and having similar problem with avcodec
Summary: media-video/transcode-1.1.2 and media-video/transcode-1.1.2-r1 fail to merge ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 12:23 UTC by Some stupid real name
Modified: 2009-06-18 20:31 UTC (History)
0 users

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


Attachments
config.log (config.log,111.95 KB, text/plain)
2009-06-05 14:26 UTC, Some stupid real name
Details
emerge -qpv ffmpeg transcode (emergeqpv,559 bytes, text/plain)
2009-06-05 14:28 UTC, Some stupid real name
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Some stupid real name 2009-06-05 12:23:51 UTC
During emerge of transcode, the configure script dies due to inability to find ffmpeg/avformat.h and thus being unable to link to libavformat, and it seems that it has similar trouble with avcodec as well.

Trying to re-emerge transcode-1.1.2 fails too, even though previously it worked fine, i.e. that is the existing version of transcode on the system. The only new USE flag added was USE="imagemagick".

Reproducible: Always

Steps to Reproduce:
1. Emerge transcode

Actual Results:  
Configure fails.

Expected Results:  
Clean compilation.

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29.2 x86_64)
=================================================================
System uname: Linux-2.6.29.2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.0.1
Timestamp of tree: Fri, 05 Jun 2009 10:00:17 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64 -mmmx -msse -msse2 -fomit-frame-pointer"
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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64 -mmmx -msse -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.llarian.net/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="pl 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl alsa amd64 async bash-completion berkdb bzip2 cdparanoia cleartype cli cracklib crypt cups cxx divx djvu dri dts dvd dvdread encode equalizer expat ffmpeg fftw fortran gdbm gpm gsl gtk heterogeneous iconv icu imagemagick imlib int64 isdnlog jpeg jpg latex midi mmx mmxext mng mp3 mpeg2 mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam patented pcre pdf perl plotutils png pnm povray pppd python qhull qt3 qt4 quicktime rar readline reflection rtc samba server session smp spl sqlite sse sse2 ssl svg swat sysfs tcpd threads tiff truetype umfpack unicode vim-syntax vorbis vtk webkit wma x264 xcomposite xorg xulrunner xvid zlib" ALSA_CARDS="hda_intel" 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 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" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-05 12:43:55 UTC
Does the problem vanish when you recompile media-video/ffmpeg?

If not, please attach the config.log file of the failed emerge to this bug and post the output of

  emerge -qpv ffmpeg transcode
Comment 2 Some stupid real name 2009-06-05 14:26:19 UTC
Created attachment 193634 [details]
config.log
Comment 3 Some stupid real name 2009-06-05 14:28:23 UTC
(In reply to comment #1)

The issue didn't vanish even though ffmpeg was recompiled multiple times. Actually, there is no directory /usr/include/ffmpeg/, and making one + filling it doesn't solve the issue.
Comment 4 Some stupid real name 2009-06-05 14:28:43 UTC
Created attachment 193635 [details]
emerge -qpv ffmpeg transcode
Comment 5 Rafał Mużyło 2009-06-05 17:27:43 UTC
@reporter: your diagnose is wrong.
Your real problem is that you've failed to run revdep-rebuild.
When transcode is running tests on ffmpeg libs,
they're failing, because of missing symbols from
media-libs/x264. The most probable cause is that the lib
got a major lib version bump and ffmpeg (and probably other
depending on it) was not rebuild afterwards.
Comment 6 Rafał Mużyło 2009-06-05 17:35:49 UTC
The most simple way to confirm that is
to look at ldd output for libavcodec.
Comment 7 Some stupid real name 2009-06-06 20:39:16 UTC
(In reply to comment #6)
revdep-rebuild actually helped. Turns out there are some more broken links. The issue though, is that I have never done anything weird to my portage and updated the tree with emerge --deep --newuse --update world, yet the problems arose. Thus, something is still "not quite right".
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-06 23:49:54 UTC
No, this is normal behaviour when you update libraries which change their .so version. You should run revdep-rebuild after updates anyway to check your system for broken libs/bins.
Comment 9 Ian Abbott 2009-06-18 10:55:44 UTC
It just means that sometimes you can't get through a whole emerge -DuN world without doing a revdep-rebuild in the middle. Unfortunate, but that's life I suppose!
Comment 10 Some stupid real name 2009-06-18 20:31:01 UTC
(In reply to comment #9)
OK, I will try to run revdep-rebuild before posting a bug next time. Would it be possible to add some suggestions about revdep-rebuild to the quick installation handbook?