brew install fails
I haven't been able to install exiftool using the brew install script since 13.10 on older MacOS system. I don't know if something changed in the perl environment since then, but I can't maintain my MacOS systems through automation without brew. I'm forced to pin the old version and can't upgrade it except manually.
output of install on MacOS 10.15:
==> Fetching exiftool ==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/11491a6d5ada34b25b2d5c006ab96b43c9a0972f/Formula/e/exiftool.rb ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/FFI-CheckLib-0.31.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-1.27.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.50.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-0.1011.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-0.148.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-2.84.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/L/LW/LWP/Mozilla-CA-20250202.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/N/NE/NEILB/Sort-Versions-1.62.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-cmake3-0.08.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/L/LE/LEONT/File-Slurper-0.014.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/IO-Compress-Brotli-0.019.tar.gz ################################################################################################################################################################### 100.0% ==> Downloading https://exiftool.org/Image-ExifTool-13.30.tar.gz ################################################################################################################################################################### 100.0% Error: You mustbrew unpin llvm rustas installing cyme requires the latest version of pinned dependencies Error: You mustbrew unpin gpgme llvm rust` as installing gpg-tui requires the latest version of pinned dependencies
==> Upgrading exiftool
13.10 -> 13.30
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
==> make install
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
==> make install
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
==> make install
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
==> make install
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
==> make install
==> perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/exiftool/11.perl:
2025-05-25 23:33:18 +0000
perl Makefile.PL INSTALL_BASE=/usr/local/Cellar/exiftool/13.30/libexec
Can't locate object method "new" via package "ExtUtils::ParseXS" at ./inc/probebad.pl line 31. Compilation failed in require at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 8.
`
I don't think this is an ExifTool issue. Please try installing manually from the tar.gz distribution (download from exiftool.org) and if that doesn't work then please let me know. If it does work, I suggest contacting the maintainer for this brew recipe.
- Phil
Who would that be? I don't see the brew installation script anywhere on your repo or on github in general. Google doesn't help much either. The brew community is actively hostile to questions regarding scripts that don't work and won't help.
How do I find the developer of this script?
I don't see the brew installation script anywhere on your repo or on github in general
It's third party and not something created by Phil, so it wouldn't be part of his repo.
After some quick searches, maybe you might try MacPorts, which seems to be an alternative. Their exiftool install appears to have been updated the same day that version 13.30 came out.
I posted to the brew mastodon feed asking where I can find the maintainers of brew install scripts that are broken. SOMEONE is maintaining them but who or contact info isn't listed in any of the repos where the packages are maintained. When a package is updated, someone has to update the install script to change the checksums for dependencies. How to find out where that's kept is what I'm after. I have 5 packages that are broken. Exiftool is just one.
Try this deployment instruction: https://github.com/exiftool/exiftool/issues/260#issue-2254044650 (invoking the Perl scripts (ExifTool) directly, via shell script wrapper)