Closed JazzMusic131 closed 2 years ago
When running docker-compose build --no-cache or docker-compose up -d --build site, the process failed during the last step where redis is installed during what looks to be a curl request:
docker-compose build --no-cache
docker-compose up -d --build site
curl: (6) Could not resolve host: codeload.github.com
... and fails from there. I followed instructions from the YouTube video here: https://www.youtube.com/watch?v=LFrBmvgamGI
Here is the complete log:
Nux project1 $ docker-compose build --no-cache #1 [project1_site internal] load build definition from nginx.dockerfile #1 transferring dockerfile: 497B done #1 DONE 0.0s #2 [project1_php internal] load build definition from php.dockerfile #2 transferring dockerfile: 1.00kB done #2 DONE 0.0s #3 [project1_artisan internal] load build definition from php.dockerfile #3 transferring dockerfile: 36B done #3 DONE 0.0s #4 [project1_composer internal] load build definition from composer.dockerfile #4 transferring dockerfile: 378B done #4 DONE 0.0s #5 [project1_site internal] load .dockerignore #5 transferring context: 2B done #5 DONE 0.0s #6 [project1_php internal] load .dockerignore #6 transferring context: 2B done #6 DONE 0.0s #7 [project1_artisan internal] load .dockerignore #7 transferring context: 2B done #7 DONE 0.0s #8 [project1_composer internal] load .dockerignore #8 transferring context: 2B done #8 DONE 0.0s #9 [project1_site internal] load metadata for docker.io/library/nginx:stable-alpine #9 ... #10 [auth] library/nginx:pull token for registry-1.docker.io #10 DONE 0.0s #11 [auth] library/composer:pull token for registry-1.docker.io #11 DONE 0.0s #12 [auth] library/php:pull token for registry-1.docker.io #12 DONE 0.0s #13 [project1_php internal] load metadata for docker.io/library/php:8-fpm-alpine #13 ... #9 [project1_site internal] load metadata for docker.io/library/nginx:stable-alpine #9 DONE 1.1s #13 [project1_artisan internal] load metadata for docker.io/library/php:8-fpm-alpine #13 DONE 1.1s #14 [project1_php 1/11] FROM docker.io/library/php:8-fpm-alpine@sha256:b754e527237649259232c68eec17e41312f079ebca63ea89e9379167ad3bea14 #14 CACHED #15 [project1_composer internal] load metadata for docker.io/library/composer:2 #15 DONE 1.1s #16 [project1_composer 1/5] FROM docker.io/library/composer:2@sha256:e47c40c669720680dd84d0bdf597621b00509d2592ca32f0ac16aa36ae6fdc46 #16 CACHED #17 [project1_site 1/7] FROM docker.io/library/nginx:stable-alpine@sha256:016789c9a2d021b2dcb5e1c724c75ab0a57cc4e8cd7aab7bb28e69fec7c8c4fc #17 CACHED #18 [project1_site internal] load build context #18 transferring context: 65B done #18 DONE 0.0s #19 [project1_php 2/11] RUN mkdir -p /var/www/html #19 ... #20 [project1_site 2/7] RUN delgroup dialout #20 DONE 0.5s #21 [project1_site 3/7] RUN addgroup -g 1000 --system laravel #21 ... #22 [project1_composer 2/5] RUN delgroup dialout #22 DONE 0.7s #19 [project1_artisan 2/11] RUN mkdir -p /var/www/html #19 DONE 0.8s #23 [project1_artisan 3/11] WORKDIR /var/www/html #23 DONE 0.1s #24 [project1_php 4/11] RUN delgroup dialout #24 ... #21 [project1_site 3/7] RUN addgroup -g 1000 --system laravel #21 DONE 1.1s #25 [project1_site 4/7] RUN adduser -G laravel --system -D -s /bin/sh -u 1000 laravel #25 ... #26 [project1_composer 3/5] RUN addgroup -g 1000 --system laravel #26 DONE 1.3s #27 [project1_composer 4/5] RUN adduser -G laravel --system -D -s /bin/sh -u 1000 laravel #27 ... #24 [project1_artisan 4/11] RUN delgroup dialout #24 DONE 1.7s #25 [project1_site 4/7] RUN adduser -G laravel --system -D -s /bin/sh -u 1000 laravel #25 DONE 1.0s #28 [project1_artisan 5/11] RUN addgroup -g 1000 --system laravel #28 ... #27 [project1_composer 4/5] RUN adduser -G laravel --system -D -s /bin/sh -u 1000 laravel #27 DONE 1.3s #29 [project1_composer 5/5] WORKDIR /var/www/html #29 DONE 0.0s #30 [project1_composer] exporting to image #30 exporting layers 0.0s done #30 writing image sha256:b8b386627dbc739eb21e30ad99a778ca113897ef4fdf99b08cee5e90f23b89e5 done #30 naming to docker.io/library/project1_composer done #30 DONE 0.1s #31 [project1_site 5/7] RUN sed -i "s/user nginx/user laravel/g" /etc/nginx/nginx.conf #31 DONE 1.5s #28 [project1_artisan 5/11] RUN addgroup -g 1000 --system laravel #28 DONE 1.5s #32 [project1_site 6/7] ADD ./nginx/default.conf /etc/nginx/conf.d/ #32 DONE 0.0s #33 [project1_artisan 6/11] RUN adduser -G laravel --system -D -s /bin/sh -u 1000 laravel #33 DONE 1.3s #34 [project1_php 7/11] RUN sed -i "s/user = www-data/user = laravel/g" /usr/local/etc/php-fpm.d/www.conf #34 ... #35 [project1_site 7/7] RUN mkdir -p /var/www/html #35 DONE 1.5s #30 [project1_site] exporting to image #30 exporting layers 0.1s done #30 writing image sha256:0b5eea2b71562f6302a7492e04c9040508f23a69f45ff33b1b9068dc1656531f #30 writing image sha256:0b5eea2b71562f6302a7492e04c9040508f23a69f45ff33b1b9068dc1656531f done #30 naming to docker.io/library/project1_site done #30 DONE 0.2s #34 [project1_php 7/11] RUN sed -i "s/user = www-data/user = laravel/g" /usr/local/etc/php-fpm.d/www.conf #34 DONE 0.8s #36 [project1_php 8/11] RUN sed -i "s/group = www-data/group = laravel/g" /usr/local/etc/php-fpm.d/www.conf #36 DONE 0.6s #37 [project1_artisan 9/11] RUN echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf #37 DONE 0.6s #38 [project1_artisan 10/11] RUN docker-php-ext-install pdo pdo_mysql #38 2.547 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz #38 2.956 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz #38 3.522 (1/25) Installing m4 (1.4.18-r2) #38 3.565 (2/25) Installing libbz2 (1.0.8-r1) #38 3.590 (3/25) Installing perl (5.34.0-r1) #38 5.841 (4/25) Installing autoconf (2.71-r0) #38 6.123 (5/25) Installing pkgconf (1.8.0-r0) #38 6.150 (6/25) Installing dpkg-dev (1.20.9-r0) #38 6.233 (7/25) Installing dpkg (1.20.9-r0) #38 6.359 (8/25) Installing libmagic (5.41-r0) #38 6.479 (9/25) Installing file (5.41-r0) #38 6.500 (10/25) Installing libstdc++ (10.3.1_git20211027-r0) #38 6.641 (11/25) Installing binutils (2.37-r3) #38 7.269 (12/25) Installing libgomp (10.3.1_git20211027-r0) #38 7.310 (13/25) Installing libatomic (10.3.1_git20211027-r0) #38 7.333 (14/25) Installing libgphobos (10.3.1_git20211027-r0) #38 7.812 (15/25) Installing gmp (6.2.1-r1) #38 7.883 (16/25) Installing isl22 (0.22-r0) #38 8.068 (17/25) Installing mpfr4 (4.1.0-r0) #38 8.599 (18/25) Installing mpc1 (1.2.1-r0) #38 8.625 (19/25) Installing gcc (10.3.1_git20211027-r0) #38 16.11 (20/25) Installing musl-dev (1.2.2-r7) #38 16.87 (21/25) Installing libc-dev (0.7.2-r3) #38 16.89 (22/25) Installing g++ (10.3.1_git20211027-r0) #38 21.39 (23/25) Installing make (4.3-r0) #38 21.43 (24/25) Installing re2c (2.1.1-r0) #38 21.54 (25/25) Installing .phpize-deps (20220524.030756) #38 21.54 Executing busybox-1.34.1-r5.trigger #38 21.55 OK: 248 MiB in 59 packages #38 21.63 Configuring for: #38 21.63 PHP Api Version: 20210902 #38 21.63 Zend Module Api No: 20210902 #38 21.63 Zend Extension Api No: 420210902 #38 21.99 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead #38 21.99 build/php.m4:2111: PHP_CONFIG_NICE is expanded from... #38 21.99 configure.ac:18: the top level #38 21.99 configure.ac:161: warning: The macro `AC_LANG_C' is obsolete. #38 21.99 configure.ac:161: You should run autoupdate. #38 21.99 ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... #38 21.99 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 21.99 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 21.99 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 21.99 configure.ac:161: the top level #38 21.99 configure.ac:161: warning: The macro `AC_LANG_C' is obsolete. #38 21.99 configure.ac:161: You should run autoupdate. #38 21.99 ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... #38 21.99 lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... #38 21.99 lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... #38 21.99 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... #38 21.99 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... #38 21.99 build/libtool.m4:561: _LT_AC_LOCK is expanded from... #38 21.99 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 21.99 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 21.99 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 21.99 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 21.99 configure.ac:161: the top level #38 21.99 configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete. #38 21.99 configure.ac:161: You should run autoupdate. #38 21.99 ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... #38 21.99 lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... #38 21.99 lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... #38 21.99 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... #38 21.99 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... #38 21.99 build/libtool.m4:561: _LT_AC_LOCK is expanded from... #38 21.99 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 21.99 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 21.99 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 21.99 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 21.99 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 21.99 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 22.00 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 22.00 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 22.00 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 22.00 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 22.00 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 22.00 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. #38 22.00 configure.ac:161: You should run autoupdate. #38 22.00 ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... #38 22.00 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 22.00 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 22.00 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.00 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 22.00 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 22.00 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 22.00 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 22.00 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 22.00 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 22.00 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 22.00 configure.ac:161: the top level #38 22.61 checking for grep that handles long lines and -e... /bin/grep #38 22.65 checking for egrep... /bin/grep -E #38 22.65 checking for a sed that does not truncate output... /bin/sed #38 22.67 checking for pkg-config... /usr/bin/pkg-config #38 22.67 checking pkg-config is at least version 0.9.0... yes #38 22.67 checking for cc... cc #38 22.69 checking whether the C compiler works... yes #38 22.73 checking for C compiler default output file name... a.out #38 22.73 checking for suffix of executables... #38 22.76 checking whether we are cross compiling... no #38 22.80 checking for suffix of object files... o #38 22.82 checking whether the compiler supports GNU C... yes #38 22.85 checking whether cc accepts -g... yes #38 22.87 checking for cc option to enable C11 features... none needed #38 22.93 checking how to run the C preprocessor... cc -E #38 22.98 checking for icc... no #38 23.00 checking for suncc... no #38 23.01 checking for system library directory... lib #38 23.01 checking if compiler supports -Wl,-rpath,... yes #38 23.04 checking build system type... x86_64-pc-linux-musl #38 23.05 checking host system type... x86_64-pc-linux-musl #38 23.05 checking target system type... x86_64-pc-linux-musl #38 23.10 checking for PHP prefix... /usr/local #38 23.10 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 #38 23.10 checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902 #38 23.10 checking for PHP installed headers prefix... /usr/local/include/php #38 23.10 checking if debug is enabled... no #38 23.11 checking if zts is enabled... no #38 23.13 checking for gawk... no #38 23.13 checking for nawk... no #38 23.13 checking for awk... awk #38 23.13 checking if awk is broken... no #38 23.13 checking whether to enable PDO support... yes, shared #38 23.14 checking for a sed that does not truncate output... /bin/sed #38 23.15 checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld #38 23.16 checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes #38 23.16 checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r #38 23.17 checking for BSD-compatible nm... /usr/bin/nm -B #38 23.17 checking whether ln -s works... yes #38 23.17 checking how to recognize dependent libraries... pass_all #38 23.19 checking for stdio.h... yes #38 23.21 checking for stdlib.h... yes #38 23.23 checking for string.h... yes #38 23.25 checking for inttypes.h... yes #38 23.27 checking for stdint.h... yes #38 23.29 checking for strings.h... yes #38 23.31 checking for sys/stat.h... yes #38 23.33 checking for sys/types.h... yes #38 23.36 checking for unistd.h... yes #38 23.38 checking for dlfcn.h... yes #38 23.41 checking the maximum length of command line arguments... 98304 #38 23.41 checking command to parse /usr/bin/nm -B output from cc object... ok #38 23.47 checking for objdir... .libs #38 23.47 checking for ar... ar #38 23.47 checking for ranlib... ranlib #38 23.47 checking for strip... strip #38 23.52 checking if cc supports -fno-rtti -fno-exceptions... no #38 23.54 checking for cc option to produce PIC... -fPIC #38 23.54 checking if cc PIC flag -fPIC works... yes #38 23.56 checking if cc static flag -static works... yes #38 23.59 checking if cc supports -c -o file.o... yes #38 23.62 checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes #38 23.63 checking whether -lc should be explicitly linked in... no #38 23.65 checking dynamic linker characteristics... GNU/Linux ld.so #38 23.66 checking how to hardcode library paths into programs... immediate #38 23.66 checking whether stripping libraries is possible... yes #38 23.66 checking if libtool supports shared libraries... yes #38 23.66 checking whether to build shared libraries... yes #38 23.67 checking whether to build static libraries... no #38 23.73 #38 23.73 creating libtool #38 23.76 appending configuration tag "CXX" to libtool #38 23.83 configure: patching config.h.in #38 23.83 configure: creating ./config.status #38 23.86 config.status: creating config.h #38 23.89 /bin/sh /usr/src/php/ext/pdo/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo.c -o pdo.lo -MMD -MF pdo.dep -MT pdo.lo #38 23.95 mkdir .libs #38 23.95 cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo.c -MMD -MF pdo.dep -MT pdo.lo -fPIC -DPIC -o .libs/pdo.o #38 24.24 /bin/sh /usr/src/php/ext/pdo/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_dbh.c -o pdo_dbh.lo -MMD -MF pdo_dbh.dep -MT pdo_dbh.lo #38 24.29 cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_dbh.c -MMD -MF pdo_dbh.dep -MT pdo_dbh.lo -fPIC -DPIC -o .libs/pdo_dbh.o #38 25.11 /bin/sh /usr/src/php/ext/pdo/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_stmt.c -o pdo_stmt.lo -MMD -MF pdo_stmt.dep -MT pdo_stmt.lo #38 25.17 cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_stmt.c -MMD -MF pdo_stmt.dep -MT pdo_stmt.lo -fPIC -DPIC -o .libs/pdo_stmt.o #38 27.61 /bin/sh /usr/src/php/ext/pdo/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_sql_parser.c -o pdo_sql_parser.lo -MMD -MF pdo_sql_parser.dep -MT pdo_sql_parser.lo #38 27.67 cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_sql_parser.c -MMD -MF pdo_sql_parser.dep -MT pdo_sql_parser.lo -fPIC -DPIC -o .libs/pdo_sql_parser.o #38 28.06 /bin/sh /usr/src/php/ext/pdo/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_sqlstate.c -o pdo_sqlstate.lo -MMD -MF pdo_sqlstate.dep -MT pdo_sqlstate.lo #38 28.11 cc -I. -I/usr/src/php/ext/pdo -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo/pdo_sqlstate.c -MMD -MF pdo_sqlstate.dep -MT pdo_sqlstate.lo -fPIC -DPIC -o .libs/pdo_sqlstate.o #38 28.31 /bin/sh /usr/src/php/ext/pdo/libtool --mode=link cc -shared -I/usr/src/php/ext/pdo/include -I/usr/src/php/ext/pdo/main -I/usr/src/php/ext/pdo -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-O1 -pie -o pdo.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/src/php/ext/pdo/modules pdo.lo pdo_dbh.lo pdo_stmt.lo pdo_sql_parser.lo pdo_sqlstate.lo #38 28.37 cc -shared .libs/pdo.o .libs/pdo_dbh.o .libs/pdo_stmt.o .libs/pdo_sql_parser.o .libs/pdo_sqlstate.o -Wl,-O1 -Wl,-soname -Wl,pdo.so -o .libs/pdo.so #38 28.39 creating pdo.la #38 28.39 (cd .libs && rm -f pdo.la && ln -s ../pdo.la pdo.la) #38 28.40 /bin/sh /usr/src/php/ext/pdo/libtool --mode=install cp ./pdo.la /usr/src/php/ext/pdo/modules #38 28.42 cp ./.libs/pdo.so /usr/src/php/ext/pdo/modules/pdo.so #38 28.42 cp ./.libs/pdo.lai /usr/src/php/ext/pdo/modules/pdo.la #38 28.43 PATH="$PATH:/sbin" ldconfig -n /usr/src/php/ext/pdo/modules #38 28.44 ---------------------------------------------------------------------- #38 28.44 Libraries have been installed in: #38 28.44 /usr/src/php/ext/pdo/modules #38 28.44 #38 28.44 If you ever happen to want to link against installed libraries #38 28.44 in a given directory, LIBDIR, you must either use libtool, and #38 28.44 specify the full pathname of the library, or use the `-LLIBDIR' #38 28.44 flag during linking and do at least one of the following: #38 28.44 - add LIBDIR to the `LD_LIBRARY_PATH' environment variable #38 28.44 during execution #38 28.44 - add LIBDIR to the `LD_RUN_PATH' environment variable #38 28.44 during linking #38 28.44 - use the `-Wl,--rpath -Wl,LIBDIR' linker flag #38 28.44 #38 28.44 See any operating system documentation about shared libraries for #38 28.44 more information, such as the ld(1) and ld.so(8) manual pages. #38 28.44 ---------------------------------------------------------------------- #38 28.44 #38 28.44 Build complete. #38 28.44 Don't forget to run 'make test'. #38 28.44 #38 28.46 + strip --strip-all modules/pdo.so #38 28.49 Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/ #38 28.59 Installing header files: /usr/local/include/php/ #38 28.66 Installing PDO headers: /usr/local/include/php/ext/pdo/ #38 28.77 #38 28.77 warning: pdo (pdo.so) is already loaded! #38 28.77 #38 28.78 find . -name \*.gcno -o -name \*.gcda | xargs rm -f #38 28.78 find . -name \*.lo -o -name \*.o -o -name \*.dep | xargs rm -f #38 28.79 find . -name \*.la -o -name \*.a | xargs rm -f #38 28.79 find . -name \*.so | xargs rm -f #38 28.79 find . -name .libs -a -type d|xargs rm -rf #38 28.79 rm -f libphp.la modules/* libs/* #38 28.79 rm -f ext/opcache/jit/zend_jit_x86.c #38 28.80 rm -f ext/opcache/jit/zend_jit_arm64.c #38 28.84 Configuring for: #38 28.84 PHP Api Version: 20210902 #38 28.84 Zend Module Api No: 20210902 #38 28.84 Zend Extension Api No: 420210902 #38 29.18 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead #38 29.18 build/php.m4:2111: PHP_CONFIG_NICE is expanded from... #38 29.18 configure.ac:18: the top level #38 29.18 configure.ac:161: warning: The macro `AC_LANG_C' is obsolete. #38 29.18 configure.ac:161: You should run autoupdate. #38 29.18 ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... #38 29.18 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: The macro `AC_LANG_C' is obsolete. #38 29.18 configure.ac:161: You should run autoupdate. #38 29.18 ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... #38 29.18 lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... #38 29.18 lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... #38 29.18 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... #38 29.18 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... #38 29.18 build/libtool.m4:561: _LT_AC_LOCK is expanded from... #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete. #38 29.18 configure.ac:161: You should run autoupdate. #38 29.18 ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... #38 29.18 lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... #38 29.18 lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... #38 29.18 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... #38 29.18 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... #38 29.18 build/libtool.m4:561: _LT_AC_LOCK is expanded from... #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. #38 29.18 configure.ac:161: You should run autoupdate. #38 29.18 ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... #38 29.18 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.18 configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe #38 29.18 build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... #38 29.18 build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... #38 29.18 build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from... #38 29.18 build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... #38 29.18 build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... #38 29.18 build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... #38 29.18 configure.ac:161: the top level #38 29.87 checking for grep that handles long lines and -e... /bin/grep #38 29.91 checking for egrep... /bin/grep -E #38 29.91 checking for a sed that does not truncate output... /bin/sed #38 29.93 checking for pkg-config... /usr/bin/pkg-config #38 29.93 checking pkg-config is at least version 0.9.0... yes #38 29.93 checking for cc... cc #38 29.95 checking whether the C compiler works... yes #38 29.98 checking for C compiler default output file name... a.out #38 29.98 checking for suffix of executables... #38 30.02 checking whether we are cross compiling... no #38 30.06 checking for suffix of object files... o #38 30.08 checking whether the compiler supports GNU C... yes #38 30.11 checking whether cc accepts -g... yes #38 30.14 checking for cc option to enable C11 features... none needed #38 30.22 checking how to run the C preprocessor... cc -E #38 30.27 checking for icc... no #38 30.28 checking for suncc... no #38 30.30 checking for system library directory... lib #38 30.30 checking if compiler supports -Wl,-rpath,... yes #38 30.33 checking build system type... x86_64-pc-linux-musl #38 30.34 checking host system type... x86_64-pc-linux-musl #38 30.34 checking target system type... x86_64-pc-linux-musl #38 30.39 checking for PHP prefix... /usr/local #38 30.39 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 #38 30.39 checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902 #38 30.39 checking for PHP installed headers prefix... /usr/local/include/php #38 30.39 checking if debug is enabled... no #38 30.40 checking if zts is enabled... no #38 30.42 checking for gawk... no #38 30.42 checking for nawk... no #38 30.42 checking for awk... awk #38 30.42 checking if awk is broken... no #38 30.43 checking for MySQL support for PDO... yes, shared #38 30.43 checking for the location of libz... no #38 30.43 checking for MySQL UNIX socket location... #38 30.43 checking for PDO includes... /usr/local/include/php/ext #38 30.43 checking for a sed that does not truncate output... /bin/sed #38 30.43 checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld #38 30.44 checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes #38 30.44 checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r #38 30.44 checking for BSD-compatible nm... /usr/bin/nm -B #38 30.45 checking whether ln -s works... yes #38 30.45 checking how to recognize dependent libraries... pass_all #38 30.46 checking for stdio.h... yes #38 30.48 checking for stdlib.h... yes #38 30.50 checking for string.h... yes #38 30.52 checking for inttypes.h... yes #38 30.54 checking for stdint.h... yes #38 30.56 checking for strings.h... yes #38 30.58 checking for sys/stat.h... yes #38 30.61 checking for sys/types.h... yes #38 30.63 checking for unistd.h... yes #38 30.66 checking for dlfcn.h... yes #38 30.69 checking the maximum length of command line arguments... 98304 #38 30.69 checking command to parse /usr/bin/nm -B output from cc object... ok #38 30.74 checking for objdir... .libs #38 30.75 checking for ar... ar #38 30.75 checking for ranlib... ranlib #38 30.75 checking for strip... strip #38 30.80 checking if cc supports -fno-rtti -fno-exceptions... no #38 30.82 checking for cc option to produce PIC... -fPIC #38 30.82 checking if cc PIC flag -fPIC works... yes #38 30.84 checking if cc static flag -static works... yes #38 30.87 checking if cc supports -c -o file.o... yes #38 30.89 checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes #38 30.91 checking whether -lc should be explicitly linked in... no #38 30.93 checking dynamic linker characteristics... GNU/Linux ld.so #38 30.94 checking how to hardcode library paths into programs... immediate #38 30.94 checking whether stripping libraries is possible... yes #38 30.94 checking if libtool supports shared libraries... yes #38 30.94 checking whether to build shared libraries... yes #38 30.94 checking whether to build static libraries... no #38 31.01 #38 31.01 creating libtool #38 31.04 appending configuration tag "CXX" to libtool #38 31.11 configure: patching config.h.in #38 31.11 configure: creating ./config.status #38 31.14 config.status: creating config.h #38 31.18 /bin/sh /usr/src/php/ext/pdo_mysql/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/pdo_mysql.c -o pdo_mysql.lo -MMD -MF pdo_mysql.dep -MT pdo_mysql.lo #38 31.23 mkdir .libs #38 31.23 cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/pdo_mysql.c -MMD -MF pdo_mysql.dep -MT pdo_mysql.lo -fPIC -DPIC -o .libs/pdo_mysql.o #38 31.48 /bin/sh /usr/src/php/ext/pdo_mysql/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/mysql_driver.c -o mysql_driver.lo -MMD -MF mysql_driver.dep -MT mysql_driver.lo #38 31.54 cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/mysql_driver.c -MMD -MF mysql_driver.dep -MT mysql_driver.lo -fPIC -DPIC -o .libs/mysql_driver.o #38 32.10 /bin/sh /usr/src/php/ext/pdo_mysql/libtool --mode=compile cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/mysql_statement.c -o mysql_statement.lo -MMD -MF mysql_statement.dep -MT mysql_statement.lo #38 32.16 cc -I. -I/usr/src/php/ext/pdo_mysql -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/php/ext -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/pdo_mysql/mysql_statement.c -MMD -MF mysql_statement.dep -MT mysql_statement.lo -fPIC -DPIC -o .libs/mysql_statement.o #38 32.60 /bin/sh /usr/src/php/ext/pdo_mysql/libtool --mode=link cc -shared -I/usr/src/php/ext/pdo_mysql/include -I/usr/src/php/ext/pdo_mysql/main -I/usr/src/php/ext/pdo_mysql -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 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-O1 -pie -o pdo_mysql.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/src/php/ext/pdo_mysql/modules pdo_mysql.lo mysql_driver.lo mysql_statement.lo #38 32.66 cc -shared .libs/pdo_mysql.o .libs/mysql_driver.o .libs/mysql_statement.o -Wl,-O1 -Wl,-soname -Wl,pdo_mysql.so -o .libs/pdo_mysql.so #38 32.67 creating pdo_mysql.la #38 32.68 (cd .libs && rm -f pdo_mysql.la && ln -s ../pdo_mysql.la pdo_mysql.la) #38 32.68 /bin/sh /usr/src/php/ext/pdo_mysql/libtool --mode=install cp ./pdo_mysql.la /usr/src/php/ext/pdo_mysql/modules #38 32.69 cp ./.libs/pdo_mysql.so /usr/src/php/ext/pdo_mysql/modules/pdo_mysql.so #38 32.70 cp ./.libs/pdo_mysql.lai /usr/src/php/ext/pdo_mysql/modules/pdo_mysql.la #38 32.71 PATH="$PATH:/sbin" ldconfig -n /usr/src/php/ext/pdo_mysql/modules #38 32.71 ---------------------------------------------------------------------- #38 32.71 Libraries have been installed in: #38 32.71 /usr/src/php/ext/pdo_mysql/modules #38 32.71 #38 32.71 If you ever happen to want to link against installed libraries #38 32.71 in a given directory, LIBDIR, you must either use libtool, and #38 32.71 specify the full pathname of the library, or use the `-LLIBDIR' #38 32.71 flag during linking and do at least one of the following: #38 32.71 - add LIBDIR to the `LD_LIBRARY_PATH' environment variable #38 32.71 during execution #38 32.71 - add LIBDIR to the `LD_RUN_PATH' environment variable #38 32.71 during linking #38 32.71 - use the `-Wl,--rpath -Wl,LIBDIR' linker flag #38 32.71 #38 32.71 See any operating system documentation about shared libraries for #38 32.71 more information, such as the ld(1) and ld.so(8) manual pages. #38 32.71 ---------------------------------------------------------------------- #38 32.71 #38 32.72 Build complete. #38 32.72 Don't forget to run 'make test'. #38 32.72 #38 32.73 + strip --strip-all modules/pdo_mysql.so #38 32.76 Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/ #38 32.81 find . -name \*.gcno -o -name \*.gcda | xargs rm -f #38 32.81 find . -name \*.lo -o -name \*.o -o -name \*.dep | xargs rm -f #38 32.82 find . -name \*.la -o -name \*.a | xargs rm -f #38 32.82 find . -name \*.so | xargs rm -f #38 32.82 find . -name .libs -a -type d|xargs rm -rf #38 32.83 rm -f libphp.la modules/* libs/* #38 32.83 rm -f ext/opcache/jit/zend_jit_x86.c #38 32.83 rm -f ext/opcache/jit/zend_jit_arm64.c #38 32.84 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory #38 32.84 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory #38 32.84 (1/25) Purging .phpize-deps (20220524.030756) #38 32.84 (2/25) Purging autoconf (2.71-r0) #38 32.84 (3/25) Purging m4 (1.4.18-r2) #38 32.84 (4/25) Purging dpkg-dev (1.20.9-r0) #38 32.85 (5/25) Purging perl (5.34.0-r1) #38 32.88 (6/25) Purging dpkg (1.20.9-r0) #38 32.89 (7/25) Purging file (5.41-r0) #38 32.89 (8/25) Purging g++ (10.3.1_git20211027-r0) #38 32.91 (9/25) Purging gcc (10.3.1_git20211027-r0) #38 32.93 (10/25) Purging binutils (2.37-r3) #38 32.94 (11/25) Purging libatomic (10.3.1_git20211027-r0) #38 32.94 (12/25) Purging libgomp (10.3.1_git20211027-r0) #38 32.94 (13/25) Purging libgphobos (10.3.1_git20211027-r0) #38 32.95 (14/25) Purging libc-dev (0.7.2-r3) #38 32.95 (15/25) Purging musl-dev (1.2.2-r7) #38 32.97 (16/25) Purging make (4.3-r0) #38 32.97 (17/25) Purging pkgconf (1.8.0-r0) #38 32.97 (18/25) Purging re2c (2.1.1-r0) #38 32.97 (19/25) Purging libbz2 (1.0.8-r1) #38 32.97 (20/25) Purging libmagic (5.41-r0) #38 32.97 (21/25) Purging libstdc++ (10.3.1_git20211027-r0) #38 32.97 (22/25) Purging mpc1 (1.2.1-r0) #38 32.97 (23/25) Purging mpfr4 (4.1.0-r0) #38 32.97 (24/25) Purging isl22 (0.22-r0) #38 32.97 (25/25) Purging gmp (6.2.1-r1) #38 32.97 Executing busybox-1.34.1-r5.trigger #38 32.98 OK: 15 MiB in 34 packages #38 DONE 34.4s #39 [project1_artisan 11/11] RUN mkdir -p /usr/src/php/ext/redis && curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 && echo 'redis' >> /usr/src/php-available-exts && docker-php-ext-install redis #39 0.515 % Total % Received % Xferd Average Speed Time Time Time Current #39 0.515 Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0curl: (6) Could not resolve host: codeload.github.com #39 5.808 gzip: invalid magic #39 5.809 tar: Child returned status 1 #39 5.809 tar: Error is not recoverable: exiting now #39 ERROR: executor failed running [/bin/sh -c mkdir -p /usr/src/php/ext/redis && curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 && echo 'redis' >> /usr/src/php-available-exts && docker-php-ext-install redis]: exit code: 2 ------ > [project1_php 11/11] RUN mkdir -p /usr/src/php/ext/redis && curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 && echo 'redis' >> /usr/src/php-available-exts && docker-php-ext-install redis: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (6) Could not resolve host: codeload.github.com #39 5.808 gzip: invalid magic #39 5.809 tar: Child returned status 1 #39 5.809 tar: Error is not recoverable: exiting now ------ failed to solve: executor failed running [/bin/sh -c mkdir -p /usr/src/php/ext/redis && curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 && echo 'redis' >> /usr/src/php-available-exts && docker-php-ext-install redis]: exit code: 2
So I guess my IP was behind a proxy. I connected to my VPN, tried again and it worked. Sweet,
When running
docker-compose build --no-cache
ordocker-compose up -d --build site
, the process failed during the last step where redis is installed during what looks to be a curl request:curl: (6) Could not resolve host: codeload.github.com
... and fails from there. I followed instructions from the YouTube video here: https://www.youtube.com/watch?v=LFrBmvgamGI
Here is the complete log: