Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609186 - media-libs/libquicktime-1.2.4-r1 with libav-12 - error: field 'reinterpret_pix_fmt' has incomplete type
Summary: media-libs/libquicktime-1.2.4-r1 with libav-12 - error: field 'reinterpret_pi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libav-12
  Show dependency tree
 
Reported: 2017-02-12 23:45 UTC by Peter Levine
Modified: 2017-02-24 04:34 UTC (History)
1 user (show)

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


Attachments
libquicktime-1.2.4-r1:20170213-003011.log (libquicktime-1.2.4-r1:20170213-003011.log,367.12 KB, text/x-log)
2017-02-13 00:31 UTC, Peter Levine
Details
environment (environment,114.70 KB, text/plain)
2017-02-13 00:31 UTC, Peter Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2017-02-12 23:45:03 UTC
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.
Comment 1 Peter Levine 2017-02-13 00:00:59 UTC
https://github.com/gentoo/gentoo/pull/3941
Comment 2 Peter Levine 2017-02-13 00:31:16 UTC
Created attachment 463552 [details]
libquicktime-1.2.4-r1:20170213-003011.log
Comment 3 Peter Levine 2017-02-13 00:31:59 UTC
Created attachment 463554 [details]
environment