-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I'm using Gitlab-CI to automatically build base images with all needed extensions for our projects.
Since 8.5alpha4 this always fails, where before a simple docker-php-ext-enable opcache
used to work:
FROM docker.io/library/php:8.5-rc-fpm-bullseye@sha256:6aa46210534f80d2f49a147283fb5b8ba8091630c2a9355b21723e55df844074
...
#16 [extbuilder 3/24] RUN docker-php-ext-enable opcache || docker-php-ext-install opcache
#16 0.567 error: 'opcache' does not exist
#16 0.567
#16 0.567 usage: /usr/local/bin/docker-php-ext-enable [options] module-name [module-name ...]
#16 0.567 ie: /usr/local/bin/docker-php-ext-enable gd mysqli
#16 0.567 /usr/local/bin/docker-php-ext-enable pdo pdo_mysql
#16 0.567 /usr/local/bin/docker-php-ext-enable --ini-name 0-apc.ini apcu apc
#16 0.567
#16 0.567 Possible values for module-name:
#16 0.572 sodium.so
#16 0.572
#16 0.572 Some of the above modules are already compiled into PHP; please check
#16 0.572 the output of "php -i" to see which modules are already loaded.
#16 3.519 Configuring for:
#16 3.519 PHP Version: 8.5
#16 3.519 PHP Api Version: 20240925
#16 3.519 Zend Module Api No: 20240925
#16 3.519 Zend Extension Api No: 420240925
#16 4.589 checking for grep that handles long lines and -e... /bin/grep
#16 4.593 checking for egrep... /bin/grep -E
#16 4.596 checking for a sed that does not truncate output... /bin/sed
#16 4.669 checking build system type... x86_64-pc-linux-gnu
#16 4.681 checking host system type... x86_64-pc-linux-gnu
#16 4.681 checking target system type... x86_64-pc-linux-gnu
#16 4.742 shtool:echo:Warning: unable to determine terminal sequence for bold mode
#16 4.823 shtool:echo:Warning: unable to determine terminal sequence for bold mode
#16 4.847 checking for gawk... no
#16 4.848 checking for nawk... nawk
#16 4.848 checking if nawk is broken... no
#16 4.853 checking for pkg-config... /usr/bin/pkg-config
#16 4.854 checking pkg-config is at least version 0.9.0... yes
#16 4.857 checking for cc... cc
#16 4.901 checking whether the C compiler works... yes
#16 4.968 checking for C compiler default output file name... a.out
#16 4.970 checking for suffix of executables...
#16 5.034 checking whether we are cross compiling... no
#16 5.102 checking for suffix of object files... o
#16 5.146 checking whether we are using the GNU C compiler... yes
#16 5.185 checking whether cc accepts -g... yes
#16 5.222 checking for cc option to accept ISO C89... none needed
#16 5.276 checking how to run the C preprocessor... cc -E
#16 5.373 checking for icc... no
#16 5.389 checking for suncc... no
#16 5.406 checking for system library directory... lib
#16 5.406 checking if compiler supports -Wl,-rpath,... yes
#16 5.506 checking for PHP prefix... /usr/local
#16 5.506 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
#16 5.506 checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20240925
#16 5.506 checking for PHP installed headers prefix... /usr/local/include/php
#16 5.507 checking if debugging is enabled... no
#16 5.533 checking if PHP is built with thread safety (ZTS)... no
#16 5.561
#16 5.561 Configuring extension
#16 5.561 checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
#16 5.561 checking whether to enable JIT... yes
#16 5.561 checking whether to support opcache JIT disassembly through Capstone... no
#16 5.568 checking for mprotect... yes
#16 5.643 checking for shm_create_largepage... no
#16 5.725 checking for sysvipc shared memory support... yes
#16 5.820 checking for mmap() using MAP_ANON shared memory support... yes
#16 5.906 checking for library containing shm_open... -lrt
#16 6.051 checking for mmap() using shm_open() shared memory support... yes
#16 6.226
#16 6.226 Configuring libtool
#16 6.226 checking for a sed that does not truncate output... /bin/sed
#16 6.233 checking for ld used by cc... /usr/bin/ld
#16 6.243 checking if the linker (/usr/bin/ld) is GNU ld... yes
#16 6.249 checking for /usr/bin/ld option to reload object files... -r
#16 6.249 checking for BSD-compatible nm... /usr/bin/nm -B
#16 6.254 checking whether ln -s works... yes
#16 6.254 checking how to recognize dependent libraries... pass_all
#16 6.287 checking for ANSI C header files... yes
#16 6.474 checking for sys/types.h... yes
#16 6.527 checking for sys/stat.h... yes
#16 6.590 checking for stdlib.h... yes
#16 6.653 checking for string.h... yes
#16 6.718 checking for memory.h... yes
#16 6.774 checking for strings.h... yes
#16 6.826 checking for inttypes.h... yes
#16 6.889 checking for stdint.h... yes
#16 6.953 checking for unistd.h... yes
#16 7.011 checking dlfcn.h usability... yes
#16 7.063 checking dlfcn.h presence... yes
#16 7.084 checking for dlfcn.h... yes
#16 7.087 checking the maximum length of command line arguments... 1572864
#16 7.096 checking command to parse /usr/bin/nm -B output from cc object... ok
#16 7.220 checking for objdir... .libs
#16 7.226 checking for ar... ar
#16 7.227 checking for ranlib... ranlib
#16 7.228 checking for strip... strip
#16 7.328 checking if cc supports -fno-rtti -fno-exceptions... no
#16 7.376 checking for cc option to produce PIC... -fPIC
#16 7.377 checking if cc PIC flag -fPIC works... yes
#16 7.421 checking if cc static flag -static works... yes
#16 7.538 checking if cc supports -c -o file.o... yes
#16 7.591 checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
#16 7.620 checking whether -lc should be explicitly linked in... no
#16 7.673 checking dynamic linker characteristics... GNU/Linux ld.so
#16 7.702 checking how to hardcode library paths into programs... immediate
#16 7.702 checking whether stripping libraries is possible... yes
#16 7.708 checking if libtool supports shared libraries... yes
#16 7.708 checking whether to build shared libraries... yes
#16 7.709 checking whether to build static libraries... no
#16 8.032
#16 8.032 creating libtool
#16 8.071 appending configuration tag "CXX" to libtool
#16 8.086
#16 8.086 Generating files
#16 8.128 configure: creating build directories
#16 8.160 configure: creating Makefile
#16 8.166 configure: patching config.h.in
#16 8.172 configure: creating ./config.status
#16 8.258 config.status: creating config.h
#16 8.342
#16 8.345 Build complete.
#16 8.348 Don't forget to run 'make test'.
#16 8.350
#16 8.420 Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20240925/
#16 8.467 cp: cannot stat 'modules/*': No such file or directory
#16 8.468 make: *** [Makefile:89: install-modules] Error 1
#16 ERROR: process "/bin/sh -c docker-php-ext-enable opcache || docker-php-ext-install opcache" did not complete successfully: exit code: 2
Metadata
Metadata
Assignees
Labels
No labels