Unterminated preprocessor conditions
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
Please check the discussion in #640 and in its related Pull Request #641
I had some trouble on this today, so it seems like the fix is still not released.
This seems to be completely random. Just need to keep running the build until it finally works...
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.