收藏
回答

线上docker版本不知道是否有问题?编译pdo_mysql出错

[2021-12-26 21:36:18] Started by user coding

[2021-12-26 21:36:18] Running in Durability level: MAX_SURVIVABILITY

[2021-12-26 21:36:20] [Pipeline] Start of Pipeline

[2021-12-26 21:36:20] [Pipeline] node

[2021-12-26 21:36:20] Running on Jenkins in /root/workspace

[2021-12-26 21:36:20] [Pipeline] {

[2021-12-26 21:36:21] [Pipeline] stage

[2021-12-26 21:36:21] [Pipeline] { (检出 ZIP 包)

[2021-12-26 21:36:21] Stage "检出 ZIP 包" skipped due to when conditional

[2021-12-26 21:36:21] [Pipeline] }

[2021-12-26 21:36:21] [Pipeline] // stage

[2021-12-26 21:36:21] [Pipeline] stage

[2021-12-26 21:36:21] [Pipeline] { (检出代码仓库)

[2021-12-26 21:36:21] [Pipeline] sh

[2021-12-26 21:36:21] + git clone ****** .

[2021-12-26 21:36:21] Cloning into '.'...

[2021-12-26 21:36:23] [Pipeline] sh

[2021-12-26 21:36:23] + git checkout master

[2021-12-26 21:36:23] Already on 'master'

[2021-12-26 21:36:23] Your branch is up-to-date with 'origin/master'.

[2021-12-26 21:36:23] [Pipeline] }

[2021-12-26 21:36:23] [Pipeline] // stage

[2021-12-26 21:36:23] [Pipeline] stage

[2021-12-26 21:36:23] [Pipeline] { (构建 Docker 镜像)

[2021-12-26 21:36:23] [Pipeline] sh

[2021-12-26 21:36:23] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-jynb/laravel-0g3ic5be5ebdbd69_laravel-lemv:laravel-lemv-20211226213614-0

[2021-12-26 21:36:23] WARNING! Using --password via the CLI is insecure. Use --password-stdin.

[2021-12-26 21:36:24] WARNING! Your password will be stored unencrypted in /root/.docker/config.json.

[2021-12-26 21:36:24] Configure a credential helper to remove this warning. See

[2021-12-26 21:36:24] https://docs.docker.com/engine/reference/commandline/login/#credentials-store

[2021-12-26 21:36:24]

[2021-12-26 21:36:24] Login Succeeded

[2021-12-26 21:36:24] [Pipeline] sh

[2021-12-26 21:36:24] + docker build -f Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-jynb/laravel-0g3ic5be5ebdbd69_laravel-lemv:laravel-lemv-20211226213614-0 .

[2021-12-26 21:36:24] Sending build context to Docker daemon 4.18MB


[2021-12-26 21:36:24] Step 1/10 : FROM php:fpm-alpine3.15

[2021-12-26 21:36:25] fpm-alpine3.15: Pulling from library/php

[2021-12-26 21:36:25] 59bf1c3509f3: Pulling fs layer

[2021-12-26 21:36:25] 7c7da25b2876: Pulling fs layer

[2021-12-26 21:36:25] 2bc599114627: Pulling fs layer

[2021-12-26 21:36:25] 927a0b37a45a: Pulling fs layer

[2021-12-26 21:36:25] bd7ecd6ffc45: Pulling fs layer

[2021-12-26 21:36:25] 82231b0b91da: Pulling fs layer

[2021-12-26 21:36:25] 4d4bfe2ea0c2: Pulling fs layer

[2021-12-26 21:36:25] d2316236b526: Pulling fs layer

[2021-12-26 21:36:25] fe0f82e9f360: Pulling fs layer

[2021-12-26 21:36:25] b228928134f9: Pulling fs layer

[2021-12-26 21:36:25] 927a0b37a45a: Download complete

[2021-12-26 21:36:25] fe0f82e9f360: Verifying Checksum

[2021-12-26 21:36:25] fe0f82e9f360: Download complete

[2021-12-26 21:36:25] 82231b0b91da: Verifying Checksum

[2021-12-26 21:36:25] 82231b0b91da: Download complete

[2021-12-26 21:36:25] d2316236b526: Verifying Checksum

[2021-12-26 21:36:25] d2316236b526: Download complete

[2021-12-26 21:36:25] b228928134f9: Download complete

[2021-12-26 21:36:25] 2bc599114627: Verifying Checksum

[2021-12-26 21:36:25] 2bc599114627: Download complete

[2021-12-26 21:36:26] 7c7da25b2876: Verifying Checksum

[2021-12-26 21:36:26] 7c7da25b2876: Download complete

[2021-12-26 21:36:27] 59bf1c3509f3: Verifying Checksum

[2021-12-26 21:36:27] 59bf1c3509f3: Download complete

[2021-12-26 21:36:27] 59bf1c3509f3: Pull complete

[2021-12-26 21:36:27] 7c7da25b2876: Pull complete

[2021-12-26 21:36:27] 2bc599114627: Pull complete

[2021-12-26 21:36:27] 927a0b37a45a: Pull complete

[2021-12-26 21:36:27] bd7ecd6ffc45: Verifying Checksum

[2021-12-26 21:36:27] bd7ecd6ffc45: Download complete

[2021-12-26 21:36:27] bd7ecd6ffc45: Pull complete

[2021-12-26 21:36:28] 82231b0b91da: Pull complete

[2021-12-26 21:36:28] 4d4bfe2ea0c2: Verifying Checksum

[2021-12-26 21:36:28] 4d4bfe2ea0c2: Download complete

[2021-12-26 21:36:28] 4d4bfe2ea0c2: Pull complete

[2021-12-26 21:36:28] d2316236b526: Pull complete

[2021-12-26 21:36:28] fe0f82e9f360: Pull complete

[2021-12-26 21:36:28] b228928134f9: Pull complete

[2021-12-26 21:36:28] Digest: sha256:7b357ea744d98c851a7e381b639d36fcbcb4550ef2a9dc6c242d344617b63396

[2021-12-26 21:36:28] Status: Downloaded newer image for php:fpm-alpine3.15

[2021-12-26 21:36:28] ---> c126779135a7

[2021-12-26 21:36:28] Step 2/10 : RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.tencent.com/g" /etc/apk/repositories

[2021-12-26 21:36:28] ---> Running in f55ad15ad530

[2021-12-26 21:36:29] Removing intermediate container f55ad15ad530

[2021-12-26 21:36:29] ---> a30f35df3fe7

[2021-12-26 21:36:29] Step 3/10 : RUN apk add --no-cache $PHPIZE_DEPS nginx && docker-php-ext-install pdo_mysql && rm -f /var/cache/apk/*

[2021-12-26 21:36:29] ---> Running in 9fa03d368d45

[2021-12-26 21:36:30] fetch https://mirrors.tencent.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz

[2021-12-26 21:36:31] fetch https://mirrors.tencent.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz

[2021-12-26 21:36:31] (1/26) Installing m4 (1.4.18-r2)

[2021-12-26 21:36:31] (2/26) Installing libbz2 (1.0.8-r1)

[2021-12-26 21:36:31] (3/26) Installing perl (5.34.0-r1)

[2021-12-26 21:36:31] (4/26) Installing autoconf (2.71-r0)

[2021-12-26 21:36:32] (5/26) Installing dpkg (1.20.9-r0)

[2021-12-26 21:36:32] (6/26) Installing pkgconf (1.8.0-r0)

[2021-12-26 21:36:32] (7/26) Installing dpkg-dev (1.20.9-r0)

[2021-12-26 21:36:32] (8/26) Installing libmagic (5.41-r0)

[2021-12-26 21:36:32] (9/26) Installing file (5.41-r0)

[2021-12-26 21:36:32] (10/26) Installing libstdc++ (10.3.1_git20211027-r0)

[2021-12-26 21:36:32] (11/26) Installing binutils (2.37-r3)

[2021-12-26 21:36:32] (12/26) Installing libgomp (10.3.1_git20211027-r0)

[2021-12-26 21:36:32] (13/26) Installing libatomic (10.3.1_git20211027-r0)

[2021-12-26 21:36:32] (14/26) Installing libgphobos (10.3.1_git20211027-r0)

[2021-12-26 21:36:32] (15/26) Installing gmp (6.2.1-r0)

[2021-12-26 21:36:32] (16/26) Installing isl22 (0.22-r0)

[2021-12-26 21:36:32] (17/26) Installing mpfr4 (4.1.0-r0)

[2021-12-26 21:36:32] (18/26) Installing mpc1 (1.2.1-r0)

[2021-12-26 21:36:32] (19/26) Installing gcc (10.3.1_git20211027-r0)

[2021-12-26 21:36:34] (20/26) Installing musl-dev (1.2.2-r7)

[2021-12-26 21:36:35] (21/26) Installing libc-dev (0.7.2-r3)

[2021-12-26 21:36:35] (22/26) Installing g++ (10.3.1_git20211027-r0)

[2021-12-26 21:36:36] (23/26) Installing make (4.3-r0)

[2021-12-26 21:36:36] (24/26) Installing pcre (8.45-r1)

[2021-12-26 21:36:36] (25/26) Installing nginx (1.20.2-r0)

[2021-12-26 21:36:37] Executing nginx-1.20.2-r0.pre-install

[2021-12-26 21:36:37] Executing nginx-1.20.2-r0.post-install

[2021-12-26 21:36:37] (26/26) Installing re2c (2.1.1-r0)

[2021-12-26 21:36:37] Executing busybox-1.34.1-r3.trigger

[2021-12-26 21:36:37] OK: 248 MiB in 59 packages

[2021-12-26 21:36:38] fetch https://mirrors.tencent.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz

[2021-12-26 21:36:38] fetch https://mirrors.tencent.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz

[2021-12-26 21:36:38] (1/1) Installing .phpize-deps (20211226.133638)

[2021-12-26 21:36:38] OK: 248 MiB in 60 packages

[2021-12-26 21:36:39] Configuring for:

[2021-12-26 21:36:39] PHP Api Version: 20210902

[2021-12-26 21:36:39] Zend Module Api No: 20210902

[2021-12-26 21:36:39] Zend Extension Api No: 420210902

[2021-12-26 21:36:39] configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead

[2021-12-26 21:36:39] build/php.m4:2111: PHP_CONFIG_NICE is expanded from...

[2021-12-26 21:36:39] configure.ac:18: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.

[2021-12-26 21:36:39] configure.ac:161: You should run autoupdate.

[2021-12-26 21:36:39] ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.

[2021-12-26 21:36:39] configure.ac:161: You should run autoupdate.

[2021-12-26 21:36:39] ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...

[2021-12-26 21:36:39] lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...

[2021-12-26 21:36:39] lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...

[2021-12-26 21:36:39] ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...

[2021-12-26 21:36:39] ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:561: _LT_AC_LOCK is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.

[2021-12-26 21:36:39] configure.ac:161: You should run autoupdate.

[2021-12-26 21:36:39] ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...

[2021-12-26 21:36:39] lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...

[2021-12-26 21:36:39] lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...

[2021-12-26 21:36:39] ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...

[2021-12-26 21:36:39] ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:561: _LT_AC_LOCK is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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'

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.

[2021-12-26 21:36:39] configure.ac:161: You should run autoupdate.

[2021-12-26 21:36:39] ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] 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

[2021-12-26 21:36:39] build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...

[2021-12-26 21:36:39] configure.ac:161: the top level

[2021-12-26 21:36:39] checking for grep that handles long lines and -e... /bin/grep

[2021-12-26 21:36:39] checking for egrep... /bin/grep -E

[2021-12-26 21:36:39] checking for a sed that does not truncate output... /bin/sed

[2021-12-26 21:36:39] checking for pkg-config... /usr/bin/pkg-config

[2021-12-26 21:36:39] checking pkg-config is at least version 0.9.0... yes

[2021-12-26 21:36:39] checking for cc... cc

[2021-12-26 21:36:39] checking whether the C compiler works... yes

[2021-12-26 21:36:39] checking for C compiler default output file name... a.out

[2021-12-26 21:36:39] checking for suffix of executables...

[2021-12-26 21:36:39] checking whether we are cross compiling... no

[2021-12-26 21:36:39] checking for suffix of object files... o

[2021-12-26 21:36:39] checking whether the compiler supports GNU C... yes

[2021-12-26 21:36:39] checking whether cc accepts -g... yes

[2021-12-26 21:36:40] checking for cc option to enable C11 features... none needed

[2021-12-26 21:36:40] checking how to run the C preprocessor... cc -E

[2021-12-26 21:36:40] checking for icc... no

[2021-12-26 21:36:40] checking for suncc... no

[2021-12-26 21:36:40] checking for system library directory... lib

[2021-12-26 21:36:40] checking if compiler supports -R... no

[2021-12-26 21:36:40] checking if compiler supports -Wl,-rpath,... yes

[2021-12-26 21:36:40] checking build system type... x86_64-pc-linux-musl

[2021-12-26 21:36:40] checking host system type... x86_64-pc-linux-musl

[2021-12-26 21:36:40] checking target system type... x86_64-pc-linux-musl

[2021-12-26 21:36:40] checking for PHP prefix... /usr/local

[2021-12-26 21:36:40] 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

[2021-12-26 21:36:40] checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902

[2021-12-26 21:36:40] checking for PHP installed headers prefix... /usr/local/include/php

[2021-12-26 21:36:40] checking if debug is enabled... no

[2021-12-26 21:36:40] checking if zts is enabled... no

[2021-12-26 21:36:40] checking for gawk... no

[2021-12-26 21:36:40] checking for nawk... no

[2021-12-26 21:36:40] checking for awk... awk

[2021-12-26 21:36:40] checking if awk is broken... no

[2021-12-26 21:36:40] checking for MySQL support for PDO... yes, shared

[2021-12-26 21:36:40] checking for the location of libz... no

[2021-12-26 21:36:40] checking for MySQL UNIX socket location...

[2021-12-26 21:36:40] checking for PDO includes... /usr/local/include/php/ext

[2021-12-26 21:36:40] checking for a sed that does not truncate output... /bin/sed

[2021-12-26 21:36:40] checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld

[2021-12-26 21:36:40] checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes

[2021-12-26 21:36:40] checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r

[2021-12-26 21:36:40] checking for BSD-compatible nm... /usr/bin/nm -B

[2021-12-26 21:36:40] checking whether ln -s works... yes

[2021-12-26 21:36:40] checking how to recognize dependent libraries... pass_all

[2021-12-26 21:36:40] checking for stdio.h... yes

[2021-12-26 21:36:40] checking for stdlib.h... yes

[2021-12-26 21:36:40] checking for string.h... yes

[2021-12-26 21:36:40] checking for inttypes.h... yes

[2021-12-26 21:36:40] checking for stdint.h... yes

[2021-12-26 21:36:40] checking for strings.h... yes

[2021-12-26 21:36:40] checking for sys/stat.h... yes

[2021-12-26 21:36:40] checking for sys/types.h... yes

[2021-12-26 21:36:40] checking for unistd.h... yes

[2021-12-26 21:36:40] checking for dlfcn.h... yes

[2021-12-26 21:36:40] checking the maximum length of command line arguments... 98304

[2021-12-26 21:36:40] checking command to parse /usr/bin/nm -B output from cc object... ok

[2021-12-26 21:36:40] checking for objdir... .libs

[2021-12-26 21:36:40] checking for ar... ar

[2021-12-26 21:36:40] checking for ranlib... ranlib

[2021-12-26 21:36:40] checking for strip... strip

[2021-12-26 21:36:40] checking if cc supports -fno-rtti -fno-exceptions... no

[2021-12-26 21:36:40] checking for cc option to produce PIC... -fPIC

[2021-12-26 21:36:40] checking if cc PIC flag -fPIC works... yes

[2021-12-26 21:36:40] checking if cc static flag -static works... yes

[2021-12-26 21:36:40] checking if cc supports -c -o file.o... yes

[2021-12-26 21:36:40] checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes

[2021-12-26 21:36:40] checking whether -lc should be explicitly linked in... no

[2021-12-26 21:36:40] checking dynamic linker characteristics... GNU/Linux ld.so

[2021-12-26 21:36:40] checking how to hardcode library paths into programs... immediate

[2021-12-26 21:36:40] checking whether stripping libraries is possible... yes

[2021-12-26 21:36:40] checking if libtool supports shared libraries... yes

[2021-12-26 21:36:40] checking whether to build shared libraries... yes

[2021-12-26 21:36:40] checking whether to build static libraries... no

[2021-12-26 21:36:40]

[2021-12-26 21:36:40] creating libtool

[2021-12-26 21:36:40] appending configuration tag "CXX" to libtool

[2021-12-26 21:36:40] configure: patching config.h.in

[2021-12-26 21:36:40] configure: creating ./config.status

[2021-12-26 21:36:40] config.status: creating config.h

[2021-12-26 21:36:40] /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

[2021-12-26 21:36:40] make: /bin/sh: Operation not permitted

[2021-12-26 21:36:40] make: *** [Makefile:203: pdo_mysql.lo] Error 127

[2021-12-26 21:36:41] The command '/bin/sh -c apk add --no-cache $PHPIZE_DEPS nginx && docker-php-ext-install pdo_mysql && rm -f /var/cache/apk/*' returned a non-zero code: 2

[2021-12-26 21:36:41] [Pipeline] }

[2021-12-26 21:36:41] [Pipeline] // stage

[2021-12-26 21:36:41] [Pipeline] stage

[2021-12-26 21:36:41] [Pipeline] { (推送 Docker 镜像到 TCR)

[2021-12-26 21:36:41] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s)

[2021-12-26 21:36:41] [Pipeline] }

[2021-12-26 21:36:41] [Pipeline] // stage

[2021-12-26 21:36:41] [Pipeline] }

[2021-12-26 21:36:41] [Pipeline] // node

[2021-12-26 21:36:41] [Pipeline] End of Pipeline

[2021-12-26 21:36:41] ERROR: script returned exit code 2

[2021-12-26 21:36:41] Finished: FAILURE


最后报的是没有权限,不知道是不是和https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396这个有关。

回答关注问题邀请回答
收藏

1 个回答

  • 膘叔
    膘叔
    2021-12-26

    切到3.13成功了。。。

    2021-12-26
    有用
    回复
登录 后发表内容
问题标签