When building media-libs/libquicktime-1.2.4-r1 against media-video/libav-12, the build fails with many errors such as: > /var/tmp/portage/media-libs/libquicktime-1.2.4-r1/work/libquicktime-1.2.4/plugins/ffmpeg/video.c:95:20: error: field 'reinterpret_pix_fmt' has incomplete type > enum PixelFormat reinterpret_pix_fmt; > ^~~~~~~~~~~~~~~~~~~ > /var/tmp/portage/media-libs/libquicktime-1.2.4-r1/work/libquicktime-1.2.4/plugins/ffmpeg/video.c:140:20: error: field 'ffmpeg_id' has incomplete type > enum PixelFormat ffmpeg_id; > ^~~~~~~~~ > /var/tmp/portage/media-libs/libquicktime-1.2.4-r1/work/libquicktime-1.2.4/plugins/ffmpeg/video.c:146:7: error: 'PIX_FMT_YUV420P' undeclared here (not in a function) > { PIX_FMT_YUV420P, BC_YUV420P, 1 }, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) > ^~~~~~~~~~~~~~~ > /var/tmp/portage/media-libs/libquicktime-1.2.4-r1/work/libquicktime-1.2.4/plugins/ffmpeg/video.c:150:7: error: 'PIX_FMT_YUYV422' undeclared here (not in a function) > { PIX_FMT_YUYV422, BC_YUV422, 1 }, > ^~~~~~~~~~~~~~~ Although the ebuild currently applies libquicktime-1.2.4-ffmpeg29.patch if building against >=media-video/ffmpeg-2.9, the patch also fixes such problems when built against media-video/libav-12. Reproducible: Always Steps to Reproduce: 1. emerge -1 =media-video/libav-12 =media-libs/libquicktime-1.2.4-r1 Actual Results: > /var/tmp/portage/media-libs/libquicktime-1.2.4-r1/work/libquicktime-1.2.4/plugins/ffmpeg/video.c:95:20: error: field 'reinterpret_pix_fmt' has incomplete type > enum PixelFormat reinterpret_pix_fmt; > ^~~~~~~~~~~~~~~~~~~ Expected Results: Successful merge.
https://github.com/gentoo/gentoo/pull/3941
Created attachment 463552 [details] libquicktime-1.2.4-r1:20170213-003011.log
Created attachment 463554 [details] environment
Fixed with https://github.com/gentoo/gentoo/commit/3ab0a11d7aaff28d4acbd7af4a72d8c25a27b166