php-ext.com / psr (from dev using PHP 7.3.28-zts-buster)
Dockerfile
FROM php:7.3.28-zts-buster
WORKDIR /tmp
RUN apt update && \
apt install -y --no-install-recommends git subversion autoconf build-essential && \
rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/jbboehr/php-psr /tmp/ext-src && \
cd /tmp/ext-src && \
phpize && \
./configure --enable-psr && \
make && \
make test
Build output PASS
14ss
Step 1/4 : FROM php:7.3.28-zts-buster
---> b7f4c7bf7df3
Step 2/4 : WORKDIR /tmp
---> Running in 7ca451645355
Removing intermediate container 7ca451645355
---> ff167be5e9eb
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && rm -rf /var/lib/apt/lists/*
---> Running in 4819d7cec51f
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [285 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB]
Fetched 8441 kB in 2s (4843 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING:
apt
does not have a stable CLI interface.
Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-11).
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
git-man libapr1 libaprutil1 libcurl3-gnutls liberror-perl libexpat1
libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-cvs git-mediawiki git-svn db5.3-util
libapache2-mod-svn subversion-tools
Recommended packages:
less ssh-client
The following NEW packages will be installed:
build-essential git git-man libapr1 libaprutil1 libcurl3-gnutls
liberror-perl libexpat1 libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
subversion
0 upgraded, 13 newly installed, 0 to remove and 2 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 50.2 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u2 [330 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:3 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.7 MB in 0s (76.2 MB/s)
Selecting previously unselected package build-essential.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
12684 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../01-libcurl3-gnutls_7.64.0-4+deb10u2_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../02-libexpat1_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../03-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../04-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../05-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../06-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../07-libapr1_1.6.5-1+b1_amd64.deb ...
Unpacking libapr1:amd64 (1.6.5-1+b1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../08-libaprutil1_1.6.1-4_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.1-4) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../09-libserf-1-1_1.3.9-7+b10_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-7+b10) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../10-libutf8proc2_2.3.0-1_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.3.0-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../11-libsvn1_1.10.4-1+deb10u2_amd64.deb ...
Unpacking libsvn1:amd64 (1.10.4-1+deb10u2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../12-subversion_1.10.4-1+deb10u2_amd64.deb ...
Unpacking subversion (1.10.4-1+deb10u2) ...
Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...
Setting up libutf8proc2:amd64 (2.3.0-1) ...
Setting up libapr1:amd64 (1.6.5-1+b1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Setting up liberror-perl (0.17027-2) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up build-essential (12.6) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libaprutil1:amd64 (1.6.1-4) ...
Setting up libserf-1-1:amd64 (1.3.9-7+b10) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libsvn1:amd64 (1.10.4-1+deb10u2) ...
Setting up subversion (1.10.4-1+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 4819d7cec51f
---> 22e1f9373993
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/jbboehr/php-psr /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --enable-psr && make && make test
---> Running in 6a3f186a0124
Cloning into '/tmp/ext-src'...
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep...
/bin/grep -E
checking for a sed that does not truncate output...
/bin/sed
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 we are using the GNU C compiler...
yes
checking whether cc accepts -g...
yes
checking for cc option to accept ISO C89...
none needed
checking how to run the C preprocessor...
cc -E
checking for icc...
no
checking for suncc...
no
checking whether cc understands -c and -o together...
yes
checking for system library directory...
lib
checking if compiler supports -R...
no
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-zts-20180731
checking for PHP installed headers prefix...
/usr/local/include/php
checking if debug is enabled...
no
checking if zts is enabled...
yes
checking for re2c...
re2c
checking for re2c version...
1.1.1 (ok)
checking for gawk...
no
checking for nawk...
nawk
checking if nawk is broken...
no
checking whether to enable psr support...
yes, shared
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 ANSI C header files...
yes
checking for sys/types.h...
yes
checking for sys/stat.h...
yes
checking for stdlib.h...
yes
checking for string.h...
yes
checking for memory.h...
yes
checking for strings.h...
yes
checking for inttypes.h...
yes
checking for stdint.h...
yes
checking for unistd.h...
yes
checking dlfcn.h usability...
yes
checking dlfcn.h presence...
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: creating ./config.status
config.status: creating config.h
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/php_psr.c -o php_psr.lo
mkdir .libs
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/php_psr.c -fPIC -DPIC -o .libs/php_psr.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_cache.c -o psr_cache.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_cache.c -fPIC -DPIC -o .libs/psr_cache.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_container.c -o psr_container.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_container.c -fPIC -DPIC -o .libs/psr_container.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_message.c -o psr_http_message.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_message.c -fPIC -DPIC -o .libs/psr_http_message.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_link.c -o psr_link.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_link.c -fPIC -DPIC -o .libs/psr_link.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_log.c -o psr_log.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_log.c -fPIC -DPIC -o .libs/psr_log.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_simple_cache.c -o psr_simple_cache.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_simple_cache.c -fPIC -DPIC -o .libs/psr_simple_cache.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_server_handler.c -o psr_http_server_handler.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_server_handler.c -fPIC -DPIC -o .libs/psr_http_server_handler.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_server_middleware.c -o psr_http_server_middleware.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_server_middleware.c -fPIC -DPIC -o .libs/psr_http_server_middleware.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_factory.c -o psr_http_factory.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_factory.c -fPIC -DPIC -o .libs/psr_http_factory.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_client.c -o psr_http_client.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_http_client.c -fPIC -DPIC -o .libs/psr_http_client.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_event_dispatcher.c -o psr_event_dispatcher.lo
cc -I. -I/tmp/ext-src -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/psr_event_dispatcher.c -fPIC -DPIC -o .libs/psr_event_dispatcher.o
/bin/bash /tmp/ext-src/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/ext-src/include -I/tmp/ext-src/main -I/tmp/ext-src -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 -DHAVE_CONFIG_H -g -O2 -o psr.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/ext-src/modules php_psr.lo psr_cache.lo psr_container.lo psr_http_message.lo psr_link.lo psr_log.lo psr_simple_cache.lo psr_http_server_handler.lo psr_http_server_middleware.lo psr_http_factory.lo psr_http_client.lo psr_event_dispatcher.lo
cc -shared .libs/php_psr.o .libs/psr_cache.o .libs/psr_container.o .libs/psr_http_message.o .libs/psr_link.o .libs/psr_log.o .libs/psr_simple_cache.o .libs/psr_http_server_handler.o .libs/psr_http_server_middleware.o .libs/psr_http_factory.o .libs/psr_http_client.o .libs/psr_event_dispatcher.o -Wl,-soname -Wl,psr.so -o .libs/psr.so
creating psr.la
(cd .libs && rm -f psr.la && ln -s ../psr.la psr.la)
/bin/bash /tmp/ext-src/libtool --mode=install cp ./psr.la /tmp/ext-src/modules
cp ./.libs/psr.so /tmp/ext-src/modules/psr.so
cp ./.libs/psr.lai /tmp/ext-src/modules/psr.la
PATH="$PATH:/sbin" ldconfig -n /tmp/ext-src/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/ext-src/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'.
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.3.28
ZEND_VERSION: 3.3.28
PHP_OS : Linux - Linux 6a3f186a0124 5.8.0-50-generic #56-Ubuntu SMP Mon Apr 12 17:18:36 UTC 2021 x86_64
INI actual : /tmp/ext-src/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
PHP : /usr/local/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 7.3.28
ZEND_VERSION: 3.3.28
PHP_OS : Linux - Linux 6a3f186a0124 5.8.0-50-generic #56-Ubuntu SMP Mon Apr 12 17:18:36 UTC 2021 x86_64
INI actual : /tmp/ext-src/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
CWD : /tmp/ext-src
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2021-04-30 04:31:14
=====================================================================
TEST 1/50 [tests/PsrCacheCacheException.phpt]
PASS Psr\Cache\CacheException [tests/PsrCacheCacheException.phpt]
TEST 2/50 [tests/PsrCacheCacheItemInterface.phpt]
PASS Psr\Cache\CacheItemInterface [tests/PsrCacheCacheItemInterface.phpt]
TEST 3/50 [tests/PsrCacheCacheItemPoolInterface.phpt]
PASS Psr\Cache\CacheItemPoolInterface [tests/PsrCacheCacheItemPoolInterface.phpt]
TEST 4/50 [tests/PsrCacheInvalidArgumentException.phpt]
PASS Psr\Cache\InvalidArgumentException [tests/PsrCacheInvalidArgumentException.phpt]
TEST 5/50 [tests/PsrContainerContainerExceptionInterface.phpt]
PASS Psr\Container\ContainerExceptionInterface [tests/PsrContainerContainerExceptionInterface.phpt]
TEST 6/50 [tests/PsrContainerContainerInterface.phpt]
PASS Psr\Container\ContainerInterface [tests/PsrContainerContainerInterface.phpt]
TEST 7/50 [tests/PsrContainerNotFoundExceptionInterface.phpt]
PASS Psr\Container\NotFoundExceptionInterface [tests/PsrContainerNotFoundExceptionInterface.phpt]
TEST 8/50 [tests/PsrEventDispatcherEventDispatcherInterface.phpt]
PASS Psr\EventDispatcher\EventDispatcherInterface [tests/PsrEventDispatcherEventDispatcherInterface.phpt]
TEST 9/50 [tests/PsrEventDispatcherListenerProviderInterface.phpt]
PASS Psr\EventDispatcher\ListenerProviderInterface [tests/PsrEventDispatcherListenerProviderInterface.phpt]
TEST 10/50 [tests/PsrEventDispatcherStoppableEventInterface.phpt]
PASS Psr\EventDispatcher\StoppableEventInterface [tests/PsrEventDispatcherStoppableEventInterface.phpt]
TEST 11/50 [tests/PsrHttpClientClientExceptionInterface.phpt]
PASS Psr\Http\Client\ClientExceptionInterface [tests/PsrHttpClientClientExceptionInterface.phpt]
TEST 12/50 [tests/PsrHttpClientClientInterface.phpt]
PASS Psr\Http\Client\ClientInterface [tests/PsrHttpClientClientInterface.phpt]
TEST 13/50 [tests/PsrHttpClientNetworkExceptionInterface.phpt]
PASS Psr\Http\Client\NetworkExceptionInterface [tests/PsrHttpClientNetworkExceptionInterface.phpt]
TEST 14/50 [tests/PsrHttpClientRequestExceptionInterface.phpt]
PASS Psr\Http\Client\RequestExceptionInterface [tests/PsrHttpClientRequestExceptionInterface.phpt]
TEST 15/50 [tests/PsrHttpMessageMessageInterface.phpt]
PASS Psr\Http\Message\MessageInterface [tests/PsrHttpMessageMessageInterface.phpt]
TEST 16/50 [tests/PsrHttpMessageRequestFactoryInterface.phpt]
PASS Psr\Http\Message\RequestFactoryInterface [tests/PsrHttpMessageRequestFactoryInterface.phpt]
TEST 17/50 [tests/PsrHttpMessageRequestInterface.phpt]
PASS Psr\Http\Message\RequestInterface [tests/PsrHttpMessageRequestInterface.phpt]
TEST 18/50 [tests/PsrHttpMessageResponseFactoryInterface.phpt]
PASS Psr\Http\Message\ResponseFactoryInterface [tests/PsrHttpMessageResponseFactoryInterface.phpt]
TEST 19/50 [tests/PsrHttpMessageResponseInterface.phpt]
PASS Psr\Http\Message\ResponseInterface [tests/PsrHttpMessageResponseInterface.phpt]
TEST 20/50 [tests/PsrHttpMessageServerRequestFactoryInterface.phpt]
PASS Psr\Http\Message\ServerRequestFactoryInterface [tests/PsrHttpMessageServerRequestFactoryInterface.phpt]
TEST 21/50 [tests/PsrHttpMessageServerRequestInterface.phpt]
PASS Psr\Http\Message\ServerRequestInterface [tests/PsrHttpMessageServerRequestInterface.phpt]
TEST 22/50 [tests/PsrHttpMessageStreamFactoryInterface.phpt]
PASS Psr\Http\Message\StreamFactoryInterface [tests/PsrHttpMessageStreamFactoryInterface.phpt]
TEST 23/50 [tests/PsrHttpMessageStreamInterface.phpt]
PASS Psr\Http\Message\StreamInterface [tests/PsrHttpMessageStreamInterface.phpt]
TEST 24/50 [tests/PsrHttpMessageUploadedFileFactoryInterface.phpt]
PASS Psr\Http\Message\UploadedFileFactoryInterface [tests/PsrHttpMessageUploadedFileFactoryInterface.phpt]
TEST 25/50 [tests/PsrHttpMessageUploadedFileInterface.phpt]
PASS Psr\Http\Message\UploadedFileInterface [tests/PsrHttpMessageUploadedFileInterface.phpt]
TEST 26/50 [tests/PsrHttpMessageUriFactoryInterface.phpt]
PASS Psr\Http\Message\UriFactoryInterface [tests/PsrHttpMessageUriFactoryInterface.phpt]
TEST 27/50 [tests/PsrHttpMessageUriInterface.phpt]
PASS Psr\Http\Message\UriInterface [tests/PsrHttpMessageUriInterface.phpt]
TEST 28/50 [tests/PsrHttpServerMiddlewareInterface.phpt]
PASS Psr\Http\Server\MiddlewareInterface [tests/PsrHttpServerMiddlewareInterface.phpt]
TEST 29/50 [tests/PsrHttpServerRequestHandlerInterface.phpt]
PASS Psr\Http\Server\RequestHandlerInterface [tests/PsrHttpServerRequestHandlerInterface.phpt]
TEST 30/50 [tests/PsrLinkEvolvableLinkInterface.phpt]
PASS Psr\Link\EvolvableLinkInterface [tests/PsrLinkEvolvableLinkInterface.phpt]
TEST 31/50 [tests/PsrLinkEvolvableLinkProviderInterface.phpt]
PASS Psr\Link\EvolvableLinkProviderInterface [tests/PsrLinkEvolvableLinkProviderInterface.phpt]
TEST 32/50 [tests/PsrLinkLinkInterface.phpt]
PASS Psr\Link\LinkInterface [tests/PsrLinkLinkInterface.phpt]
TEST 33/50 [tests/PsrLinkLinkProviderInterface.phpt]
PASS Psr\Link\LinkProviderInterface [tests/PsrLinkLinkProviderInterface.phpt]
TEST 34/50 [tests/PsrLogAbstractLogger.phpt]
PASS Psr\Log\AbstractLogger [tests/PsrLogAbstractLogger.phpt]
TEST 35/50 [tests/PsrLogAbstractLogger_construct.phpt]
PASS Psr\Log\AbstractLogger [tests/PsrLogAbstractLogger_construct.phpt]
TEST 36/50 [tests/PsrLogInvalidArgumentException.phpt]
PASS Psr\Log\InvalidArgumentException [tests/PsrLogInvalidArgumentException.phpt]
TEST 37/50 [tests/PsrLogLevel.phpt]
PASS Psr\Log\LogLevel [tests/PsrLogLevel.phpt]
TEST 38/50 [tests/PsrLogLoggerAwareInterface.phpt]
PASS Psr\Log\LoggerAwareInterface [tests/PsrLogLoggerAwareInterface.phpt]
TEST 39/50 [tests/PsrLogLoggerAwareTrait.phpt]
PASS Psr\Log\LoggerAwareTrait [tests/PsrLogLoggerAwareTrait.phpt]
TEST 40/50 [tests/PsrLogLoggerInterface.phpt]
PASS Psr\Log\LoggerInterface [tests/PsrLogLoggerInterface.phpt]
TEST 41/50 [tests/PsrLogLoggerTrait.phpt]
PASS Psr\Log\LoggerTrait [tests/PsrLogLoggerTrait.phpt]
TEST 42/50 [tests/PsrLogNullLogger.phpt]
PASS Psr\Log\NullLogger [tests/PsrLogNullLogger.phpt]
TEST 43/50 [tests/PsrSimpleCacheCacheException.phpt]
PASS Psr\SimpleCache\CacheException [tests/PsrSimpleCacheCacheException.phpt]
TEST 44/50 [tests/PsrSimpleCacheCacheInterface.phpt]
PASS Psr\SimpleCache\CacheInterface [tests/PsrSimpleCacheCacheInterface.phpt]
TEST 45/50 [tests/PsrSimpleCacheInvalidArgumentException.phpt]
PASS Psr\SimpleCache\InvalidArgumentException [tests/PsrSimpleCacheInvalidArgumentException.phpt]
TEST 46/50 [tests/gh20.phpt]
PASS Psr\Log\AbstractLogger context not array [tests/gh20.phpt]
TEST 47/50 [tests/gh78_php7.phpt]
XFAIL Psr\Log\LoggerInterface - Invalid context default value (PHP 7) [tests/gh78_php7.phpt] XFAIL REASON: PHP 7 internal functions cannot have default values reported via reflection
TEST 48/50 [tests/gh78_php8.phpt]
SKIP Psr\Log\LoggerInterface - Invalid context default value (PHP 8) [tests/gh78_php8.phpt] reason: Due to version incompatibility
TEST 49/50 [tests/phpinfo.phpt]
PASS psr phpinfo [tests/phpinfo.phpt]
TEST 50/50 [tests/phpinfo_lt_php72.phpt]
SKIP psr phpinfo [tests/phpinfo_lt_php72.phpt] reason: Due to version incompatibility
=====================================================================
TIME END 2021-04-30 04:31:16
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 33
---------------------------------------------------------------------
Number of tests : 50 48
Tests skipped : 2 ( 4.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 1 ( 2.0%) ( 2.1%)
Tests passed : 47 ( 94.0%) ( 97.9%)
---------------------------------------------------------------------
Time taken : 2 seconds
=====================================================================
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Psr\Log\LoggerInterface - Invalid context default value (PHP 7) [tests/gh78_php7.phpt] XFAIL REASON: PHP 7 internal functions cannot have default values reported via reflection
=====================================================================
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to [email protected] later.
Do you want to send this report now? [Yns]:
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text):
Posting to http://qa.php.net/buildtest-process.php
Removing intermediate container 6a3f186a0124
---> d29cc16210e1
Successfully built d29cc16210e1