Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501406 - media-plugins/gst-plugins-libav-1.2.0 - gstavcodecmap.c:30:38: fatal error: libavutil/channel_layout.h: No such file or directory
Summary: media-plugins/gst-plugins-libav-1.2.0 - gstavcodecmap.c:30:38: fatal error: l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 15:10 UTC by Allan Gottlieb
Modified: 2015-02-03 21:43 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,15.51 KB, text/plain)
2014-02-15 15:14 UTC, Allan Gottlieb
Details
build.log (file_501406.txt,29.11 KB, text/plain)
2014-02-15 16:57 UTC, Allan Gottlieb
Details
virtual/ffmpeg-9-r1.ebuild (ffmpeg-9-r1.ebuild,824 bytes, text/plain)
2014-04-07 19:48 UTC, Anthoine Bourgeois
Details
gst-plugins-libav-1.2.0-r1.ebuild.diff (gst-plugins-libav-1.2.0-r1.ebuild.diff,360 bytes, patch)
2014-04-07 19:50 UTC, Anthoine Bourgeois
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Gottlieb 2014-02-15 15:10:57 UTC
media-plugins/gst-plugins-libav-1.2.0 fails to build

gstavcodecmap.c:30:38: fatal error: libavutil/channel_layout.h: No such file or directory

Also configure gives a *strong* warning (see build.log attached)

