Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random failure installing imagick extension on php 8.3 #968

Closed
pereorga opened this issue Aug 23, 2024 · 1 comment
Closed

Random failure installing imagick extension on php 8.3 #968

pereorga opened this issue Aug 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pereorga
Copy link

Version of install-php-extensions

v2.4.0

Error description

I'm not sure if this belongs here, so please feel free to close it straight away if it's not useful.

I have this in Gitlab CI, and 2 days ago the pipeline started failing randomly for PHP 8.3 when trying to install the imagick extension. It seems to install fine in both PHP 8.2 and the recently added PHP 8.4. Randomly (but rarely) the job succeeds on PHP 8.3 too.

I believe this is very standard, so not sure what could be happening:

.php_lint_template:
  stage: lint
  script:
    - export DEBIAN_FRONTEND=noninteractive
    - apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git unzip gpg wget
    - curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions
    - chmod +x /usr/local/bin/install-php-extensions
    - install-php-extensions intl pdo_mysql imagick
    - # .. (other stuff)

php_lint:
  extends: .php_lint_template
  parallel:
    matrix:
      - PHP_VERSION: "8.2"
      - PHP_VERSION: "8.3"
      - PHP_VERSION: "8.4-rc"
  image: php:${PHP_VERSION}
  before_script:
    - echo "Running in PHP version ${PHP_VERSION}"

Relevant log:

### INSTALLING REMOTE MODULE imagick ###
downloading imagick-3.7.0.tgz ...
Starting to download imagick-3.7.0.tgz (360,138 bytes)
.........................................................................done: 360,138 bytes
33 source files, building
running: phpize
Configuring for:
PHP Api Version:         20230831
Zend Module Api No:      20230831
Zend Extension Api No:   420230831
Please provide the prefix of ImageMagick installation [autodetect] : building in /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0
running: /tmp/pear/temp/imagick/configure --with-php-config=/usr/local/bin/php-config --with-imagick
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20230831
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/homebrew/bin/MagickWand-config... Doesn't exist
found in /usr/bin/pkg-config
checking if ImageMagick version is at least 6.2.4... found version 6.9.11
checking for MagickWand.h or magick-wand.h header... /usr/include/ImageMagick-6/wand/MagickWand.h
checking PHP version is at least 5.3.2... yes. found 8.3.10
libs
-lMagickWand-6.Q16 -lMagickCore-6.Q16
checking for MagickGetVersion... yes
checking omp_pause_resource_all usability... yes
checking Which flavour of OpenMP to link... checking for omp_pause_resource_all... no
checking for __omp_pause_resource_all... no
checking for omp_pause_resource_all in -lgomp... yes
GCC flavoured OpenMP
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make -j8
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_file.c -o imagick_file.lo  -MMD -MF imagick_file.dep -MT imagick_file.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lo  -MMD -MF imagick_class.dep -MT imagick_class.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickdraw_class.c -o imagickdraw_class.lo  -MMD -MF imagickdraw_class.dep -MT imagickdraw_class.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickpixel_class.c -o imagickpixel_class.lo  -MMD -MF imagickpixel_class.dep -MT imagickpixel_class.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -o imagickpixeliterator_class.lo  -MMD -MF imagickpixeliterator_class.dep -MT imagickpixeliterator_class.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_helpers.c -o imagick_helpers.lo  -MMD -MF imagick_helpers.dep -MT imagick_helpers.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick.c -o imagick.lo  -MMD -MF imagick.dep -MT imagick.lo
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickkernel_class.c -o imagickkernel_class.lo  -MMD -MF imagickkernel_class.dep -MT imagickkernel_class.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickpixel_class.c -MMD -MF imagickpixel_class.dep -MT imagickpixel_class.lo  -fPIC -DPIC -o .libs/imagickpixel_class.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -MMD -MF imagickpixeliterator_class.dep -MT imagickpixeliterator_class.lo  -fPIC -DPIC -o .libs/imagickpixeliterator_class.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_class.c -MMD -MF imagick_class.dep -MT imagick_class.lo  -fPIC -DPIC -o .libs/imagick_class.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickkernel_class.c -MMD -MF imagickkernel_class.dep -MT imagickkernel_class.lo  -fPIC -DPIC -o .libs/imagickkernel_class.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_file.c -MMD -MF imagick_file.dep -MT imagick_file.lo  -fPIC -DPIC -o .libs/imagick_file.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagickdraw_class.c -MMD -MF imagickdraw_class.dep -MT imagickdraw_class.lo  -fPIC -DPIC -o .libs/imagickdraw_class.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick_helpers.c -MMD -MF imagick_helpers.dep -MT imagick_helpers.lo  -fPIC -DPIC -o .libs/imagick_helpers.o
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/imagick.c -MMD -MF imagick.dep -MT imagick.lo  -fPIC -DPIC -o .libs/imagick.o
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageMatte':
/tmp/pear/temp/imagick/imagick_class.c:300:9: warning: 'MagickGetImageMatte' is deprecated [-Wdeprecated-declarations]
  300 |         matte = MagickGetImageMatte(intern->magick_wand);
      |         ^~~~~
