php-ext.com / zmq (from dev using PHP 8.0.5-zts-buster)

Dockerfile
FROM php:8.0.5-zts-buster
WORKDIR /tmp
RUN apt update && \
    apt install -y --no-install-recommends git subversion autoconf build-essential && \
    apt install -y --no-install-recommends libzmq3-dev && \
    rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/zeromq/php-zmq /tmp/ext-src && \
    cd /tmp/ext-src && \
    phpize && \
    ./configure --with-zmq && \
    make && \
    make test
Build output PASS 21ss
Step 1/4 : FROM php:8.0.5-zts-buster
---> e89b8bc8c67a
Step 2/4 : WORKDIR /tmp
---> Running in e408c87a1d11
Removing intermediate container e408c87a1d11
---> 15037305ce6f
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libzmq3-dev && rm -rf /var/lib/apt/lists/*
---> Running in 17a2dd5603b1


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 1s (5716 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 (85.5 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 ...
12690 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) ...


WARNING: 
apt
 
does not have a stable CLI interface. 
Use with caution in scripts.




Reading package lists...
Building dependency tree...
Reading state information...
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:
comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11
libkdb5-9 libkrb5-dev libnorm-dev libnorm1 libpgm-5.2-0 libpgm-dev
libsodium-dev libzmq5
Suggested packages:
doc-base krb5-doc krb5-user libnorm-doc
The following NEW packages will be installed:
comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11
libkdb5-9 libkrb5-dev libnorm-dev libnorm1 libpgm-5.2-0 libpgm-dev
libsodium-dev libzmq3-dev libzmq5
0 upgraded, 14 newly installed, 0 to remove and 2 not upgraded.
Need to get 2588 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 comerr-dev amd64 2.1-1.44.5-1+deb10u3 [102 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libgssrpc4 amd64 1.17-3+deb10u1 [91.2 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libkdb5-9 amd64 1.17-3+deb10u1 [73.5 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libkadm5srv-mit11 amd64 1.17-3+deb10u1 [85.7 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libkadm5clnt-mit11 amd64 1.17-3+deb10u1 [73.5 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 krb5-multidev amd64 1.17-3+deb10u1 [156 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libkrb5-dev amd64 1.17-3+deb10u1 [47.5 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libnorm1 amd64 1.5.8+dfsg2-1 [287 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libnorm-dev amd64 1.5.8+dfsg2-1 [460 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libpgm-5.2-0 amd64 5.2.122~dfsg-3 [158 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libpgm-dev amd64 5.2.122~dfsg-3 [190 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libsodium-dev amd64 1.0.17-1 [176 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libzmq5 amd64 4.3.1-4+deb10u2 [246 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libzmq3-dev amd64 4.3.1-4+deb10u2 [442 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 2588 kB in 0s (48.7 MB/s)
Selecting previously unselected package comerr-dev:amd64.
(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 ...
13812 files and directories currently installed.)
Preparing to unpack .../00-comerr-dev_2.1-1.44.5-1+deb10u3_amd64.deb ...
Unpacking comerr-dev:amd64 (2.1-1.44.5-1+deb10u3) ...
Selecting previously unselected package libgssrpc4:amd64.
Preparing to unpack .../01-libgssrpc4_1.17-3+deb10u1_amd64.deb ...
Unpacking libgssrpc4:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package libkdb5-9:amd64.
Preparing to unpack .../02-libkdb5-9_1.17-3+deb10u1_amd64.deb ...
Unpacking libkdb5-9:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package libkadm5srv-mit11:amd64.
Preparing to unpack .../03-libkadm5srv-mit11_1.17-3+deb10u1_amd64.deb ...
Unpacking libkadm5srv-mit11:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package libkadm5clnt-mit11:amd64.
Preparing to unpack .../04-libkadm5clnt-mit11_1.17-3+deb10u1_amd64.deb ...
Unpacking libkadm5clnt-mit11:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package krb5-multidev:amd64.
Preparing to unpack .../05-krb5-multidev_1.17-3+deb10u1_amd64.deb ...
Unpacking krb5-multidev:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package libkrb5-dev:amd64.
Preparing to unpack .../06-libkrb5-dev_1.17-3+deb10u1_amd64.deb ...
Unpacking libkrb5-dev:amd64 (1.17-3+deb10u1) ...
Selecting previously unselected package libnorm1:amd64.
Preparing to unpack .../07-libnorm1_1.5.8+dfsg2-1_amd64.deb ...
Unpacking libnorm1:amd64 (1.5.8+dfsg2-1) ...
Selecting previously unselected package libnorm-dev:amd64.
Preparing to unpack .../08-libnorm-dev_1.5.8+dfsg2-1_amd64.deb ...
Unpacking libnorm-dev:amd64 (1.5.8+dfsg2-1) ...
Selecting previously unselected package libpgm-5.2-0:amd64.
Preparing to unpack .../09-libpgm-5.2-0_5.2.122~dfsg-3_amd64.deb ...
Unpacking libpgm-5.2-0:amd64 (5.2.122~dfsg-3) ...
Selecting previously unselected package libpgm-dev:amd64.
Preparing to unpack .../10-libpgm-dev_5.2.122~dfsg-3_amd64.deb ...
Unpacking libpgm-dev:amd64 (5.2.122~dfsg-3) ...
Selecting previously unselected package libsodium-dev:amd64.
Preparing to unpack .../11-libsodium-dev_1.0.17-1_amd64.deb ...
Unpacking libsodium-dev:amd64 (1.0.17-1) ...
Selecting previously unselected package libzmq5:amd64.
Preparing to unpack .../12-libzmq5_4.3.1-4+deb10u2_amd64.deb ...
Unpacking libzmq5:amd64 (4.3.1-4+deb10u2) ...
Selecting previously unselected package libzmq3-dev:amd64.
Preparing to unpack .../13-libzmq3-dev_4.3.1-4+deb10u2_amd64.deb ...
Unpacking libzmq3-dev:amd64 (4.3.1-4+deb10u2) ...
Setting up libnorm1:amd64 (1.5.8+dfsg2-1) ...
Setting up libnorm-dev:amd64 (1.5.8+dfsg2-1) ...
Setting up libgssrpc4:amd64 (1.17-3+deb10u1) ...
Setting up comerr-dev:amd64 (2.1-1.44.5-1+deb10u3) ...
Setting up libsodium-dev:amd64 (1.0.17-1) ...
Setting up libkdb5-9:amd64 (1.17-3+deb10u1) ...
Setting up libkadm5srv-mit11:amd64 (1.17-3+deb10u1) ...
Setting up libpgm-5.2-0:amd64 (5.2.122~dfsg-3) ...
Setting up libkadm5clnt-mit11:amd64 (1.17-3+deb10u1) ...
Setting up libzmq5:amd64 (4.3.1-4+deb10u2) ...
Setting up libpgm-dev:amd64 (5.2.122~dfsg-3) ...
Setting up krb5-multidev:amd64 (1.17-3+deb10u1) ...
Setting up libkrb5-dev:amd64 (1.17-3+deb10u1) ...
Setting up libzmq3-dev:amd64 (4.3.1-4+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 17a2dd5603b1
---> adeb21e05b5b
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/zeromq/php-zmq /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --with-zmq && make && make test
---> Running in ea88b5e3e1b1
Cloning into '/tmp/ext-src'...

Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
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 pkg-config...
/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0...
yes
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 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-20200930
checking for PHP installed headers prefix...
/usr/local/include/php
checking if debug is enabled...
no
checking if zts is enabled...
yes
checking for gawk...
no
checking for nawk...
nawk
checking if nawk is broken...
no
checking whether to enable 0MQ support...
yes, shared
checking whether to enable CZMQ support...
no
checking for pkg-config...
/usr/bin/pkg-config
checking libzmq installation...
found version 4.3.1, under /usr
checking for zmq_socket_monitor in -lzmq...
yes
checking for zmq_proxy_steerable in -lzmq...
yes
checking for zmq_z85_decode in -lzmq...
yes
checking for zmq_curve_keypair in -lzmq...
yes
checking for zmq_ctx_get in -lzmq...
yes
checking for zmq_unbind in -lzmq...
yes
checking for zmq_disconnect in -lzmq...
yes
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 for stdint.h...
(cached)
yes
checking time.h usability...
yes
checking time.h presence...
yes
checking for time.h...
yes
checking sys/time.h usability...
yes
checking sys/time.h presence...
yes
checking for sys/time.h...
yes
checking mach/mach_time.h usability...
no
checking mach/mach_time.h presence...
no
checking for mach/mach_time.h...
no
checking for library containing clock_gettime...
none required
checking for clock_gettime...
yes
checking for gettimeofday...
yes
checking for mach_absolute_time...
no
checking for a sed that does not truncate output...
/bin/sed
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 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: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq.c -o zmq.lo
mkdir .libs
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq.c  -fPIC -DPIC -o .libs/zmq.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_helpers.c -o zmq_helpers.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_helpers.c  -fPIC -DPIC -o .libs/zmq_helpers.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_pollset.c -o zmq_pollset.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_pollset.c  -fPIC -DPIC -o .libs/zmq_pollset.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_device.c -o zmq_device.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_device.c  -fPIC -DPIC -o .libs/zmq_device.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_sockopt.c -o zmq_sockopt.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_sockopt.c  -fPIC -DPIC -o .libs/zmq_sockopt.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_fd_stream.c -o zmq_fd_stream.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_fd_stream.c  -fPIC -DPIC -o .libs/zmq_fd_stream.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_clock.c -o zmq_clock.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_clock.c  -fPIC -DPIC -o .libs/zmq_clock.o
/bin/bash /tmp/ext-src/libtool --mode=compile cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/ext-src/zmq_shared_ctx.c -o zmq_shared_ctx.lo
cc -I. -I/tmp/ext-src -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 -I/usr/include/pgm-5.2 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/zmq_shared_ctx.c  -fPIC -DPIC -o .libs/zmq_shared_ctx.o
/bin/bash /tmp/ext-src/libtool --mode=link cc -shared -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 -I/usr/include/pgm-5.2  -DHAVE_CONFIG_H  -g -O2    -o zmq.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/ext-src/modules  zmq.lo zmq_helpers.lo zmq_pollset.lo zmq_device.lo zmq_sockopt.lo zmq_fd_stream.lo zmq_clock.lo zmq_shared_ctx.lo -lzmq
cc -shared  .libs/zmq.o .libs/zmq_helpers.o .libs/zmq_pollset.o .libs/zmq_device.o .libs/zmq_sockopt.o .libs/zmq_fd_stream.o .libs/zmq_clock.o .libs/zmq_shared_ctx.o  -lzmq  -Wl,-soname -Wl,zmq.so -o .libs/zmq.so
creating zmq.la
(cd .libs && rm -f zmq.la && ln -s ../zmq.la zmq.la)
/bin/bash /tmp/ext-src/libtool --mode=install cp ./zmq.la /tmp/ext-src/modules
cp ./.libs/zmq.so /tmp/ext-src/modules/zmq.so
cp ./.libs/zmq.lai /tmp/ext-src/modules/zmq.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 : 8.0.5
ZEND_VERSION: 4.0.5
PHP_OS      : Linux - Linux ea88b5e3e1b1 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 : 8.0.5
ZEND_VERSION: 4.0.5
PHP_OS      : Linux - Linux ea88b5e3e1b1 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 03:31:06
=====================================================================
TEST 1/65 [tests/001-send.phpt]
PASS Test send / recv [tests/001-send.phpt]
TEST 2/65 [tests/002-test-binary.phpt]
PASS Test send / recv binary [tests/002-test-binary.phpt]
TEST 3/65 [tests/003-getpersistentid.phpt]
PASS Test getting persistent id [tests/003-getpersistentid.phpt]
TEST 4/65 [tests/004-getendpoints.phpt]
PASS Test getting endpoints [tests/004-getendpoints.phpt]
TEST 5/65 [tests/005-forceconnectarg.phpt]
PASS Test forcing connect [tests/005-forceconnectarg.phpt]
TEST 6/65 [tests/006-sockopt.phpt]
PASS Test getsockopt / setsockopt [tests/006-sockopt.phpt]
TEST 7/65 [tests/007-addremovepoll.phpt]
PASS Test adding / removing items [tests/007-addremovepoll.phpt]
TEST 8/65 [tests/008-twowaystoconstruct.phpt]
PASS Test constructing a socket [tests/008-twowaystoconstruct.phpt]
TEST 9/65 [tests/009-ispersistent.phpt]
PASS Test ispersistent on context and socket [tests/009-ispersistent.phpt]
TEST 10/65 [tests/010-pollsetinvalidargs.phpt]
PASS Test invalid args for ZMQPoll [tests/010-pollsetinvalidargs.phpt]
TEST 11/65 [tests/011-exceptions.phpt]
PASS Test exceptions [tests/011-exceptions.phpt]
TEST 12/65 [tests/012-pollsetremoveinvalid.phpt]
PASS Test remove invalid id from ZMQPoll [tests/012-pollsetremoveinvalid.phpt]
TEST 13/65 [tests/013-pollclearandreuse.phpt]
PASS Test clearing and reusing ZMQPoll [tests/013-pollclearandreuse.phpt]
TEST 14/65 [tests/014-setsockoptparam.phpt]
PASS Test setSockOpt param type [tests/014-setsockoptparam.phpt]
TEST 15/65 [tests/015-callback.phpt]
PASS Test basic callback usage [tests/015-callback.phpt]
TEST 16/65 [tests/016-callbackinvalidargs.phpt]
PASS Test invalid args for callback [tests/016-callbackinvalidargs.phpt]
TEST 17/65 [tests/017-callbackonlyonnewsocket.phpt]
PASS Test that callback is only called on new socket [tests/017-callbackonlyonnewsocket.phpt]
TEST 18/65 [tests/018-callbackpersistent.phpt]
PASS Test callback arguments on persistent and non-persistent socket [tests/018-callbackpersistent.phpt]
TEST 19/65 [tests/019-callbackinvalidsignature.phpt]
SKIP Test callback edge-cases [tests/019-callbackinvalidsignature.phpt] reason: PHP 7.1 and higher fallback to passing argument by value even when forced to reference
TEST 20/65 [tests/020-exceptionincallback.phpt]
PASS Test throwing exception from callback [tests/020-exceptionincallback.phpt]
TEST 21/65 [tests/021-callbackwarning.phpt]
PASS Test warning in callback [tests/021-callbackwarning.phpt]
TEST 22/65 [tests/022-highwatermark.phpt]
PASS Test that high-watermark works [tests/022-highwatermark.phpt] 
TEST 23/65 [tests/023-failedcallback.phpt]
PASS Test that failing callback does not add socket to plist [tests/023-failedcallback.phpt]
TEST 24/65 [tests/024-versionconstant.phpt]
PASS Test retrieving version [tests/024-versionconstant.phpt]
TEST 25/65 [tests/025-sendrecvmulti.phpt]
PASS Test send / recv for multipart messages [tests/025-sendrecvmulti.phpt]
TEST 26/65 [tests/026-sockettype.phpt]
PASS Test returning socket type [tests/026-sockettype.phpt]
TEST 27/65 [tests/027-getset.phpt]
PASS Test setting and getting values [tests/027-getset.phpt]
TEST 28/65 [tests/028-xpub.phpt]
PASS Test send / recv with XPUB and XSUB sockets [tests/028-xpub.phpt]
TEST 29/65 [tests/029-xrepxreqdevice.phpt]
PASS Test send / recv with an XREQ and XREP device [tests/029-xrepxreqdevice.phpt]
TEST 30/65 [tests/030-xrepmanualqueue.phpt]
SKIP Test send / recv with a manually created XREQ and XREP device [tests/030-xrepmanualqueue.phpt] reason: Only for in libzmq 3.3.0
TEST 31/65 [tests/031-lastendpoint.phpt]
PASS Test last endpoint [tests/031-lastendpoint.phpt]
TEST 32/65 [tests/032-contextopt.phpt]
PASS Test context options [tests/032-contextopt.phpt]
TEST 33/65 [tests/033-disconnect.phpt]
PASS Test disconnect [tests/033-disconnect.phpt]
TEST 34/65 [tests/034-unbind.phpt]
PASS Test unbind [tests/034-unbind.phpt]
TEST 35/65 [tests/035-capture.phpt]
PASS Test device capture [tests/035-capture.phpt]
TEST 36/65 [tests/036-device.phpt]
PASS Test device callbacks [tests/036-device.phpt]
TEST 37/65 [tests/037-device-deprecated.phpt]
PASS Test device deprecated args [tests/037-device-deprecated.phpt]
TEST 38/65 [tests/038-cert-construct.phpt]
SKIP Test a ZMQCert can be constructed. [tests/038-cert-construct.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 39/65 [tests/039-cert-equals.phpt]
SKIP Test two ZMQCerts can be tested for equality. [tests/039-cert-equals.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 40/65 [tests/040-cert-clone.phpt]
SKIP Test a ZMQCert can be cloned. [tests/040-cert-clone.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 41/65 [tests/041-cert-meta.phpt]
SKIP Test a ZMQCert can get and set metadata. [tests/041-cert-meta.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 42/65 [tests/042-cert-save.phpt]
SKIP Test a ZMQCert can be saved. [tests/042-cert-save.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 43/65 [tests/043-cert-load.phpt]
SKIP Test a ZMQCert can be loaded. [tests/043-cert-load.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 44/65 [tests/044-auth-construct.phpt]
SKIP Test a ZMQAuth can be constructed. [tests/044-auth-construct.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 45/65 [tests/045-auth-allow-deny.phpt]
SKIP Test a ZMQAuth can whitelist or blacklist an IP address. [tests/045-auth-allow-deny.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 46/65 [tests/046-cert-apply.phpt]
SKIP Test a ZMQCert can be applied to a ZMQSocket. [tests/046-cert-apply.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 47/65 [tests/047-auth-configure.phpt]
SKIP Test a ZMQAuth can be configured. [tests/047-auth-configure.phpt] reason: This test requires php-zmq to be compiled with --with-czmq (only CZMQ 2.x supported)
TEST 48/65 [tests/048-pollsetitems.phpt]
PASS Test pollset items [tests/048-pollsetitems.phpt]
TEST 49/65 [tests/049-events.phpt]
PASS Test events [tests/049-events.phpt]
TEST 50/65 [tests/050-sharedcontext.phpt]
PASS Test shared context [tests/050-sharedcontext.phpt]
TEST 51/65 [tests/051-socketcount.phpt]
PASS Test socket count variations [tests/051-socketcount.phpt]
TEST 52/65 [tests/052-pthreads.phpt]
SKIP Test pthreads integration [tests/052-pthreads.phpt] reason: Requires pthreads extension
TEST 53/65 [tests/053-z85.phpt]
PASS Test z85 [tests/053-z85.phpt]
TEST 54/65 [tests/054-curvekeypair.phpt]
PASS Test curve keypair [tests/054-curvekeypair.phpt]
TEST 55/65 [tests/055-socks-proxy.phpt]
SKIP Test socks proxy [tests/055-socks-proxy.phpt] reason: test requires local SOCKS5 proxy on port 5557
TEST 56/65 [tests/bug_gh_156.phpt]
PASS Test for GitHub issue 156 (https://github.com/mkoppanen/php-zmq/issues/156) [tests/bug_gh_156.phpt]
TEST 57/65 [tests/bug_gh_165.phpt]
PASS Test for Github issue #165 [tests/bug_gh_165.phpt]
TEST 58/65 [tests/bug_gh_43.phpt]
PASS Test for Github issue #43 [tests/bug_gh_43.phpt]
TEST 59/65 [tests/bug_gh_49.phpt]
PASS Test for Github issue #49 [tests/bug_gh_49.phpt]
TEST 60/65 [tests/bug_gh_50.phpt]
PASS Test for Github issue #50 [tests/bug_gh_50.phpt]
TEST 61/65 [tests/bug_gh_59.phpt]
SKIP Test for Github issue #59 [tests/bug_gh_59.phpt]
TEST 62/65 [tests/bug_gh_59_2.phpt]
SKIP Test for Github issue #59 [tests/bug_gh_59_2.phpt]
TEST 63/65 [tests/libzmq2-sockopt.phpt]
PASS Test setting socket options [tests/libzmq2-sockopt.phpt]
TEST 64/65 [tests/libzmq3-sockopt.phpt]
PASS Test setting socket options [tests/libzmq3-sockopt.phpt]
TEST 65/65 [tests/libzmq4-sockopt.phpt]
PASS Test setting socket options [tests/libzmq4-sockopt.phpt]
=====================================================================
TIME END 2021-04-30 03:31:11
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   33
---------------------------------------------------------------------

Number of tests :   65                49
Tests skipped   :   16 ( 24.6%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Tests passed    :   49 ( 75.4%) (100.0%)
---------------------------------------------------------------------
Time taken      :    5 seconds
=====================================================================
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 ea88b5e3e1b1
---> 38224cba38c7
Successfully built 38224cba38c7