After ImageMagick7-nox11-7.1.1.26 upgrade, portmaster build of graphics/pecl-imagick@php82 fails with: [....] --- imagickkernel_class.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickkernel_class.c:18: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagickpixeliterator_class.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickpixeliterator_class.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagick.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickdraw_class.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagick_file.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_file.c:22: In file included from ./php_imagick_file.h:24: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagick_helpers.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_helpers.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagickkernel_class.lo --- 1 error generated. *** [imagickkernel_class.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagickpixeliterator_class.lo --- 1 error generated. --- imagick_file.lo --- 1 error generated. --- imagickpixeliterator_class.lo --- *** [imagickpixeliterator_class.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagick_file.lo --- *** [imagick_file.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- shim_im6_to_im7.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/shim_im6_to_im7.c:17: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- imagick_helpers.lo --- 1 error generated. *** [imagick_helpers.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagick_class.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_class.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ --- shim_im6_to_im7.lo --- 1 error generated. --- imagickdraw_class.lo --- 1 error generated. --- shim_im6_to_im7.lo --- *** [shim_im6_to_im7.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagickdraw_class.lo --- *** [imagickdraw_class.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagickpixel_class.lo --- In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickpixel_class.c:22: ./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not found # include <MagickWand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [imagickpixel_class.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagick.lo --- 1 error generated. *** [imagick.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 --- imagick_class.lo --- 1 error generated. *** [imagick_class.lo] Error code 1 make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 9 errors make[1]: stopped in /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/pecl-imagick [....]
Removing make.conf: [....] DEFAULT_VERSIONS+= imagemagick=7-nox11 [....] and using ImageMagick7-7.1.1.26 (without -nox1 and default options), doesn't improve it, still 'MagickWand/MagickWand.h' file not found.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276360 Solves this PR.
*** This bug has been marked as a duplicate of bug 276360 ***