In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:83,
                 from /tmp/pear/temp/imagick/php_imagick_defs.h:29,
                 from /tmp/pear/temp/imagick/imagick_class.c:22:
/usr/include/ImageMagick-6/wand/deprecate.h:85:3: note: declared here
   85 |   MagickGetImageMatte(MagickWand *) magick_attribute((deprecated)),
      |   ^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_paintFloodfillImage':
/tmp/pear/temp/imagick/imagick_class.c:1330:17: warning: 'MagickPaintFloodfillImage' is deprecated [-Wdeprecated-declarations]
 1330 |                 status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, NULL, x, y);
      |                 ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:102:3: note: declared here
  102 |   MagickPaintFloodfillImage(MagickWand *,const ChannelType,const PixelWand *,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c:1338:17: warning: 'MagickPaintFloodfillImage' is deprecated [-Wdeprecated-declarations]
 1338 |                 status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, border_wand, x, y);
      |                 ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:102:3: note: declared here
  102 |   MagickPaintFloodfillImage(MagickWand *,const ChannelType,const PixelWand *,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_recolorImage':
/tmp/pear/temp/imagick/imagick_class.c:1820:9: warning: 'MagickRecolorImage' is deprecated [-Wdeprecated-declarations]
 1820 |         status = MagickRecolorImage(intern->magick_wand, order, array);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:116:3: note: declared here
  116 |   MagickRecolorImage(MagickWand *,const size_t,const double *)
      |   ^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_colorFloodfillImage':
/tmp/pear/temp/imagick/imagick_class.c:4510:9: warning: 'MagickColorFloodfillImage' is deprecated [-Wdeprecated-declarations]
 4510 |         status = MagickColorFloodfillImage(intern->magick_wand, fill_wand, fuzz, border_wand, x, y);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:78:3: note: declared here
   78 |   MagickColorFloodfillImage(MagickWand *,const PixelWand *,const double,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_mapImage':
/tmp/pear/temp/imagick/imagick_class.c:4991:9: warning: 'MagickMapImage' is deprecated [-Wdeprecated-declarations]
 4991 |         status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:89:3: note: declared here
   89 |   MagickMapImage(MagickWand *,const MagickWand *,const MagickBooleanType)
      |   ^~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_matteFloodfillImage':
/tmp/pear/temp/imagick/imagick_class.c:5032:9: warning: 'MagickMatteFloodfillImage' is deprecated [-Wdeprecated-declarations]
 5032 |         status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, color_wand, x, y);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:91:3: note: declared here
   91 |   MagickMatteFloodfillImage(MagickWand *,const double,const double,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_medianFilterImage':
/tmp/pear/temp/imagick/imagick_class.c:5070:9: warning: 'MagickMedianFilterImage' is deprecated [-Wdeprecated-declarations]
 5070 |         status = MagickMedianFilterImage(intern->magick_wand, radius);
      |         ^~~~~~
In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:89:
/usr/include/ImageMagick-6/wand/magick-image.h:229:3: note: declared here
  229 |   MagickMedianFilterImage(MagickWand *,const double),
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_paintOpaqueImage':
/tmp/pear/temp/imagick/imagick_class.c:5152:9: warning: 'MagickPaintOpaqueImageChannel' is deprecated [-Wdeprecated-declarations]
 5152 |         status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, target_wand, fill_wand, fuzz);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:107:3: note: declared here
  107 |   MagickPaintOpaqueImageChannel(MagickWand *,const ChannelType,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_paintTransparentImage':
/tmp/pear/temp/imagick/imagick_class.c:5235:9: warning: 'MagickPaintTransparentImage' is deprecated [-Wdeprecated-declarations]
 5235 |         status = MagickPaintTransparentImage(intern->magick_wand, color_wand, alpha, fuzz);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:110:3: note: declared here
  110 |   MagickPaintTransparentImage(MagickWand *,const PixelWand *,const double,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_reduceNoiseImage':
/tmp/pear/temp/imagick/imagick_class.c:5399:9: warning: 'MagickReduceNoiseImage' is deprecated [-Wdeprecated-declarations]
 5399 |         status = MagickReduceNoiseImage(intern->magick_wand, radius);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/magick-image.h:276:3: note: declared here
  276 |   MagickReduceNoiseImage(MagickWand *,const double),
      |   ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageAttribute':
/tmp/pear/temp/imagick/imagick_class.c:6729:9: warning: 'MagickGetImageAttribute' is deprecated [-Wdeprecated-declarations]
 6729 |         attribute = MagickGetImageAttribute(intern->magick_wand, key);
      |         ^~~~~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:62:4: note: declared here
   62 |   *MagickGetImageAttribute(MagickWand *,const char *)
      |    ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageChannelExtrema':
/tmp/pear/temp/imagick/imagick_class.c:6946:9: warning: 'MagickGetImageChannelExtrema' is deprecated [-Wdeprecated-declarations]
 6946 |         status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:81:3: note: declared here
   81 |   MagickGetImageChannelExtrema(MagickWand *,const ChannelType,size_t *,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageExtrema':
/tmp/pear/temp/imagick/imagick_class.c:7285:9: warning: 'MagickGetImageExtrema' is deprecated [-Wdeprecated-declarations]
 7285 |         status = MagickGetImageExtrema(intern->magick_wand, &min, &max);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:83:3: note: declared here
   83 |   MagickGetImageExtrema(MagickWand *,size_t *,size_t *)
      |   ^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageIndex':
/tmp/pear/temp/imagick/imagick_class.c:8450:9: warning: 'MagickGetImageIndex' is deprecated [-Wdeprecated-declarations]
 8450 |         status = MagickGetImageIndex(intern->magick_wand);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:68:3: note: declared here
   68 |   MagickGetImageIndex(MagickWand *) magick_attribute((deprecated));
      |   ^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_getImageSize':
/tmp/pear/temp/imagick/imagick_class.c:8571:9: warning: 'MagickGetImageSize' is deprecated [-Wdeprecated-declarations]
 8571 |         ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand));
      |         ^~~~~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:147:3: note: declared here
  147 |   MagickGetImageSize(MagickWand *) magick_attribute((deprecated));
      |   ^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_setImageAttribute':
/tmp/pear/temp/imagick/imagick_class.c:9045:9: warning: 'MagickSetImageAttribute' is deprecated [-Wdeprecated-declarations]
 9045 |         status = MagickSetImageAttribute(intern->magick_wand, key, attribute);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:118:3: note: declared here
  118 |   MagickSetImageAttribute(MagickWand *,const char *,const char *)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_flattenImages':
/tmp/pear/temp/imagick/imagick_class.c:9418:9: warning: 'MagickFlattenImages' is deprecated [-Wdeprecated-declarations]
 9418 |         tmp_wand = MagickFlattenImages(intern->magick_wand);
      |         ^~~~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:139:4: note: declared here
  139 |   *MagickFlattenImages(MagickWand *) magick_attribute((deprecated)),
      |    ^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_averageImages':
/tmp/pear/temp/imagick/imagick_class.c:10747:9: warning: 'MagickAverageImages' is deprecated [-Wdeprecated-declarations]
10747 |         tmp_wand = MagickAverageImages(intern->magick_wand);
      |         ^~~~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:138:4: note: declared here
  138 |   *MagickAverageImages(MagickWand *) magick_attribute((deprecated)),
      |    ^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_mosaicImages':
/tmp/pear/temp/imagick/imagick_class.c:11291:9: warning: 'MagickMosaicImages' is deprecated [-Wdeprecated-declarations]
11291 |         tmp_wand = MagickMosaicImages(intern->magick_wand);
      |         ^~~~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:142:4: note: declared here
  142 |   *MagickMosaicImages(MagickWand *) magick_attribute((deprecated)),
      |    ^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_Imagick_radialBlurImage':
/tmp/pear/temp/imagick/imagick_class.c:11421:9: warning: 'MagickRadialBlurImageChannel' is deprecated [-Wdeprecated-declarations]
11421 |         status = MagickRadialBlurImageChannel(intern->magick_wand, channel, angle);
      |         ^~~~~~
/usr/include/ImageMagick-6/wand/deprecate.h:114:3: note: declared here
  114 |   MagickRadialBlurImageChannel(MagickWand *,const ChannelType,const double)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=compile cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE   -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -o shim_im6_to_im7.lo  -MMD -MF shim_im6_to_im7.dep -MT shim_im6_to_im7.lo
 cc -I. -I/tmp/pear/temp/imagick -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -MMD -MF shim_im6_to_im7.dep -MT shim_im6_to_im7.lo  -fPIC -DPIC -o .libs/shim_im6_to_im7.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=link cc -shared -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/include -I/tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE    -o imagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules  imagick_file.lo imagick_class.lo imagickdraw_class.lo imagickpixel_class.lo imagickpixeliterator_class.lo imagick_helpers.lo imagick.lo imagickkernel_class.lo shim_im6_to_im7.lo -lgomp -lMagickWand-6.Q16 -lMagickCore-6.Q16
cc -shared  .libs/imagick_file.o .libs/imagick_class.o .libs/imagickdraw_class.o .libs/imagickpixel_class.o .libs/imagickpixeliterator_class.o .libs/imagick_helpers.o .libs/imagick.o .libs/imagickkernel_class.o .libs/shim_im6_to_im7.o  -lgomp /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so  -Wl,-soname -Wl,imagick.so -o .libs/imagick.so
creating imagick.la
(cd .libs && rm -f imagick.la && ln -s ../imagick.la imagick.la)
/bin/bash /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/libtool --tag=CC --mode=install cp ./imagick.la /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules
cp ./.libs/imagick.so /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules/imagick.so
cp ./.libs/imagick.lai /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules/imagick.la
PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/pear/temp/pear-build-defaultuserMP9sBi/imagick-3.7.0/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make -j8 INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserMP9sBi/install-imagick-3.7.0" install
Parse /tmp/pear/temp/imagick/ImagickPixel.stub.php to generate /tmp/pear/temp/imagick/ImagickPixel_arginfo.h
Parse /tmp/pear/temp/imagick/Imagick.stub.php to generate /tmp/pear/temp/imagick/Imagick_arginfo.h
--2024-08-23 07:47:50--  https://github.com/nikic/PHP-Parser/archive/v5.0.0.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... Installing header files:          /tmp/pear/temp/pear-build-defaultuserMP9sBi/install-imagick-3.7.0/usr/local/include/php/
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/nikic/PHP-Parser/tar.gz/refs/tags/v5.0.0 [following]
--2024-08-23 07:47:50--  https://codeload.github.com/nikic/PHP-Parser/tar.gz/refs/tags/v5.0.0
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 144864 (141K) [application/x-gzip]
Saving to: 'v5.0.0.tar.gz'
     0K .......... .......... .......... .......... .......... 35%  555K 0s
    50K .......... .......... .......... .......... .......... 70% 1.07M 0s
   100K .......... .......... .......... .......... .         100% 62.5M=0.1s
2024-08-23 07:47:51 (1.01 MB/s) - 'v5.0.0.tar.gz' saved [144864/144864]
PHP-Parser-5.0.0/.php-cs-fixer.dist.php
PHP-Parser-5.0.0/LICENSE
PHP-Parser-5.0.0/Makefile
[...]
PHP-Parser-5.0.0/phpstan-baseline.neon
PHP-Parser-5.0.0/phpstan.neon.dist
Saved /tmp/pear/temp/imagick/ImagickPixel_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 -j8 INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserMP9sBi/install-imagick-3.7.0" install' failed

When the job succeeds on PHP 8.3:

libraries have been installed in:
   /tmp/pear/temp/pear-build-defaultuserkazoRo/imagick-3.7.0/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make -j8 INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0" install
Installing shared extensions:     /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib/php/extensions/no-debug-non-zts-20230831/
Installing header files:          /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include/php/
running: find "/tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0" | xargs ls -dils
10920139    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0
11275793    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr
11275794    4 drwxr-xr-x 4 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local
11275797    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include
11275798    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include/php
11275799    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include/php/ext
11275800    4 drwxr-xr-x 2 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include/php/ext/imagick
11275802    4 -rw-r--r-- 1 root root    1828 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/include/php/ext/imagick/php_imagick_shared.h
11275795    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib
11275796    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib/php
11275791    4 drwxr-xr-x 3 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib/php/extensions
11275792    4 drwxr-xr-x 2 root root    4096 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib/php/extensions/no-debug-non-zts-20230831
11275801 1324 -rwxr-xr-x 1 root root 1352024 Aug 21 16:21 /tmp/pear/temp/pear-build-defaultuserkazoRo/install-imagick-3.7.0/usr/local/lib/php/extensions/no-debug-non-zts-20230831/imagick.so
Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20230831/imagick.so'
Installing '/usr/local/include/php/ext/imagick/php_imagick_shared.h'
install ok: channel://pecl.php.net/imagick-3.7.0
configuration option "php_ini" is not set to php.ini location
You should add "extension=imagick.so" to php.ini
Removing symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20230831/imagick.so... done (910008 bytes saved).
Check if the imagick module can be loaded... ok.
### REMOVING UNNEEDED PACKAGES ###
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  automake* autotools-dev* gir1.2-freedesktop* gir1.2-gdkpixbuf-2.0*
  gir1.2-glib-2.0* gir1.2-rsvg-2.0* icu-devtools* libblkid-dev* libbrotli-dev*
  libbz2-dev* libcairo-gobject2* libcairo-script-interpreter2* libcairo2-dev*
  libdeflate-dev* libdjvulibre-dev* libelf1* libexif-dev* libexif12*
  libexpat1-dev* libffi-dev* libfontconfig-dev* libfreetype-dev*
  libfreetype6-dev* libgdk-pixbuf-2.0-0* libgdk-pixbuf-2.0-dev*
  libgdk-pixbuf2.0-bin* libgdk-pixbuf2.0-common* libgirepository-1.0-1*
  libglib2.0-bin* libglib2.0-data* libglib2.0-dev* libglib2.0-dev-bin*
  libice-dev* libice6* libicu-dev* libimath-dev* libjbig-dev* libjpeg-dev*
  libjpeg62-turbo-dev* liblcms2-dev* liblerc-dev* liblqr-1-0-dev* libltdl-dev*
  liblzma-dev* liblzo2-2* libmagickcore-6-arch-config*
  libmagickcore-6-headers* libmagickcore-6.q16-dev* libmagickwand-6-headers*
  libmagickwand-6.q16-dev* libmagickwand-dev* libmount-dev* libncursesw6*
  libopenexr-dev* libopenjp2-7-dev* libpcre2-16-0* libpcre2-32-0*
  libpcre2-dev* libpcre2-posix3* libpixman-1-dev* libpng-dev*
  libpthread-stubs0-dev* libpython3-stdlib* libpython3.11-minimal*
  libpython3.11-stdlib* librsvg2-2* librsvg2-common* librsvg2-dev*
  libselinux1-dev* libsepol-dev* libsm-dev* libsm6* libtiff-dev* libtiffxx6*
  libwebp-dev* libwmf-0.2-7* libwmf-dev* libx11-dev* libxau-dev*
  libxcb-render0-dev* libxcb-shm0-dev* libxcb1-dev* libxdmcp-dev* libxext-dev*
  libxml2-dev* libxrender-dev* libxt-dev* libxt6* libzstd-dev* media-types*
  python3* python3-distutils* python3-lib2to3* python3-minimal* python3.11*
  python3.11-minimal* shared-mime-info* uuid-dev* x11-common*
  x11proto-core-dev* x11proto-dev* xorg-sgml-doctools* xtrans-dev* zlib1g-dev*
0 upgraded, 0 newly installed, 104 to remove and 0 not upgraded.
After this operation, 184 MB disk space will be freed.
(Reading database ... 20285 files and directories currently installed.)
Removing libmagickwand-dev (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing libmagickwand-6.q16-dev:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing libmagickcore-6.q16-dev:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing libltdl-dev:amd64 (2.4.7-7~deb12u1) ...
Removing automake (1:1.16.5-1.3) ...
Removing autotools-dev (20220109.1) ...
Removing librsvg2-dev:amd64 (2.54.7+dfsg-1~deb12u1) ...
Removing gir1.2-rsvg-2.0:amd64 (2.54.7+dfsg-1~deb12u1) ...
Removing gir1.2-freedesktop:amd64 (1.74.0-3) ...
Removing libgdk-pixbuf-2.0-dev:amd64 (2.42.10+dfsg-1+deb12u1) ...
Removing gir1.2-gdkpixbuf-2.0:amd64 (2.42.10+dfsg-1+deb12u1) ...
Removing gir1.2-glib-2.0:amd64 (1.74.0-3) ...
Removing libxml2-dev:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
Removing libicu-dev:amd64 (72.1-3) ...
Removing icu-devtools (72.1-3) ...
Removing libcairo2-dev:amd64 (1.16.0-7) ...
Removing libglib2.0-dev:amd64 (2.74.6-2+deb12u3) ...
Removing libmount-dev:amd64 (2.38.1-5+deb12u1) ...
Removing libblkid-dev:amd64 (2.38.1-5+deb12u1) ...
Removing libfreetype6-dev:amd64 (2.12.1+dfsg-5+deb12u3) ...
Removing libwmf-dev (0.2.12-5.1) ...
Removing libbz2-dev:amd64 (1.0.8-5+b1) ...
Removing librsvg2-common:amd64 (2.54.7+dfsg-1~deb12u1) ...
Removing librsvg2-2:amd64 (2.54.7+dfsg-1~deb12u1) ...
Removing libcairo-gobject2:amd64 (1.16.0-7) ...
Removing libcairo-script-interpreter2:amd64 (1.16.0-7) ...
Removing libtiff-dev:amd64 (4.5.0-6+deb12u1) ...
Removing libdeflate-dev:amd64 (1.14-1) ...
Removing libdjvulibre-dev:amd64 (3.5.28-2+b1) ...
Removing libglib2.0-bin (2.74.6-2+deb12u3) ...
Removing libelf1:amd64 (0.188-2.1) ...
Removing libexif-dev:amd64 (0.6.24-1+b1) ...
Removing libexif12:amd64 (0.6.24-1+b1) ...
Removing libfontconfig-dev:amd64 (2.14.1-4) ...
Removing libexpat1-dev:amd64 (2.5.0-1) ...
Removing libffi-dev:amd64 (3.4.4-1) ...
Removing libgdk-pixbuf2.0-bin (2.42.10+dfsg-1+deb12u1) ...
Removing libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1+deb12u1) ...
Removing libgdk-pixbuf2.0-common (2.42.10+dfsg-1+deb12u1) ...
Removing libgirepository-1.0-1:amd64 (1.74.0-3) ...
Removing libglib2.0-data (2.74.6-2+deb12u3) ...
Removing libglib2.0-dev-bin (2.74.6-2+deb12u3) ...
Removing libxt-dev:amd64 (1:1.2.1-1.1) ...
Removing libsm-dev:amd64 (2:1.2.3-1) ...
Removing libice-dev:amd64 (2:1.0.10-1) ...
Removing libxt6:amd64 (1:1.2.1-1.1) ...
Removing libsm6:amd64 (2:1.2.3-1) ...
Removing libice6:amd64 (2:1.0.10-1) ...
Removing libopenexr-dev (3.1.5-5) ...
Removing libimath-dev:amd64 (3.1.6-1) ...
Removing libjbig-dev:amd64 (2.1-6.1) ...
Removing libjpeg-dev:amd64 (1:2.1.5-2) ...
Removing libjpeg62-turbo-dev:amd64 (1:2.1.5-2) ...
Removing liblcms2-dev:amd64 (2.14-2) ...
Removing liblerc-dev:amd64 (4.0.0+ds-2) ...
Removing liblqr-1-0-dev:amd64 (0.4.2-2.1) ...
Removing liblzma-dev:amd64 (5.4.1-0.2) ...
Removing liblzo2-2:amd64 (2.10-2) ...
Removing libmagickcore-6-arch-config:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing libmagickwand-6-headers (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing libmagickcore-6-headers (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Removing python3-distutils (3.11.2-3) ...
Removing python3-lib2to3 (3.11.2-3) ...
Removing python3 (3.11.2-1+b1) ...
Removing python3.11 (3.11.2-6+deb12u2) ...
Removing libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Removing libpython3.11-stdlib:amd64 (3.11.2-6+deb12u2) ...
find: '/usr/lib/python3': No such file or directory
Removing libncursesw6:amd64 (6.4-4) ...
Removing libopenjp2-7-dev:amd64 (2.5.0-2) ...
Removing libselinux1-dev:amd64 (3.4-1+b6) ...
Removing libpcre2-dev:amd64 (10.42-1) ...
Removing libpcre2-16-0:amd64 (10.42-1) ...
Removing libpcre2-32-0:amd64 (10.42-1) ...
Removing libpcre2-posix3:amd64 (10.42-1) ...
Removing libpixman-1-dev:amd64 (0.42.2-1) ...
Removing libxcb-shm0-dev:amd64 (1.15-1) ...
Removing libxcb-render0-dev:amd64 (1.15-1) ...
Removing python3-minimal (3.11.2-1+b1) ...
Removing python3.11-minimal (3.11.2-6+deb12u2) ...
Removing libpython3.11-minimal:amd64 (3.11.2-6+deb12u2) ...
find: '/usr/lib/python3': No such file or directory
Removing libsepol-dev:amd64 (3.4-2.1) ...
Removing libtiffxx6:amd64 (4.5.0-6+deb12u1) ...
Removing libwebp-dev:amd64 (1.2.4-0.2+deb12u1) ...
Removing libwmf-0.2-7:amd64 (0.2.12-5.1) ...
Removing libxrender-dev:amd64 (1:0.9.10-1.1) ...
Removing libxext-dev:amd64 (2:1.3.4-1+b1) ...
Removing libx11-dev:amd64 (2:1.8.4-2+deb12u2) ...
Removing libzstd-dev:amd64 (1.5.4+dfsg2-5) ...
Removing media-types (10.0.0) ...
Removing shared-mime-info (2.2-1) ...
Removing uuid-dev:amd64 (2.38.1-5+deb12u1) ...
Removing x11-common (1:7.7+23) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
Removing x11proto-core-dev (2022.1-1) ...
Removing xtrans-dev (1.4.0-1) ...
Removing libfreetype-dev:amd64 (2.12.1+dfsg-5+deb12u3) ...
Removing libbrotli-dev:amd64 (1.0.9-2+b6) ...
Removing libpng-dev:amd64 (1.6.39-2) ...
Removing libxcb1-dev:amd64 (1.15-1) ...
Removing libpthread-stubs0-dev:amd64 (0.4-1) ...
Removing libxau-dev:amd64 (1:1.0.9-1) ...
Removing libxdmcp-dev:amd64 (1:1.1.2-3) ...
Removing x11proto-dev (2022.1-1) ...
Removing xorg-sgml-doctools (1:1.11-1.1) ...
Removing zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Processing triggers for libglib2.0-0:amd64 (2.74.6-2+deb12u3) ...
No schema files found: doing nothing.
(Reading database ... 15510 files and directories currently installed.)
Purging configuration files for media-types (10.0.0) ...
Purging configuration files for python3.11-minimal (3.11.2-6+deb12u2) ...
Purging configuration files for libmagickwand-6-headers (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Purging configuration files for x11-common (1:7.7+23) ...
Purging configuration files for python3 (3.11.2-1+b1) ...
Purging configuration files for shared-mime-info (2.2-1) ...
Purging configuration files for libmagickwand-dev (8:6.9.11.60+dfsg-1.6+deb12u1) ...
Purging configuration files for libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1+deb12u1) ...
Purging configuration files for libpython3.11-minimal:amd64 (3.11.2-6+deb12u2) ...
Purging configuration files for libmagickcore-6-headers (8:6.9.11.60+dfsg-1.6+deb12u1) ...
### RESTORING PREVIOUSLY INSTALLED PACKAGES ###

Docker image

php:8.3

Minimal Dockerfile

No response

@pereorga pereorga added the bug Something isn't working label Aug 23, 2024
@pereorga pereorga changed the title Random issues installing imagick extension on php 8.3 Random failure installing imagick extension on php 8.3 Aug 23, 2024
@mlocati
Copy link
Owner

mlocati commented Aug 23, 2024

As stated in the README, imagick is not (yet) supported with PHP 8.3+ - see #811 and Imagick/imagick#640

@mlocati mlocati closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants