tlk / homebrew-imagemagick-x11

macOS Homebrew tap: ImageMagick with X11 support
BSD 2-Clause "Simplified" License
27 stars 1 forks source link

brew install failed from 7.1.1-7 #9

Closed osamu620 closed 1 year ago

osamu620 commented 1 year ago

From the commit c4c0d44d832c334480b78c04350785e1afb438d6, 'brew install' fails. Version 7.1.1-6, which corresponds to ebcf71080606b9224c00b4c0dfd2b6cc5a26c360 is OK.

FYI, I attached the log when I tried to install the latest version. Something wrong happens during patching.

❯ brew upgrade -vvvvv  tlk/imagemagick-x11/imagemagick
==> Upgrading 1 outdated package:
tlk/imagemagick-x11/imagemagick 7.1.1-6 -> 7.1.1-8
==> Downloading https://formulae.brew.sh/api/formula.jws.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
==> Fetching tlk/imagemagick-x11/imagemagick
==> Downloading https://imagemagick.org/archive/releases/ImageMagick-7.1.1-8.tar.xz
Already downloaded: /Users/osamu/Library/Caches/Homebrew/downloads/a37eb30a0c82f6550bc3657ac6d4617de66f568eb40d8b813c3b5770d25ae0e3--ImageMagick-7.1.1-8.tar.xz
==> Verifying checksum for 'a37eb30a0c82f6550bc3657ac6d4617de66f568eb40d8b813c3b5770d25ae0e3--ImageMagick-7.1.1-8.tar.xz'
==> Upgrading tlk/imagemagick-x11/imagemagick
  7.1.1-6 -> 7.1.1-8