Will attach emerge --info also
Comment 1 Allan Gottlieb 2014-02-15 15:14:47 UTC
Created attachment 370494 [details]
emerge --info
Comment 2 Allan Gottlieb 2014-02-15 15:27:18 UTC
Have tried to attach build.log several times.
Comment 3 Allan Gottlieb 2014-02-15 16:57:09 UTC
Created attachment 370502 [details]
build.log
Comment 4 Mart Raudsepp gentoo-dev 2014-03-04 04:59:34 UTC
What exact version of media-video/libav or media-video/ffmpeg do you have on your system?
Comment 5 Allan Gottlieb 2014-03-04 15:18:06 UTC
(In reply to Mart Raudsepp from comment #4)
> What exact version of media-video/libav or media-video/ffmpeg do you have on
> your system?

newlap-wireless gottlieb # eix -e media-video/libav
* media-video/libav
     Available versions:  0.8.7(0/0.8) ~0.8.8(0/0.8) ~0.8.9(0/0.8) [M]~0.8.9-r1(0/0.8) ~0.8.10(0/0.8) **0.8.9999(0/0.8) ~9.10(0/9) [M]~9.10-r1(0/9) ~9.11(0/9) **9.9999(0/9) [M]~10_alpha1(0/9) [M]~10_alpha1-r1(0/9) [M]~10_beta1(0/9) **9999(0/9)^t {(+)3dnow (+)3dnowext X aac alsa altivec amr avx bindist +bzip2 cdio cpudetection custom-cflags debug dirac doc +encode faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k (+)mmx (+)mmxext mp3 neon network openssl opus oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl (+)ssse3 static-libs test theora threads tools truetype v4l vaapi vdpau vis vorbis vpx x264 xvid +zlib ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Homepage:            http://libav.org/
     Description:         Complete solution to record, convert and stream audio and video.

newlap-wireless gottlieb # eix -e media-video/ffmpeg
[I] media-video/ffmpeg
     Available versions:  
     (0.10) ~0.10.11
     (0)    1.0.8 ~1.2.5 [M]~2.1.3(0/52.55.55) [M]**9999(0/52.55.55)
       {3dnow 3dnowext X aac aacplus alsa altivec amr amrenc armv5te armv6 armv6t2 armvfp avx avx2 bindist bluray +bzip2 cdio celt cpudetection debug dirac doc +encode examples faac fdk flite fma4 fontconfig frei0r gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k ladspa libass libcaca libsoxr libv4l mips32r2 mipsdspr1 mipsdspr2 mipsfpu mmx mmxext modplug mp3 neon +network openal opengl openssl opus oss pic pulseaudio quvi rtmp schroedinger sdl speex sse sse2 sse3 sse4 sse4_2 ssh ssse3 static-libs test theora threads truetype twolame v4l vaapi vdpau vis vorbis vpx wavpack x264 xvid +zlib zvbi ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32" FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +trasher"}
     Installed versions:  1.0.8(08:49:48 PM 02/15/2014)(X aac alsa bzip2 encode hardcoded-tables mmx mp3 network pulseaudio sdl truetype vorbis x264 xvid zlib -3dnow -3dnowext -aacplus -altivec -amr -avx -bindist -bluray -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libv4l -mmxext -modplug -neon -openal -openssl -opus -oss -pic -rtmp -schroedinger -speex -ssse3 -static-libs -test -theora -threads -twolame -v4l -vaapi -vdpau -vis -vpx FFTOOLS="aviocat cws2fws ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.
Comment 6 Anthoine Bourgeois 2014-03-29 23:52:36 UTC
Hi Allan,

I experience the same issue with media-video/ffmpeg-1.0.8 and I have to upgrade to 1.2.6 to resolve the missing channel_layout.h header. The header appears with ffmpeg-1.1 release.

gst-plugins-libav-1.2.0.ebuild depends on virtual/ffmpeg-9 that points to media-video/ffmpeg-1.0 who is not enough to get the header. I not sure if we should create a new ebuild of virtual/ffmpeg with a version >=media-video/ffmpeg-1.1 and upgrade gst-plugins-libav-1.2.0.ebuild according.
Comment 7 Allan Gottlieb 2014-03-31 15:22:37 UTC
(In reply to Anthoine Bourgeois from comment #6)
> Hi Allan,
> 
> I experience the same issue with media-video/ffmpeg-1.0.8 and I have to
> upgrade to 1.2.6 to resolve the missing channel_layout.h header. The header
> appears with ffmpeg-1.1 release.
> 
> gst-plugins-libav-1.2.0.ebuild depends on virtual/ffmpeg-9 that points to
> media-video/ffmpeg-1.0 who is not enough to get the header. I not sure if we
> should create a new ebuild of virtual/ffmpeg with a version
> >=media-video/ffmpeg-1.1 and upgrade gst-plugins-libav-1.2.0.ebuild
> according.

My system is stable and ffmpeg-1.2.6 is testing.  I know about package.accept_keywords, but presumably running a testing version should not be *required* in a stable system.  Should I fill a stabilization request?
Comment 8 Anthoine Bourgeois 2014-03-31 22:13:57 UTC
(In reply to Allan Gottlieb from comment #7)
> 
> My system is stable and ffmpeg-1.2.6 is testing.  I know about
> package.accept_keywords, but presumably running a testing version should not
> be *required* in a stable system.  Should I fill a stabilization request?

If your wish to keep a stable system, your probably should uninstall gst-plugins-libav-1.2.0 because is testing too. Why do you need it ?
Comment 9 Allan Gottlieb 2014-04-01 00:21:54 UTC
(In reply to Anthoine Bourgeois from comment #8)
> (In reply to Allan Gottlieb from comment #7)
> > 
> > My system is stable and ffmpeg-1.2.6 is testing.  I know about
> > package.accept_keywords, but presumably running a testing version should not
> > be *required* in a stable system.  Should I fill a stabilization request?
> 
> If your wish to keep a stable system, your probably should uninstall
> gst-plugins-libav-1.2.0 because is testing too. Why do you need it ?

Sorry.  I wasn't clear.  I am converting a formerly testing system to stable using the procedure described by bothwinck on gentoo-user.

I am, thanks to your observation, now successfully downgrading libav to stable
1.1.0_pre20130128-r1
Comment 10 Jonathan Geisler 2014-04-07 14:47:38 UTC
(In reply to Anthoine Bourgeois from comment #6)
> Hi Allan,
> 
> I experience the same issue with media-video/ffmpeg-1.0.8 and I have to
> upgrade to 1.2.6 to resolve the missing channel_layout.h header. The header
> appears with ffmpeg-1.1 release.
> 
> gst-plugins-libav-1.2.0.ebuild depends on virtual/ffmpeg-9 that points to
> media-video/ffmpeg-1.0 who is not enough to get the header. I not sure if we
> should create a new ebuild of virtual/ffmpeg with a version
> >=media-video/ffmpeg-1.1 and upgrade gst-plugins-libav-1.2.0.ebuild
> according.

This is key.  I hit this also when trying to test pitivi-0.93, which required gst-plugins-libav-1.2.0, but I didn't have the newer version of ffmpeg on my system.  I was running ffmpeg-1.0.8 and saw the same error, and was able to compile correctly when upgrading to ffmpeg-1.2.6 .  Some sort of build-time dependency needs to be upgraded on the ebuild.
Comment 11 Anthoine Bourgeois 2014-04-07 19:48:48 UTC
Created attachment 374506 [details]
virtual/ffmpeg-9-r1.ebuild

virtual/ffmpeg-9-r1.ebuild upgrade with media-video/ffmpeg-1.2 to get channel_layout.h
Comment 12 Anthoine Bourgeois 2014-04-07 19:50:41 UTC
Created attachment 374508 [details, diff]
gst-plugins-libav-1.2.0-r1.ebuild.diff

New virtual/ffmpeg dependency to get channel_layout.h needed in gst-plugins-libav-1.2 .
Comment 13 Pacho Ramos gentoo-dev 2015-02-03 21:43:08 UTC
It now deps on >=virtual/ffmpeg-9-r1 that forces the proper versions