Opened 3 years ago

Closed 3 years ago

#9242 closed defect (fixed)

Build failure on OSX SDK 10.12

Reported by: zane Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: osx regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

g3cjp0qq9jsq54jzwq5ql06ilp4i6bzc-ffmpeg-4.4.drv.log (105.5 KB ) - added by zane 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Carl Eugen Hoyos, 3 years ago

Component: ffmpegavcodec
Keywords: osx regression added

Is the issue reproducible with current FFmpeg git head?

comment:2 by zane, 3 years ago

Unfortunately, I don't have a Mac to test on. However, that code hasn't changed since the 4.4 release, so I would assume so.

comment:3 by zane, 3 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.