imagick icon indicating copy to clipboard operation
imagick copied to clipboard

Unterminated preprocessor conditions

Open HQuest opened this issue 2 years ago • 4 comments

          So this is "not planned" as in won't work with Alpine, won't work with PHP 8.3, won't install via pecl, or lack of clarity? Just got imagemagick updated to 7.1.1_30 and in the process of updating imagick to 3.7.0 via pecl upgrade, it fails as follows (tested against PHP v8.3.4):

Saved /tmp/pear/temp/imagick/ImagickDraw_arginfo.h Parse /tmp/pear/temp/imagick/ImagickPixelIterator.stub.php to generate /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h Saved /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h Parse /tmp/pear/temp/imagick/ImagickPixel.stub.php to generate /tmp/pear/temp/imagick/ImagickPixel_arginfo.h Saved /tmp/pear/temp/imagick/ImagickPixel_arginfo.h Parse /tmp/pear/temp/imagick/Imagick.stub.php to generate /tmp/pear/temp/imagick/Imagick_arginfo.h In /tmp/pear/temp/imagick/Imagick.stub.php: Unterminated preprocessor conditions make: *** [Makefile:196: /tmp/pear/temp/imagick/Imagick_arginfo.h] Error 1 ERROR: `make INSTALL_ROOT="/tmp/pear/temp/pear-build-rootmGvNVN/install-imagick-3.7.0" install' failed

Originally posted by @HQuest in https://github.com/Imagick/imagick/issues/667#issuecomment-2045247222

HQuest avatar Apr 09 '24 14:04 HQuest

Please check the discussion in #640 and in its related Pull Request #641

TildBJ avatar Apr 10 '24 09:04 TildBJ

I had some trouble on this today, so it seems like the fix is still not released.

phpclub avatar Aug 06 '24 06:08 phpclub

This seems to be completely random. Just need to keep running the build until it finally works...

ghnp5 avatar Sep 17 '24 12:09 ghnp5

11.10.2024 and this still is an issue. Anybody got an idea how to solve that? When I need to build two images in m CI for both AMD64 and ARM64 sometimes I need to click 20x to get it through because on random first and sometimes on random second one fails.

bpacholek avatar Oct 11 '24 07:10 bpacholek