| Summary: | media-libs/xine-lib-1.2.5: broken ffmpeg and libpostproc dependencies (was: configure failure: libavformat support requested, but library not found) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
| Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bertrand, gentryx, polynomial-c |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
config.log |
||
|
Description
Ulrich Müller
2014-04-12 06:59:33 UTC
Created attachment 374798 [details]
config.log
Yeah, I get the same error. :-/ 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) Yeah that's my fault. I am working on it. + 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. 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 + 13 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> xine-lib-1.2.5.ebuild: + Fixed dependency for packages that provide libpostproc (bug #507474). + 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... 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 oh well, i guess it's pretty minor... i'll adjust it myself if needed, sorry for noise |