Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507474 - media-libs/xine-lib-1.2.5: broken ffmpeg and libpostproc dependencies (was: configure failure: libavformat support requested, but library not found)
Summary: media-libs/xine-lib-1.2.5: broken ffmpeg and libpostproc dependencies (was: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 06:59 UTC by Ulrich Müller
Modified: 2014-04-13 10:29 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,20.28 KB, text/plain)
2014-04-12 06:59 UTC, Ulrich Müller
Details
config.log (config.log,204.64 KB, text/plain)
2014-04-12 07:00 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2014-04-12 06:59:33 UTC
Created attachment 374796 [details]
build.log

checking for DVDREAD... yes
checking for DVDNAV... yes
checking for AVFORMAT... no
configure: error: libavformat support requested, but library not found

xine-lib-1.2.4 builds fine.


$ emerge --info xine-lib
Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.19, 3.13.7-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.7-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6570_@_2.10GHz-with-gentoo-2.2
KiB Mem:     3975100 total,    862652 free
KiB Swap:    8388572 total,   8006364 free
Timestamp of tree: Sat, 12 Apr 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          3.2_p51, 4.2_p46-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo emacs ulm local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -ggdb -O2 -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/dconf /etc/env.d /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"
CXXFLAGS="-march=core2 -ggdb -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://gentoo.osuosl.org/"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-6"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/repo/portage"
PORTDIR_OVERLAY="/repo/layman/emacs /repo/layman/ulm-local /repo/local"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr ansi audiofile bash-completion bbdb berkdb bluetooth branding bzip2 cairo caps cdda cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus directfb dri dts dvd dvdr elisp emacs emboss emerald encode exif expat fam fbcon ffmpeg filecaps firefox flac fontconfig fortran gd gdbm ggi gif gimp glitz glut gmp gnuplot gpg gpm gsl gtk gtkhtml guile iconv idea ieee1394 imagemagick imap inotify ipv6 java jbig jpeg kpathsea latex lcms libcaca libnotify logrotate lua lzma mad math metric mmx mng modules motif mp3 mp4 mpeg mule multilib ncurses networking nls nocd nptl nscd nsplugin offensive ogg opengl openmp pam pango pcmcia pcre pdf pkcs11 plotutils png policykit portage portaudio postgres ppds preview-latex qa qt3support qt4 readline recode regex ruby sbcl sdl session skey smp sox spell sse sse2 ssl startup-notification svg t1lib tcpd tex tiff truetype udev udisks unicode upower usb userlocales vorbis wifi wxwidgets wxwindows x264 xattr xcb xft xml xpm xulrunner xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-libs/xine-lib-1.2.4 was built with the following:
USE="X a52 aac aalib alsa css directfb dts fbcon flac gtk imagemagick ipv6 jpeg libcaca mad mmap mng nls opengl sdl truetype vorbis xcb xv xvmc (-altivec) -bluray -dvb -dxr3 -fusion -jack -modplug -musepack -oss -pulseaudio -samba -speex -theora -v4l -vaapi -vcd -vdpau -vdr (-vidix) (-vis) -wavpack -xinerama"
Comment 1 Ulrich Müller gentoo-dev 2014-04-12 07:00:15 UTC
Created attachment 374798 [details]
config.log
Comment 2 Andreas Schäfer 2014-04-12 07:15:16 UTC
Yeah, I get the same error. :-/
Comment 3 Ulrich Müller gentoo-dev 2014-04-12 07:25:16 UTC
Relevant lines from config.log:

configure:27516: checking for AVFORMAT
configure:27524: $PKG_CONFIG --exists --print-errors "libavformat >= 55.19.0"
Requested 'libavformat >= 55.19.0' but version of libavformat is 54.63.104

$ qfile -v /usr/lib/pkgconfig/libavformat.pc
media-video/ffmpeg-1.2.6 (/usr/lib64/pkgconfig/libavformat.pc)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-12 09:11:06 UTC
Yeah that's my fault. I am working on it.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-12 09:39:58 UTC
+  12 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> xine-lib-1.2.5.ebuild,
+  metadata.xml:
+  avformat requires >=ffmpeg-2.2 (bug #507474).
+

I've hidden avformat behind a USE flag which is masked until >=ffmpeg-2.2 got unmasked.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-04-13 03:02:29 UTC
diff from 1.2.4 to 1.2.5 shows:

-	|| ( media-video/ffmpeg:0 media-libs/libpostproc <media-video/libav-0.8.2-r1 )
+	avformat? ( >=media-video/ffmpeg-2.2:0 )
+	!avformat? ( || ( media-video/ffmpeg:0 media-libs/libpostproc media-video/libav ) )

whereas this particular || ( ) block was *only* for libpostproc dependency, and the <media-video/libav-0.8.2-r1 was ensuring a libav version that still bundles libpostproc, and if such version is no longer in Portage anymore, the purpose was to adjust the libpostproc block to:

|| ( media-video/ffmpeg:0 media-libs/libpostproc )



this has nothing to do with this bug, for which lower dependency in the ebuild should have been adjusted:

virtual/ffmpeg

reopen, as ffmpeg deps are screwed by commit from this bug
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-13 09:14:34 UTC
+  13 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> xine-lib-1.2.5.ebuild:
+  Fixed dependency for packages that provide libpostproc (bug #507474).
+
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2014-04-13 10:23:40 UTC
So, if USE="avformat" is enabled for media-video/ffmpeg, then libpostproc is no longer required? That's what the ebuild implies now.
That doesn't seem right as postproc and avformat are different flags, different libraries, and postproc isn't even optional, but always required...
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2014-04-13 10:28:20 UTC
1.2.5 now has...

	avformat? ( >=media-video/ffmpeg-2.2:0 )
	!avformat? ( || ( media-video/ffmpeg:0 media-libs/libpostproc ) )
	virtual/ffmpeg

should have...

	avformat? ( >=media-video/ffmpeg-2.2:0 )
	|| ( media-video/ffmpeg:0 media-libs/libpostproc )
	virtual/ffmpeg
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2014-04-13 10:29:20 UTC
oh well, i guess it's pretty minor... i'll adjust it myself if needed, sorry for noise