rm /opt/homebrew/bin/Magick++-config
rm /opt/homebrew/bin/MagickCore-config
rm /opt/homebrew/bin/MagickWand-config
rm /opt/homebrew/bin/animate
rm /opt/homebrew/bin/compare
rm /opt/homebrew/bin/composite
rm /opt/homebrew/bin/conjure
rm /opt/homebrew/bin/convert
rm /opt/homebrew/bin/display
rm /opt/homebrew/bin/identify
rm /opt/homebrew/bin/import
rm /opt/homebrew/bin/magick
rm /opt/homebrew/bin/magick-script
rm /opt/homebrew/bin/mogrify
rm /opt/homebrew/bin/montage
rm /opt/homebrew/bin/stream
rm /opt/homebrew/etc/ImageMagick-7/colors.xml
rm /opt/homebrew/etc/ImageMagick-7/delegates.xml
rm /opt/homebrew/etc/ImageMagick-7/log.xml
rm /opt/homebrew/etc/ImageMagick-7/mime.xml
rm /opt/homebrew/etc/ImageMagick-7/policy.xml
rm /opt/homebrew/etc/ImageMagick-7/quantization-table.xml
rm /opt/homebrew/etc/ImageMagick-7/thresholds.xml
rm /opt/homebrew/etc/ImageMagick-7/type-apple.xml
rm /opt/homebrew/etc/ImageMagick-7/type-dejavu.xml
rm /opt/homebrew/etc/ImageMagick-7/type-ghostscript.xml
rm /opt/homebrew/etc/ImageMagick-7/type-urw-base35.xml
rm /opt/homebrew/etc/ImageMagick-7/type-windows.xml
rm /opt/homebrew/etc/ImageMagick-7/type.xml
rm /opt/homebrew/include/ImageMagick-7
rm /opt/homebrew/lib/ImageMagick
rm /opt/homebrew/lib/libMagick++-7.Q16HDRI.5.dylib
rm /opt/homebrew/lib/libMagick++-7.Q16HDRI.a
rm /opt/homebrew/lib/libMagick++-7.Q16HDRI.dylib
rm /opt/homebrew/lib/libMagick++-7.Q16HDRI.la
rm /opt/homebrew/lib/libMagickCore-7.Q16HDRI.10.dylib
rm /opt/homebrew/lib/libMagickCore-7.Q16HDRI.a
rm /opt/homebrew/lib/libMagickCore-7.Q16HDRI.dylib
rm /opt/homebrew/lib/libMagickCore-7.Q16HDRI.la
rm /opt/homebrew/lib/libMagickWand-7.Q16HDRI.10.dylib
rm /opt/homebrew/lib/libMagickWand-7.Q16HDRI.a
rm /opt/homebrew/lib/libMagickWand-7.Q16HDRI.dylib
rm /opt/homebrew/lib/libMagickWand-7.Q16HDRI.la
rm /opt/homebrew/lib/pkgconfig/ImageMagick-7.Q16HDRI.pc
rm /opt/homebrew/lib/pkgconfig/ImageMagick.pc
rm /opt/homebrew/lib/pkgconfig/Magick++-7.Q16HDRI.pc
rm /opt/homebrew/lib/pkgconfig/Magick++.pc
rm /opt/homebrew/lib/pkgconfig/MagickCore-7.Q16HDRI.pc
rm /opt/homebrew/lib/pkgconfig/MagickCore.pc
rm /opt/homebrew/lib/pkgconfig/MagickWand-7.Q16HDRI.pc
rm /opt/homebrew/lib/pkgconfig/MagickWand.pc
rm /opt/homebrew/share/ImageMagick-7
rm /opt/homebrew/share/doc/ImageMagick-7
rm /opt/homebrew/share/man/man1/ImageMagick.1
rm /opt/homebrew/share/man/man1/Magick++-config.1
rm /opt/homebrew/share/man/man1/MagickCore-config.1
rm /opt/homebrew/share/man/man1/MagickWand-config.1
rm /opt/homebrew/share/man/man1/animate.1
rm /opt/homebrew/share/man/man1/compare.1
rm /opt/homebrew/share/man/man1/composite.1
rm /opt/homebrew/share/man/man1/conjure.1
rm /opt/homebrew/share/man/man1/convert.1
rm /opt/homebrew/share/man/man1/display.1
rm /opt/homebrew/share/man/man1/identify.1
rm /opt/homebrew/share/man/man1/import.1
rm /opt/homebrew/share/man/man1/magick-script.1
rm /opt/homebrew/share/man/man1/magick.1
rm /opt/homebrew/share/man/man1/mogrify.1
rm /opt/homebrew/share/man/man1/montage.1
rm /opt/homebrew/share/man/man1/stream.1
rmdir /opt/homebrew/etc/ImageMagick-7
/usr/bin/env tar --extract --no-same-owner --file /Users/osamu/Library/Caches/Homebrew/downloads/a37eb30a0c82f6550bc3657ac6d4617de66f568eb40d8b813c3b5770d25ae0e3--ImageMagick-7.1.1-8.tar.xz --directory /private/tmp/d20230428-47653-m3th77
/usr/bin/env cp -pR /private/tmp/d20230428-47653-m3th77/ImageMagick-7.1.1-8/. /private/tmp/imagemagick-20230428-47653-18lkf82/ImageMagick-7.1.1-8
==> Patching
mkdir -p /opt/homebrew/etc/ImageMagick-7
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/colors.xml colors.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/delegates.xml delegates.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/log.xml log.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/mime.xml mime.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/policy.xml policy.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/quantization-table.xml quantization-table.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/thresholds.xml thresholds.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type-apple.xml type-apple.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type-dejavu.xml type-dejavu.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type-ghostscript.xml type-ghostscript.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type-urw-base35.xml type-urw-base35.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type-windows.xml type-windows.xml
ln -s ../../Cellar/imagemagick/7.1.1-6/etc/ImageMagick-7/type.xml type.xml
ln -s ../Cellar/imagemagick/7.1.1-6/bin/Magick++-config Magick++-config
ln -s ../Cellar/imagemagick/7.1.1-6/bin/MagickCore-config MagickCore-config
ln -s ../Cellar/imagemagick/7.1.1-6/bin/MagickWand-config MagickWand-config
ln -s ../Cellar/imagemagick/7.1.1-6/bin/animate animate
ln -s ../Cellar/imagemagick/7.1.1-6/bin/compare compare
ln -s ../Cellar/imagemagick/7.1.1-6/bin/composite composite
ln -s ../Cellar/imagemagick/7.1.1-6/bin/conjure conjure
ln -s ../Cellar/imagemagick/7.1.1-6/bin/convert convert
ln -s ../Cellar/imagemagick/7.1.1-6/bin/display display
ln -s ../Cellar/imagemagick/7.1.1-6/bin/identify identify
ln -s ../Cellar/imagemagick/7.1.1-6/bin/import import
ln -s ../Cellar/imagemagick/7.1.1-6/bin/magick magick
ln -s ../Cellar/imagemagick/7.1.1-6/bin/magick-script magick-script
ln -s ../Cellar/imagemagick/7.1.1-6/bin/mogrify mogrify
ln -s ../Cellar/imagemagick/7.1.1-6/bin/montage montage
ln -s ../Cellar/imagemagick/7.1.1-6/bin/stream stream
ln -s ../Cellar/imagemagick/7.1.1-6/include/ImageMagick-7 ImageMagick-7
ln -s ../Cellar/imagemagick/7.1.1-6/share/ImageMagick-7 ImageMagick-7
ln -s ../../Cellar/imagemagick/7.1.1-6/share/doc/ImageMagick-7 ImageMagick-7
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/ImageMagick.1 ImageMagick.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/Magick++-config.1 Magick++-config.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/MagickCore-config.1 MagickCore-config.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/MagickWand-config.1 MagickWand-config.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/animate.1 animate.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/compare.1 compare.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/composite.1 composite.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/conjure.1 conjure.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/convert.1 convert.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/display.1 display.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/identify.1 identify.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/import.1 import.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/magick-script.1 magick-script.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/magick.1 magick.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/mogrify.1 mogrify.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/montage.1 montage.1
ln -s ../../../Cellar/imagemagick/7.1.1-6/share/man/man1/stream.1 stream.1
ln -s ../Cellar/imagemagick/7.1.1-6/lib/ImageMagick ImageMagick
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagick++-7.Q16HDRI.5.dylib libMagick++-7.Q16HDRI.5.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagick++-7.Q16HDRI.a libMagick++-7.Q16HDRI.a
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagick++-7.Q16HDRI.dylib libMagick++-7.Q16HDRI.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagick++-7.Q16HDRI.la libMagick++-7.Q16HDRI.la
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickCore-7.Q16HDRI.10.dylib libMagickCore-7.Q16HDRI.10.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickCore-7.Q16HDRI.a libMagickCore-7.Q16HDRI.a
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickCore-7.Q16HDRI.dylib libMagickCore-7.Q16HDRI.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickCore-7.Q16HDRI.la libMagickCore-7.Q16HDRI.la
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickWand-7.Q16HDRI.10.dylib libMagickWand-7.Q16HDRI.10.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickWand-7.Q16HDRI.a libMagickWand-7.Q16HDRI.a
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickWand-7.Q16HDRI.dylib libMagickWand-7.Q16HDRI.dylib
ln -s ../Cellar/imagemagick/7.1.1-6/lib/libMagickWand-7.Q16HDRI.la libMagickWand-7.Q16HDRI.la
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/ImageMagick-7.Q16HDRI.pc ImageMagick-7.Q16HDRI.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/ImageMagick.pc ImageMagick.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/Magick++-7.Q16HDRI.pc Magick++-7.Q16HDRI.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/Magick++.pc Magick++.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/MagickCore-7.Q16HDRI.pc MagickCore-7.Q16HDRI.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/MagickCore.pc MagickCore.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/MagickWand-7.Q16HDRI.pc MagickWand-7.Q16HDRI.pc
ln -s ../../Cellar/imagemagick/7.1.1-6/lib/pkgconfig/MagickWand.pc MagickWand.pc
Error: Failure while executing; `patch -g 0 -f -p1` exited with 2. Here's the output:
patching file configure
tlk commented 1 year ago

Thanks for reaching out. I have updated the patch, did that help?

osamu620 commented 1 year ago

@tlk Thanks for your prompt action. The new patch works for me!