php-ext.com / gearman (from dev using PHP 7.4.16-zts-buster)
Dockerfile
FROM php:7.4.16-zts-buster
WORKDIR /tmp
RUN apt update && \
apt install -y --no-install-recommends git subversion autoconf build-essential && \
apt install -y --no-install-recommends libgearman-dev && \
rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/php/pecl-networking-gearman /tmp/ext-src && \
cd /tmp/ext-src && \
phpize && \
./configure --with-gearman && \
make && \
make test
Build output PASS
18ss
Step 1/4 : FROM php:7.4.16-zts-buster
---> f100431f0b6a
Step 2/4 : WORKDIR /tmp
---> Running in df035de66828
Removing intermediate container df035de66828
---> ca8639d28ed5
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libgearman-dev && rm -rf /var/lib/apt/lists/*
---> Running in e03e9e8fc526
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 [122 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 [268 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 [9504 B]
Fetched 8423 kB in 2s (3968 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
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 1 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 libsvn1 amd64 1.10.4-1+deb10u2 [1403 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 libcurl3-gnutls amd64 7.64.0-4+deb10u1 [330 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:8 http://security.debian.org/debian-security buster/updates/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.7 MB in 1s (14.6 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+deb10u1_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u1) ...
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+deb10u1) ...
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:
libevent-2.1-6 libevent-core-2.1-6 libevent-dev libevent-extra-2.1-6
libevent-openssl-2.1-6 libevent-pthreads-2.1-6 libgearman8
The following NEW packages will be installed:
libevent-2.1-6 libevent-core-2.1-6 libevent-dev libevent-extra-2.1-6
libevent-openssl-2.1-6 libevent-pthreads-2.1-6 libgearman-dev libgearman8
0 upgraded, 8 newly installed, 0 to remove and 1 not upgraded.
Need to get 1173 kB of archives.
After this operation, 3976 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4 [129 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libevent-extra-2.1-6 amd64 2.1.8-stable-4 [100 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libevent-pthreads-2.1-6 amd64 2.1.8-stable-4 [47.9 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libevent-openssl-2.1-6 amd64 2.1.8-stable-4 [54.4 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libevent-dev amd64 2.1.8-stable-4 [304 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libgearman8 amd64 1.1.18+ds-3+b3 [84.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libgearman-dev amd64 1.1.18+ds-3+b3 [277 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1173 kB in 1s (2230 kB/s)
Selecting previously unselected package libevent-2.1-6: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 .../0-libevent-2.1-6_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4) ...
Selecting previously unselected package libevent-core-2.1-6:amd64.
Preparing to unpack .../1-libevent-core-2.1-6_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...
Selecting previously unselected package libevent-extra-2.1-6:amd64.
Preparing to unpack .../2-libevent-extra-2.1-6_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-extra-2.1-6:amd64 (2.1.8-stable-4) ...
Selecting previously unselected package libevent-pthreads-2.1-6:amd64.
Preparing to unpack .../3-libevent-pthreads-2.1-6_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...
Selecting previously unselected package libevent-openssl-2.1-6:amd64.
Preparing to unpack .../4-libevent-openssl-2.1-6_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-openssl-2.1-6:amd64 (2.1.8-stable-4) ...
Selecting previously unselected package libevent-dev.
Preparing to unpack .../5-libevent-dev_2.1.8-stable-4_amd64.deb ...
Unpacking libevent-dev (2.1.8-stable-4) ...
Selecting previously unselected package libgearman8:amd64.
Preparing to unpack .../6-libgearman8_1.1.18+ds-3+b3_amd64.deb ...
Unpacking libgearman8:amd64 (1.1.18+ds-3+b3) ...
Selecting previously unselected package libgearman-dev.
Preparing to unpack .../7-libgearman-dev_1.1.18+ds-3+b3_amd64.deb ...
Unpacking libgearman-dev (1.1.18+ds-3+b3) ...
Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libgearman8:amd64 (1.1.18+ds-3+b3) ...
Setting up libevent-extra-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libevent-openssl-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libevent-dev (2.1.8-stable-4) ...
Setting up libgearman-dev (1.1.18+ds-3+b3) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container e03e9e8fc526
---> f1083612abe1
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/php/pecl-networking-gearman /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --with-gearman && make && make test
---> Running in 7ea85edf8f76
Cloning into '/tmp/ext-src'...
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
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-20190902
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 gearman support...
yes, shared
found in /usr
checking for gearman_client_set_context in -lgearman...
yes
checking for gearman_worker_set_server_option in -lgearman...
yes
checking for gearman_job_error in -lgearman...
yes
checking for gearman_client_unique_status in -lgearman...
yes
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 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: 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 -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 -Wall -c /tmp/ext-src/php_gearman.c -o php_gearman.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 -Wall -c /tmp/ext-src/php_gearman.c -fPIC -DPIC -o .libs/php_gearman.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 -Wall -c /tmp/ext-src/php_gearman_client.c -o php_gearman_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 -Wall -c /tmp/ext-src/php_gearman_client.c -fPIC -DPIC -o .libs/php_gearman_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 -Wall -c /tmp/ext-src/php_gearman_worker.c -o php_gearman_worker.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 -Wall -c /tmp/ext-src/php_gearman_worker.c -fPIC -DPIC -o .libs/php_gearman_worker.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 -Wall -c /tmp/ext-src/php_gearman_job.c -o php_gearman_job.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 -Wall -c /tmp/ext-src/php_gearman_job.c -fPIC -DPIC -o .libs/php_gearman_job.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 -Wall -c /tmp/ext-src/php_gearman_task.c -o php_gearman_task.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 -Wall -c /tmp/ext-src/php_gearman_task.c -fPIC -DPIC -o .libs/php_gearman_task.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 -Wall -o gearman.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/ext-src/modules php_gearman.lo php_gearman_client.lo php_gearman_worker.lo php_gearman_job.lo php_gearman_task.lo -lgearman -lgearman -lgearman -lgearman
cc -shared .libs/php_gearman.o .libs/php_gearman_client.o .libs/php_gearman_worker.o .libs/php_gearman_job.o .libs/php_gearman_task.o -lgearman -Wl,-soname -Wl,gearman.so -o .libs/gearman.so
creating gearman.la
(cd .libs && rm -f gearman.la && ln -s ../gearman.la gearman.la)
/bin/bash /tmp/ext-src/libtool --mode=install cp ./gearman.la /tmp/ext-src/modules
cp ./.libs/gearman.so /tmp/ext-src/modules/gearman.so
cp ./.libs/gearman.lai /tmp/ext-src/modules/gearman.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.4.16
ZEND_VERSION: 3.4.0
PHP_OS : Linux - Linux 7ea85edf8f76 5.8.0-44-generic #50-Ubuntu SMP Tue Feb 9 06:29:41 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.4.16
ZEND_VERSION: 3.4.0
PHP_OS : Linux - Linux 7ea85edf8f76 5.8.0-44-generic #50-Ubuntu SMP Tue Feb 9 06:29:41 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-03-09 06:00:12
=====================================================================
TEST 1/65 [tests/gearman_001.phpt]
PASS Check for gearman presence [tests/gearman_001.phpt]
TEST 2/65 [tests/gearman_002.phpt]
PASS gearman_worker_set_id() [tests/gearman_002.phpt]
TEST 3/65 [tests/gearman_client_001.phpt]
PASS new GearmanClient(), gearman_client_create() [tests/gearman_client_001.phpt]
TEST 4/65 [tests/gearman_client_002.phpt]
PASS GearmanClient::returnCode(), gearman_client_return_code() [tests/gearman_client_002.phpt]
TEST 5/65 [tests/gearman_client_003.phpt]
PASS GearmanClient::error(), gearman_client_error() [tests/gearman_client_003.phpt]
TEST 6/65 [tests/gearman_client_004.phpt]
PASS GearmanClient::getErrno(), gearman_client_get_errno() [tests/gearman_client_004.phpt]
TEST 7/65 [tests/gearman_client_005.phpt]
PASS GearmanClient::options(), gearman_client_options() [tests/gearman_client_005.phpt]
TEST 8/65 [tests/gearman_client_006.phpt]
PASS GearmanClient::setOptions(), gearman_client_set_options() [tests/gearman_client_006.phpt]
TEST 9/65 [tests/gearman_client_007.phpt]
PASS GearmanClient::addOptions(), gearman_client_add_options() [tests/gearman_client_007.phpt]
TEST 10/65 [tests/gearman_client_008.phpt]
PASS GearmanClient::removeOptions(), gearman_client_remove_options() [tests/gearman_client_008.phpt]
TEST 11/65 [tests/gearman_client_009.phpt]
PASS GearmanClient::timeout(), gearman_client_timeout() [tests/gearman_client_009.phpt]
TEST 12/65 [tests/gearman_client_010.phpt]
PASS GearmanClient::setTimeout(), gearman_client_set_timeout() [tests/gearman_client_010.phpt]
TEST 13/65 [tests/gearman_client_011.phpt]
PASS GearmanClient::context(), GearmanClient::setContext(), gearman_client_context(), gearman_client_set_context() [tests/gearman_client_011.phpt]
TEST 14/65 [tests/gearman_client_012.phpt]
SKIP GearmanClient::addServer(), gearman_client_add_server() [tests/gearman_client_012.phpt] reason: unable to connect
TEST 15/65 [tests/gearman_client_013.phpt]
SKIP GearmanClient::addServers(), gearman_client_add_servers() [tests/gearman_client_013.phpt] reason: unable to connect
TEST 16/65 [tests/gearman_client_014.phpt]
SKIP GearmanClient::wait(), gearman_client_wait() [tests/gearman_client_014.phpt] reason: unable to connect
TEST 17/65 [tests/gearman_client_015.phpt]
SKIP GearmanClient::doJobHandle(), gearman_client_do_job_handle() [tests/gearman_client_015.phpt] reason: unable to connect
TEST 18/65 [tests/gearman_client_016.phpt]
SKIP GearmanClient::doStatus(), gearman_client_do_status() [tests/gearman_client_016.phpt] reason: unable to connect
TEST 19/65 [tests/gearman_client_017.phpt]
SKIP GearmanClient::jobStatus(), gearman_client_job_status() [tests/gearman_client_017.phpt] reason: unable to connect
TEST 20/65 [tests/gearman_client_018.phpt]
SKIP GearmanClient::jobStatusByUniqueKey(), gearman_client_job_status_by_unique_key() [tests/gearman_client_018.phpt] reason: unable to connect
TEST 21/65 [tests/gearman_client_019.phpt]
SKIP GearmanClient::ping(), gearman_client_ping() [tests/gearman_client_019.phpt] reason: unable to connect
TEST 22/65 [tests/gearman_client_020.phpt]
SKIP GearmanClient::clearCallbacks(), gearman_client_clear_callbacks() [tests/gearman_client_020.phpt] reason: unable to connect
TEST 23/65 [tests/gearman_client_021.phpt]
PASS GearmanClient::enableExceptionHandler(),gearman_client_enable_exception_handler() [tests/gearman_client_021.phpt]
TEST 24/65 [tests/gearman_client_022.phpt]
PASS unserialize(serialize(GearmanClient)) [tests/gearman_client_022.phpt]
TEST 25/65 [tests/gearman_client_integration_test_001.phpt]
SKIP [tests/gearman_client_integration_test_001.phpt] reason: pcntl extension unavailable
TEST 26/65 [tests/gearman_client_integration_test_002.phpt]
SKIP GearmanClient::setStatusCallback(), gearman_client_set_status_callback(),
GearmanClient::addTaskStatus(), gearman_client_add_task_status(),
GearmanClient::runTasks(), gearman_client_run_tasks() [tests/gearman_client_integration_test_002.phpt] reason: unable to connect
TEST 27/65 [tests/gearman_job_001.phpt]
PASS new GearmanJob() [tests/gearman_job_001.phpt]
TEST 28/65 [tests/gearman_job_002.phpt]
PASS GearmanJob::returnCode(), gearman_job_return_code(),
GearmanJob::setReturn(), gearman_job_set_return() [tests/gearman_job_002.phpt]
TEST 29/65 [tests/gearman_job_003.phpt]
PASS unserialize(serialize(GearmanJob)) [tests/gearman_job_003.phpt]
TEST 30/65 [tests/gearman_job_integration_test_001.phpt]
SKIP Test GearmanJob::sendData() [tests/gearman_job_integration_test_001.phpt] reason: pcntl extension unavailable
TEST 31/65 [tests/gearman_job_integration_test_002.phpt]
SKIP Test GearmanJob::sendWarning() [tests/gearman_job_integration_test_002.phpt] reason: pcntl extension unavailable
TEST 32/65 [tests/gearman_job_integration_test_003.phpt]
SKIP Test GearmanJob::sendStatus [tests/gearman_job_integration_test_003.phpt] reason: pcntl extension unavailable
TEST 33/65 [tests/gearman_job_integration_test_004.phpt]
SKIP Test GearmanJob::sendComplete() [tests/gearman_job_integration_test_004.phpt] reason: pcntl extension unavailable
TEST 34/65 [tests/gearman_job_integration_test_005.phpt]
SKIP Test GearmanJob::sendException() [tests/gearman_job_integration_test_005.phpt] reason: pcntl extension unavailable
TEST 35/65 [tests/gearman_job_integration_test_006.phpt]
SKIP Test GearmanJob::sendFail() [tests/gearman_job_integration_test_006.phpt] reason: pcntl extension unavailable
TEST 36/65 [tests/gearman_job_integration_test_007.phpt]
SKIP Test GearmanJob::handle() [tests/gearman_job_integration_test_007.phpt] reason: pcntl extension unavailable
TEST 37/65 [tests/gearman_job_integration_test_008.phpt]
SKIP Test GearmanJob::functionName() [tests/gearman_job_integration_test_008.phpt] reason: pcntl extension unavailable
TEST 38/65 [tests/gearman_job_integration_test_009.phpt]
SKIP Test GearmanJob::unique() [tests/gearman_job_integration_test_009.phpt] reason: pcntl extension unavailable
TEST 39/65 [tests/gearman_job_integration_test_010.phpt]
SKIP Test GearmanJob::workload(), GearmanJob::workloadSize() [tests/gearman_job_integration_test_010.phpt] reason: pcntl extension unavailable
TEST 40/65 [tests/gearman_task_001.phpt]
SKIP GearmanTask::functionName, gearman_task_function_name [tests/gearman_task_001.phpt] reason: unable to connect
TEST 41/65 [tests/gearman_task_002.phpt]
SKIP GearmanTask::unique, gearman_task_unique [tests/gearman_task_002.phpt] reason: unable to connect
TEST 42/65 [tests/gearman_task_003.phpt]
SKIP GearmanTask::jobHandle(), gearman_task_job_handle() [tests/gearman_task_003.phpt] reason: unable to connect
TEST 43/65 [tests/gearman_task_004.phpt]
SKIP GearmanTask::is_known(), gearman_task_is_known(),
GearmanTask::is_running(), gearman_task_is_running(),
GearmanTask::numerator(), gearman_task_numerator(),
GearmanTask::denominator(), gearman_task_denominator() [tests/gearman_task_004.phpt] reason: unable to connect
TEST 44/65 [tests/gearman_task_005.phpt]
SKIP GearmanTask::data(), gearman_task_data(),
GearmanTask::dataSize(), gearman_task_data_size() [tests/gearman_task_005.phpt] reason: unable to connect
TEST 45/65 [tests/gearman_task_006.phpt]
PASS unserialize(serialize(GearmanTask)) [tests/gearman_task_006.phpt]
TEST 46/65 [tests/gearman_tasks_integration_test_001.phpt]
SKIP Test Gearman worker methods [tests/gearman_tasks_integration_test_001.phpt] reason: pcntl extension unavailable
TEST 47/65 [tests/gearman_tasks_integration_test_002.phpt]
SKIP Test Gearman worker methods [tests/gearman_tasks_integration_test_002.phpt] reason: pcntl extension unavailable
TEST 48/65 [tests/gearman_worker_001.phpt]
PASS gearman_worker_return_code() [tests/gearman_worker_001.phpt]
TEST 49/65 [tests/gearman_worker_002.phpt]
PASS gearman_worker_return_code() [tests/gearman_worker_002.phpt]
TEST 50/65 [tests/gearman_worker_003.phpt]
PASS gearman_worker_error() [tests/gearman_worker_003.phpt]
TEST 51/65 [tests/gearman_worker_004.phpt]
PASS gearman_worker_errno() [tests/gearman_worker_004.phpt]
TEST 52/65 [tests/gearman_worker_005.phpt]
PASS gearman_worker_options() [tests/gearman_worker_005.phpt]
TEST 53/65 [tests/gearman_worker_006.phpt]
PASS gearman_worker_set_options() [tests/gearman_worker_006.phpt]
TEST 54/65 [tests/gearman_worker_007.phpt]
PASS gearman_worker_add_options() [tests/gearman_worker_007.phpt]
TEST 55/65 [tests/gearman_worker_008.phpt]
PASS gearman_worker_timeout(), gearman_worker_set_timeout() [tests/gearman_worker_008.phpt]
TEST 56/65 [tests/gearman_worker_009.phpt]
PASS gearman_worker_set_id() [tests/gearman_worker_009.phpt]
TEST 57/65 [tests/gearman_worker_010.phpt]
SKIP gearman_worker_add_server(), gearman_worker_add_servers() [tests/gearman_worker_010.phpt] reason: unable to connect
TEST 58/65 [tests/gearman_worker_011.phpt]
SKIP gearman_worker_wait() [tests/gearman_worker_011.phpt] reason: unable to connect
TEST 59/65 [tests/gearman_worker_012.phpt]
SKIP gearman_worker_register(), gearman_worker_unregister(), gearman_worker_unregister_all() [tests/gearman_worker_012.phpt] reason: unable to connect
TEST 60/65 [tests/gearman_worker_013.phpt]
SKIP gearman_worker_add_function() [tests/gearman_worker_013.phpt] reason: unable to connect
TEST 61/65 [tests/gearman_worker_014.phpt]
SKIP gearman_worker_work() [tests/gearman_worker_014.phpt] reason: unable to connect
TEST 62/65 [tests/gearman_worker_015.phpt]
SKIP gearman_worker_ping() [tests/gearman_worker_015.phpt] reason: unable to connect
TEST 63/65 [tests/gearman_worker_016.phpt]
SKIP GearmanWorker::addFunction(), context param [tests/gearman_worker_016.phpt] reason: unable to connect
TEST 64/65 [tests/gearman_worker_017.phpt]
PASS unserialize(serialize(GearmanWorker)) [tests/gearman_worker_017.phpt]
TEST 65/65 [tests/gearman_worker_integration_test_001.phpt]
SKIP Test Gearman worker methods [tests/gearman_worker_integration_test_001.phpt] reason: pcntl extension unavailable
=====================================================================
TIME END 2021-03-09 06:00:14
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 33
---------------------------------------------------------------------
Number of tests : 65 29
Tests skipped : 36 ( 55.4%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Tests passed : 29 ( 44.6%) (100.0%)
---------------------------------------------------------------------
Time taken : 2 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]:
Notice: Trying to access array offset on value of type bool in /tmp/ext-src/run-tests.php on line 934
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 7ea85edf8f76
---> b079aa8dfbe8
Successfully built b079aa8dfbe8