Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609198 - media-video/transcode-1.1.7-r3 with libav-12 - error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
Summary: media-video/transcode-1.1.7-r3 with libav-12 - error: 'PIX_FMT_YUV420P' undec...
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-13 00:40 UTC by Peter Levine
Modified: 2017-02-24 17:22 UTC (History)
1 user (show)

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


Attachments
transcode-1.1.7-r3:20170213-003425.log (transcode-1.1.7-r3:20170213-003425.log,98.13 KB, text/x-log)
2017-02-13 00:41 UTC, Peter Levine
Details
environment (environment,97.57 KB, text/plain)
2017-02-13 00:41 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-13 00:40:56 UTC
Building media-video/transcode-1.1.7-r3 against media-video/libav-12 fails with multiple error messages such as:

> encode_lavc.c:236:21: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
>                      PIX_FMT_YUV420P,
>                      ^~~~~~~~~~~~~~~

> encode_lavc.c:250:20: error: 'PIX_FMT_YUV422P' undeclared (first use in this function)
>                     PIX_FMT_YUV422P,
>                     ^~~~~~~~~~~~~~~

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =media-video/libav-12 =media-video/transcode-1.1.7-r3
Actual Results:  
> encode_lavc.c:236:21: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
>                      PIX_FMT_YUV420P,
>                      ^~~~~~~~~~~~~~~

Expected Results:  
Successful merge.
Comment 1 Peter Levine 2017-02-13 00:41:28 UTC
Created attachment 463556 [details]
transcode-1.1.7-r3:20170213-003425.log
Comment 2 Peter Levine 2017-02-13 00:41:53 UTC
Created attachment 463558 [details]
environment
Comment 3 Peter Levine 2017-02-13 00:45:59 UTC
The problem is similar to https://bugs.gentoo.org/show_bug.cgi?id=609186.  Ebuild needs to patch with transcode-1.1.7-ffmpeg29.patch also when building against >=media-video/libav-12.
Comment 4 Peter Levine 2017-02-24 04:31:32 UTC
Pull request: https://github.com/gentoo/gentoo/pull/4070
Comment 5 Peter Levine 2017-02-24 17:22:45 UTC
Fixed with https://github.com/gentoo/gentoo/pull/4070