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

Bug 654402

Summary: media-video/transcode-1.1.7-r3 : encode_lavc.c:687:34: error: CODEC_FLAG_PASS1 undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=667684
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653678    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-video:transcode-1.1.7-r3:20180429-234459.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-30 08:20:11 UTC
                                   ^~~~~~~~~~~
encode_lavc.c: In function ‘tc_lavc_init_multipass’:
encode_lavc.c:687:34: error: ‘CODEC_FLAG_PASS1’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_PASS1’?
         pd->ff_vcontext.flags |= CODEC_FLAG_PASS1;
                                  ^~~~~~~~~~~~~~~~
                                  AV_CODEC_FLAG_PASS1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_ffmpeg4_20180425-210301

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv media-video/transcode
[ebuild  N    ] media-video/transcode-1.1.7-r3  USE="iconv truetype x264 -X -a52 -aac -alsa (-altivec) -dv -dvd -imagemagick -jpeg -lzo -mjpeg -mp3 -mpeg (-nuv) -ogg -oss (-pic) -postproc -quicktime -sdl -theora -v4l -vorbis -xml -xvid" CPU_FLAGS_X86="mmx sse sse2 -3dnow"
Comment 1 Toralf Förster gentoo-dev 2018-04-30 08:20:14 UTC
Created attachment 529036 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-30 08:20:17 UTC
Created attachment 529038 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-30 08:20:21 UTC
Created attachment 529040 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-30 08:20:24 UTC
Created attachment 529042 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-30 08:20:27 UTC
Created attachment 529044 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-30 08:20:30 UTC
Created attachment 529046 [details]
media-video:transcode-1.1.7-r3:20180429-234459.log
Comment 7 Toralf Förster gentoo-dev 2018-04-30 08:20:33 UTC
Created attachment 529048 [details]
temp.tbz2
Comment 8 Alexis Ballier gentoo-dev 2018-04-30 08:49:33 UTC
you probably need to sync, this commit should have fixed it:

commit ac771a5dab7c52b1afa12e903b74b747737e9412
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Wed Apr 25 09:43:56 2018 +0200

    media-video/transcode: fix build with ffmpeg4
    
    Package-Manager: Portage-2.3.31, Repoman-2.3.9