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
Created attachment 370494 [details] emerge --info
Have tried to attach build.log several times.
Created attachment 370502 [details] build.log
What exact version of media-video/libav or media-video/ffmpeg do you have on your system?
(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.
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.
(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?
(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 ?
(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
(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.
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
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 .
It now deps on >=virtual/ffmpeg-9-r1 that forces the proper versions