Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 609198

Summary: media-video/transcode-1.1.7-r3 with libav-12 - error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 603726    
Attachments: transcode-1.1.7-r3:20170213-003425.log
environment

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