Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491096 - =media-video/handbrake-0.9.9[-ffmpeg] can't find libavutil/channel_layout.h
Summary: =media-video/handbrake-0.9.9[-ffmpeg] can't find libavutil/channel_layout.h
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-12 15:59 UTC by Fabio Bonfante
Modified: 2013-11-22 17:17 UTC (History)
1 user (show)

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


Attachments
build log (media-video:handbrake-0.9.9:20131112-151917.log,15.59 KB, text/x-log)
2013-11-12 15:59 UTC, Fabio Bonfante
Details
emerge --info (emerge.info,6.39 KB, application/x-info)
2013-11-13 11:42 UTC, Fabio Bonfante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Bonfante 2013-11-12 15:59:51 UTC
Created attachment 363128 [details]
build log

* currently installed media-video/ffmpeg-1.0.7
* emerging handbrake portage try to install libav (because the intalled ffmpeg not satisfies the dependency)
* the ffmpeg description for media-video/handbrake-0.9.9 say:
ffmpeg: Use FFmpeg from media-video/ffmpeg to decode MPEG-2 instead of media-plugins/gst-plugins-mpeg2dec.
* disabling this use flag allow me to start emerging handbrake with the wrong version of ffmpeg (then it fails as shown in the log)

So it seems that the ffmpeg/libav librarie are optional and not (mutually exclusives) mandatory. It's a little bit confusing for the user.
Thanks in advance.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-12 23:07:17 UTC
> tac: write error
> >>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Skipping checksum index updating...

What's this at the top of the build log?

> checking for suffix of executables... In file included from ../libhb/internal.h:10:0,

Eh, why would it fail ffmpeg at this point; odd.

Can I see the config.log file too for details?
Comment 2 Fabio Bonfante 2013-11-13 11:42:17 UTC
Created attachment 363190 [details]
emerge --info
Comment 3 Fabio Bonfante 2013-11-13 11:44:27 UTC
The things at top "tac: write error" is this is related to this:
http://forums.gentoo.org/viewtopic-t-316739-highlight-.html
(I've to submit another bug... anyway it's not affect in any way the builds)

The builds then fail because the installed media-video/ffmpeg-1.0.7. After upgrading to 1.2.4 (or using libav) handbrake emerge without problems.

I've attached the emerge --info, but config.log?
Thanks in advance
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-22 17:17:37 UTC
(In reply to Fabio Bonfante from comment #3)
> The builds then fail because the installed media-video/ffmpeg-1.0.7. After
> upgrading to 1.2.4 (or using libav) handbrake emerge without problems.

The ebuild correctly specifies:

    ffmpeg? ( || ( >=media-video/libav-9:= >=media-video/ffmpeg-1.2.1:0= ) )

So, your system somehow got into an incorrect state or ignored dependencies.

Glad to see an upgrade of ffmpeg resolves it!