Opened 4 years ago
Closed 4 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)
Change History (4)
by , 4 years ago
Attachment: | g3cjp0qq9jsq54jzwq5ql06ilp4i6bzc-ffmpeg-4.4.drv.log added |
---|
comment:1 by , 4 years ago
Component: | ffmpeg → avcodec |
---|---|
Keywords: | osx regression added |
comment:2 by , 4 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 , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed as of f9eb440e788c08c489bb1a6d24dbbe34f4597f1c.
Backported to 4.4 in 49e3dd7709da920ac224aa2f9d48da3ea8897982.
Is the issue reproducible with current FFmpeg git head?