Opened 2 years ago

Last modified 22 months ago

#9566 new defect

MacOS BigSur failed on compling ffmpeg of vf_yadif_videotoolbox.metal problem

Reported by: tommyknchan Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: ffmpeg
Cc: Hanspeter Niederstrasser Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm using an Intel Macbook Pro (Retina 13-inch, Late 2013 edition) to homebrewing ffmpeg use custom configs as follow:

brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libcaca --with-openjpeg --with-fdk-aac --HEAD

Under working environment of MacOS Big Sur 11.6.1 and Xcode command line tool version 13.2. Yet, it happened failure of ffmpeg installation with the log follows:

==> make install
Last 15 lines from /Users/tommy/Library/Logs/Homebrew/ffmpeg/02.make:
CC	libavfilter/lavfutils.o
CC	libavfilter/log2_tab.o
CC	libavfilter/lswsutils.o
OBJCC	libavfilter/metal/utils.o
HOSTCC	ffbuild/bin2c_host.o
xcrun metal libavfilter/metal/vf_yadif_videotoolbox.metal -o libavfilter/metal/vf_yadif_videotoolbox.metal.air

Failed to execute metal libavfilter/metal/vf_yadif_videotoolbox.metal -o libavfilter/metal/vf_yadif_videotoolbox.metal.air

Xcode and/or the CLT appear to be misconfigured. Try one or both of the following:
  xcodebuild -license
  sudo xcode-select --switch /path/to/Xcode.app

make: *** [libavfilter/metal/vf_yadif_videotoolbox.metal.air] Error 1
make: *** Waiting for unfinished jobs....

Just asked the GitHub contributors with the same question, but they all said there is a problem of compling "vf_yadif_videotoolbox.metal" file on Intel Mac (ARM Mac seems no such problem per contributor's quote). Is it a problem of compilation during the process? Hope there will be some answers, thank you.

Attachments (1)

homebrew ffmpeg config.log (854.5 KB ) - added by tommyknchan 2 years ago.
related config log of homebrew ffmpeg

Download all attachments as: .zip

Change History (5)

by tommyknchan, 2 years ago

Attachment: homebrew ffmpeg config.log added

related config log of homebrew ffmpeg

comment:1 by tommyknchan, 2 years ago

Component: undeterminedffmpeg
Summary: failed on compling ffmpeg of vf_yadif_videotoolbox.metal problemMacOS BigSur failed on compling ffmpeg of vf_yadif_videotoolbox.metal problem

comment:2 by tommyknchan, 2 years ago

Version: unspecifiedgit-master

comment:3 by Hanspeter Niederstrasser, 2 years ago

Cc: Hanspeter Niederstrasser added

comment:4 by Balling, 22 months ago

Still broken?

Note: See TracTickets for help on using tickets.