Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtiff 4.3.0 won't build on macOS 11.4 + Xcode 12.5.1 (Intel CPU) #97

Open
Gabriele-LS opened this issue Jul 26, 2021 · 7 comments
Open

Comments

@Gabriele-LS
Copy link

Gabriele-LS commented Jul 26, 2021

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.

@markus-perl
Copy link
Owner

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

@Gabriele-LS
Copy link
Author

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.

building libtiff error.txt

@markus-perl
Copy link
Owner

Are you running the build script on a case-insensitive filesystem? https://trac.macports.org/ticket/62758

@Gabriele-LS
Copy link
Author

Apparently, my filesystem is APFS. I don't know it if is case-insensitive or not.

@someziggyman
Copy link

someziggyman commented Aug 16, 2021

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!

@Gabriele-LS
Copy link
Author

You can download Markus script and edit it.

image

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"

@someziggyman
Copy link

someziggyman commented Aug 16, 2021

You can download Markus script and edit it.

image

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.

parkersarsfield added a commit to Footage-Firm/ffmpeg-build-script that referenced this issue Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants