php-ext.com / gnupg (from dev using PHP 8.0.5-buster)
Dockerfile
FROM php:8.0.5-buster
WORKDIR /tmp
RUN apt update && \
apt install -y --no-install-recommends git subversion autoconf build-essential && \
apt install -y --no-install-recommends libgpgme-dev && \
rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/php-gnupg/php-gnupg /tmp/ext-src && \
cd /tmp/ext-src && \
phpize && \
./configure --with-gnupg && \
make && \
make test
Build output PASS
34ss
Step 1/4 : FROM php:8.0.5-buster
---> 9d3d64fb1730
Step 2/4 : WORKDIR /tmp
---> Running in 4ebe07998002
Removing intermediate container 4ebe07998002
---> d5a0fcd518f3
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libgpgme-dev && rm -rf /var/lib/apt/lists/*
---> Running in 968ac3f7f23f
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 (5683 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 (84.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 additional packages will be installed:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm libassuan-dev libassuan0 libgpg-error-dev
libgpgme11 libksba8 libnpth0 libreadline7 pinentry-curses readline-common
Suggested packages:
dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
scdaemon pinentry-doc readline-doc
The following NEW packages will be installed:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm libassuan-dev libassuan0 libgpg-error-dev
libgpgme-dev libgpgme11 libksba8 libnpth0 libreadline7 pinentry-curses
readline-common
0 upgraded, 20 newly installed, 0 to remove and 2 not upgraded.
Need to get 8250 kB of archives.
After this operation, 17.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 readline-common all 7.0-5 [70.6 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libassuan0 amd64 2.5.2-1 [49.4 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libreadline7 amd64 7.0-5 [151 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 gpgconf amd64 2.2.12-1+deb10u1 [510 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libksba8 amd64 1.3.5-2 [99.7 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libnpth0 amd64 1.6-1 [18.4 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 dirmngr amd64 2.2.12-1+deb10u1 [712 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 gnupg-l10n all 2.2.12-1+deb10u1 [1010 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 gnupg-utils amd64 2.2.12-1+deb10u1 [861 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 gpg amd64 2.2.12-1+deb10u1 [865 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 pinentry-curses amd64 1.1.0-2 [64.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 gpg-agent amd64 2.2.12-1+deb10u1 [617 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 gpg-wks-client amd64 2.2.12-1+deb10u1 [485 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 gpg-wks-server amd64 2.2.12-1+deb10u1 [478 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 gpgsm amd64 2.2.12-1+deb10u1 [604 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 gnupg all 2.2.12-1+deb10u1 [715 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libassuan-dev amd64 2.5.2-1 [108 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libgpg-error-dev amd64 1.35-1 [124 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libgpgme11 amd64 1.12.0-6 [251 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgpgme-dev amd64 1.12.0-6 [457 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8250 kB in 0s (73.7 MB/s)
Selecting previously unselected package readline-common.
(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-readline-common_7.0-5_all.deb ...
Unpacking readline-common (7.0-5) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../01-libassuan0_2.5.2-1_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.2-1) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../02-libreadline7_7.0-5_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-5) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../03-gpgconf_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpgconf (2.2.12-1+deb10u1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../04-libksba8_1.3.5-2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.5-2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../05-libnpth0_1.6-1_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-1) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../06-dirmngr_2.2.12-1+deb10u1_amd64.deb ...
Unpacking dirmngr (2.2.12-1+deb10u1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../07-gnupg-l10n_2.2.12-1+deb10u1_all.deb ...
Unpacking gnupg-l10n (2.2.12-1+deb10u1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../08-gnupg-utils_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gnupg-utils (2.2.12-1+deb10u1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../09-gpg_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpg (2.2.12-1+deb10u1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../10-pinentry-curses_1.1.0-2_amd64.deb ...
Unpacking pinentry-curses (1.1.0-2) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../11-gpg-agent_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpg-agent (2.2.12-1+deb10u1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../12-gpg-wks-client_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.12-1+deb10u1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../13-gpg-wks-server_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.12-1+deb10u1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../14-gpgsm_2.2.12-1+deb10u1_amd64.deb ...
Unpacking gpgsm (2.2.12-1+deb10u1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../15-gnupg_2.2.12-1+deb10u1_all.deb ...
Unpacking gnupg (2.2.12-1+deb10u1) ...
Selecting previously unselected package libassuan-dev.
Preparing to unpack .../16-libassuan-dev_2.5.2-1_amd64.deb ...
Unpacking libassuan-dev (2.5.2-1) ...
Selecting previously unselected package libgpg-error-dev.
Preparing to unpack .../17-libgpg-error-dev_1.35-1_amd64.deb ...
Unpacking libgpg-error-dev (1.35-1) ...
Selecting previously unselected package libgpgme11:amd64.
Preparing to unpack .../18-libgpgme11_1.12.0-6_amd64.deb ...
Unpacking libgpgme11:amd64 (1.12.0-6) ...
Selecting previously unselected package libgpgme-dev.
Preparing to unpack .../19-libgpgme-dev_1.12.0-6_amd64.deb ...
Unpacking libgpgme-dev (1.12.0-6) ...
Setting up libksba8:amd64 (1.3.5-2) ...
Setting up libnpth0:amd64 (1.6-1) ...
Setting up libassuan0:amd64 (2.5.2-1) ...
Setting up libgpg-error-dev (1.35-1) ...
Setting up gnupg-l10n (2.2.12-1+deb10u1) ...
Setting up libassuan-dev (2.5.2-1) ...
Setting up readline-common (7.0-5) ...
Setting up libreadline7:amd64 (7.0-5) ...
Setting up gnupg-utils (2.2.12-1+deb10u1) ...
Setting up pinentry-curses (1.1.0-2) ...
Setting up gpgconf (2.2.12-1+deb10u1) ...
Setting up gpg (2.2.12-1+deb10u1) ...
Setting up gpg-agent (2.2.12-1+deb10u1) ...
Setting up gpgsm (2.2.12-1+deb10u1) ...
Setting up libgpgme11:amd64 (1.12.0-6) ...
Setting up dirmngr (2.2.12-1+deb10u1) ...
Setting up libgpgme-dev (1.12.0-6) ...
Setting up gpg-wks-server (2.2.12-1+deb10u1) ...
Setting up gpg-wks-client (2.2.12-1+deb10u1) ...
Setting up gnupg (2.2.12-1+deb10u1) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 968ac3f7f23f
---> d40b2538783a
Step 4/4 : RUN git clone --recursive --depth=1 https://github.com/php-gnupg/php-gnupg /tmp/ext-src && cd /tmp/ext-src && phpize && ./configure --with-gnupg && make && make test
---> Running in f3a3958b0751
Cloning into '/tmp/ext-src'...
Submodule 'phpc' (https://github.com/bukka/phpc) registered for path 'phpc'
Cloning into '/tmp/ext-src/phpc'...
Submodule path 'phpc': checked out '8b5b1e718fbb2ba57102d1e9d844938038df310c'
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-non-zts-20200930
checking for PHP installed headers prefix...
/usr/local/include/php
checking if debug is enabled...
no
checking if zts is enabled...
no
checking for gawk...
no
checking for nawk...
nawk
checking if nawk is broken...
no
checking for gnupg support...
yes, shared
checking for gnupg files in default path...
found in /usr
checking for special C compiler options needed for large files...
no
checking for _FILE_OFFSET_BITS value needed for large files...
no
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 off_t...
yes
checking for gpgme_op_passwd in -lgpgme...
yes
checking for gpg...
/usr/bin/gpg
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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/gnupg.c -o gnupg.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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/gnupg.c -fPIC -DPIC -o .libs/gnupg.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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/gnupg_keylistiterator.c -o gnupg_keylistiterator.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 -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-src/gnupg_keylistiterator.c -fPIC -DPIC -o .libs/gnupg_keylistiterator.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 -DHAVE_CONFIG_H -g -O2 -o gnupg.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/ext-src/modules gnupg.lo gnupg_keylistiterator.lo -lgpgme
cc -shared .libs/gnupg.o .libs/gnupg_keylistiterator.o -lgpgme -Wl,-soname -Wl,gnupg.so -o .libs/gnupg.so
creating gnupg.la
(cd .libs && rm -f gnupg.la && ln -s ../gnupg.la gnupg.la)
/bin/bash /tmp/ext-src/libtool --mode=install cp ./gnupg.la /tmp/ext-src/modules
cp ./.libs/gnupg.so /tmp/ext-src/modules/gnupg.so
cp ./.libs/gnupg.lai /tmp/ext-src/modules/gnupg.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 f3a3958b0751 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 f3a3958b0751 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 00:56:59
=====================================================================
TEST 1/34 [tests/gnupg_oo_deletekey.phpt]
PASS delete a key from the keyring [tests/gnupg_oo_deletekey.phpt]
TEST 2/34 [tests/gnupg_oo_encrypt.phpt]
PASS encrypt and decrypt a text [tests/gnupg_oo_encrypt.phpt]
TEST 3/34 [tests/gnupg_oo_encryptsign.phpt]
PASS encryptsign and decryptverify a text [tests/gnupg_oo_encryptsign.phpt]
TEST 4/34 [tests/gnupg_oo_export.phpt]
PASS export a key [tests/gnupg_oo_export.phpt]
TEST 5/34 [tests/gnupg_oo_getengineinfo.phpt]
PASS get engineinfo [tests/gnupg_oo_getengineinfo.phpt]
TEST 6/34 [tests/gnupg_oo_geterror.phpt]
PASS get error [tests/gnupg_oo_geterror.phpt]
TEST 7/34 [tests/gnupg_oo_geterrorinfo.phpt]
PASS get error info [tests/gnupg_oo_geterrorinfo.phpt]
TEST 8/34 [tests/gnupg_oo_import.phpt]
PASS import a new key into the keyring [tests/gnupg_oo_import.phpt]
TEST 9/34 [tests/gnupg_oo_init_file_name.phpt]
PASS init object with custom file_name [tests/gnupg_oo_init_file_name.phpt]
TEST 10/34 [tests/gnupg_oo_init_home_dir.phpt]
PASS init object with custom home_dir [tests/gnupg_oo_init_home_dir.phpt]
TEST 11/34 [tests/gnupg_oo_keyinfo.phpt]
PASS get keyinfo [tests/gnupg_oo_keyinfo.phpt]
TEST 12/34 [tests/gnupg_oo_listsignatures.phpt]
PASS list signatures [tests/gnupg_oo_listsignatures.phpt]
TEST 13/34 [tests/gnupg_oo_sign_clear.phpt]
PASS sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_oo_sign_clear.phpt]
TEST 14/34 [tests/gnupg_oo_sign_detach.phpt]
PASS sign a text with mode SIG_MODE_DETACH [tests/gnupg_oo_sign_detach.phpt]
TEST 15/34 [tests/gnupg_oo_sign_detach_nonarmor.phpt]
PASS sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_oo_sign_detach_nonarmor.phpt]
TEST 16/34 [tests/gnupg_oo_sign_normal.phpt]
PASS sign a text with mode SIG_MODE_NORMAL [tests/gnupg_oo_sign_normal.phpt]
TEST 17/34 [tests/gnupg_oo_sign_normal_noarmor.phpt]
PASS sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_oo_sign_normal_noarmor.phpt]
TEST 18/34 [tests/gnupg_res_deletekey.phpt]
PASS delete a key from the keyring [tests/gnupg_res_deletekey.phpt]
TEST 19/34 [tests/gnupg_res_encrypt.phpt]
PASS encrypt and decrypt a text [tests/gnupg_res_encrypt.phpt]
TEST 20/34 [tests/gnupg_res_encryptsign.phpt]
PASS encryptsign and decryptverify a text [tests/gnupg_res_encryptsign.phpt]
TEST 21/34 [tests/gnupg_res_export.phpt]
PASS export a key [tests/gnupg_res_export.phpt]
TEST 22/34 [tests/gnupg_res_getengineinfo.phpt]
PASS get engineinfo [tests/gnupg_res_getengineinfo.phpt]
TEST 23/34 [tests/gnupg_res_geterror.phpt]
PASS get error [tests/gnupg_res_geterror.phpt]
TEST 24/34 [tests/gnupg_res_geterrorinfo.phpt]
PASS get error info [tests/gnupg_res_geterrorinfo.phpt]
TEST 25/34 [tests/gnupg_res_import.phpt]
PASS import a new key into the keyring [tests/gnupg_res_import.phpt]
TEST 26/34 [tests/gnupg_res_init_file_name.phpt]
PASS init resource with custom file_name [tests/gnupg_res_init_file_name.phpt]
TEST 27/34 [tests/gnupg_res_init_home_dir.phpt]
PASS init resource with custom home_dir [tests/gnupg_res_init_home_dir.phpt]
TEST 28/34 [tests/gnupg_res_keyinfo.phpt]
PASS get keyinfo [tests/gnupg_res_keyinfo.phpt]
TEST 29/34 [tests/gnupg_res_listsignatures.phpt]
PASS list signatures [tests/gnupg_res_listsignatures.phpt]
TEST 30/34 [tests/gnupg_res_sign_clear.phpt]
PASS sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_res_sign_clear.phpt]
TEST 31/34 [tests/gnupg_res_sign_detach.phpt]
PASS sign a text with mode SIG_MODE_DETACH [tests/gnupg_res_sign_detach.phpt]
TEST 32/34 [tests/gnupg_res_sign_detach_nonarmor.phpt]
PASS sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_res_sign_detach_nonarmor.phpt]
TEST 33/34 [tests/gnupg_res_sign_normal.phpt]
PASS sign a text with mode SIG_MODE_NORMAL [tests/gnupg_res_sign_normal.phpt]
TEST 34/34 [tests/gnupg_res_sign_normal_noarmor.phpt]
PASS sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_res_sign_normal_noarmor.phpt]
=====================================================================
TIME END 2021-04-30 00:57:20
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 33
---------------------------------------------------------------------
Number of tests : 34 34
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Tests passed : 34 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken : 21 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 f3a3958b0751
---> 390d2aa071a4
Successfully built 390d2aa071a4