[FFmpeg-trac] #9242(ffmpeg:new): Build failure on OSX SDK 10.12

FFmpeg trac at avcodec.org
Sat May 15 03:41:44 EEST 2021


#9242: Build failure on OSX SDK 10.12
--------------------------------+---------------------------------------
             Reporter:  zane    |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  ffmpeg  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug:

 FFmpeg was updated to 4.4 in nixpkgs (https://github.com/NixOS/nixpkgs/),
 and has caused an error on Darwin builds (using SDK 10.12):

 {{{
 CC      libavcodec/videotoolboxenc.o
 libavcodec/videotoolboxenc.c:1036:29: error: use of undeclared identifier
 'TARGET_CPU_ARM64'
     return TARGET_OS_OSX && TARGET_CPU_ARM64;
                             ^
 1 error generated.
 make: *** [ffbuild/common.mak:67: libavcodec/videotoolboxenc.o] Error 1
 }}}

 The failure was introduced in efece4442f3f583f7d04f98ef5168dfd08eaca5c.

 The full build log is here, I will also attach it to this report.
 https://hydra.nixos.org/build/142946557/nixlog/1

 How to reproduce:

 Build FFmpeg on OSX with SDK = 10.12
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9242>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list