[Bug 276368] graphics/pecl-imagick build fails with 'fatal error: 'MagickWand/MagickWand.h' file not found' after ImageMagick7-nox11-7.1.1.26 upgrade

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Jan 2024 07:18:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276368

            Bug ID: 276368
           Summary: graphics/pecl-imagick build fails with 'fatal error:
                    'MagickWand/MagickWand.h' file not found' after
                    ImageMagick7-nox11-7.1.1.26 upgrade
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: raul.munoz@custos.es
                CC: 000.fbsd@quip.cz
             Flags: maintainer-feedback?(000.fbsd@quip.cz)
                CC: 000.fbsd@quip.cz

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
[....]

-- 
You are receiving this mail because:
You are the assignee for the bug.