Version of install-php-extensions
v.1.5.51
Error description
When attempting to install xdebug in php:8.2 while building a container in gitlab CI I'm getting an odd error:
2: /tmp/pickle.tmp/xdebug/xdebug-3.2.0/src/lib/usefulstuff.c:1153: error: unterminated #else
2: 1153 | #ifdef ZEND_HASH_GET_APPLY_COUNT /* PHP 7.2 or earlier recursion protection */
2: |
2: make: *** [Makefile:270: src/lib/usefulstuff.lo] Error 1The command '/bin/sh -c /usr/local/bin/install-php-extensions ${EXTENSIONS} @composer' returned a non-zero code: 1
The full output can be seen here: https://gitlab.com/portlandlabs/containers/-/jobs/3479191268
For some reason I'm able to build this container without issue locally, this issue only shows up in gitlab CI.
Docker image
php:8.2
Minimal Dockerfile
https://gitlab.com/portlandlabs/containers/-/blob/main/php/default/Dockerfile
where:
- `BASE_IMAGE` = `php:8.2`
- `EXTENSIONS` = `mbstring curl intl gd xml zip bz2 pdo_mysql xdebug redis amqp`
Version of install-php-extensions
v.1.5.51
Error description
When attempting to install xdebug in php:8.2 while building a container in gitlab CI I'm getting an odd error:
The full output can be seen here: https://gitlab.com/portlandlabs/containers/-/jobs/3479191268
For some reason I'm able to build this container without issue locally, this issue only shows up in gitlab CI.
Docker image
php:8.2
Minimal Dockerfile