ffmpeg-build-script
ffmpeg-build-script copied to clipboard
libtiff 4.3.0 won't build on macOS 11.4 + Xcode 12.5.1 (Intel CPU)
Hello, I just found out that libtiff 4.3.0 won't compile on macOS 11.4 + Xcode 12.5.1 (Intel CPU). The error I'm getting is the following one.
fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[3]: *** [tif_stream.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/tif_fax3.Tpo .deps/tif_fax3.Plo mv -f .deps/tif_getimage.Tpo .deps/tif_getimage.Plo mv -f .deps/tif_dirread.Tpo .deps/tif_dirread.Plo make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Failed to Execute make -j 16
Please note that, instead, libtiff 4.2.0 works well.
Can you checkout the latest version of the script and try again? I have no problems with building ffmpeg on my Intel Mac with macOS 11.5, also our continuous integration builds the binary without any issues: https://github.com/markus-perl/ffmpeg-build-script/actions/runs/1067351834
Same error as before. I guess the problem is in the latest libtiff version. Please find attached what I read in the Terminal window when I try to build it.
Are you running the build script on a case-insensitive filesystem? https://trac.macports.org/ticket/62758
Apparently, my filesystem is APFS. I don't know it if is case-insensitive or not.
Same issue here.. script fails at "libtiff stage".
MacOS 11.5.2, Xcode 12.5.1, both M1 and Intel Macs. Is there a way I can make the script download an earlier version of libtiff? Or maybe someone can share and ARM architecture (M1 chip) compatible static build for ffprobe? If any Terminal testing is needed, I'll gladly help and share all the necessary error logs.
Appreciate your time creating this script!
You can download Markus script and edit it.
Open the file called "build-ffmpeg" with a text editor
Edit line 616, replacing "4.3.0" with "4.2.0"
Save the file
Open the Terminal
Change directory to the directory containing the script ("ffmpeg-build-script-master")
Execute the command "./build-ffmpeg --build"
You can download Markus script and edit it.
Open the file called "build-ffmpeg" with a text editor
Edit line 616, replacing "4.3.0" with "4.2.0"
Save the file
Open the Terminal
Change directory to the directory containing the script ("ffmpeg-build-script-master")
Execute the command "./build-ffmpeg --build"
Thank you so much! did not know that executable was "editable/ humanly readable" if opened in TextEditor. following your advice helped me proceed further! Really appreciate it. Built successfully! Hope it's a fully static build.