php-ext.com / yaz (from pecl 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 libyaz-dev && \
    rm -rf /var/lib/apt/lists/*
RUN pecl install --force yaz && \
    pecl run-tests yaz
Build output FAIL 14ss
Step 1/4 : FROM php:8.0.5-buster
---> 9d3d64fb1730
Step 2/4 : WORKDIR /tmp
---> Running in e7d673790ca6
Removing intermediate container e7d673790ca6
---> 6a3ca35eb4e5
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libyaz-dev && rm -rf /var/lib/apt/lists/*
---> Running in d652e24efc8c


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


Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [285 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB]
Fetched 8441 kB in 2s (5610 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.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+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:
icu-devtools libevent-2.1-6 libgmp-dev libgmpxx4ldbl libgnutls-dane0
libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libicu-dev libidn2-dev
libp11-kit-dev libtasn1-6-dev libunbound8 libwrap0 libwrap0-dev libxml2-dev
libxslt1-dev libxslt1.1 libyaz5 nettle-dev
Suggested packages:
gmp-doc libgmp10-doc libmpfr-dev dns-root-data gnutls-bin gnutls-doc icu-doc
yaz-doc
Recommended packages:
libtasn1-doc tcl
The following NEW packages will be installed:
icu-devtools libevent-2.1-6 libgmp-dev libgmpxx4ldbl libgnutls-dane0
libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libicu-dev libidn2-dev
libp11-kit-dev libtasn1-6-dev libunbound8 libwrap0 libwrap0-dev libxml2-dev
libxslt1-dev libxslt1.1 libyaz-dev libyaz5 nettle-dev
0 upgraded, 21 newly installed, 0 to remove and 2 not upgraded.
Need to get 17.4 MB of archives.
After this operation, 69.6 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 icu-devtools amd64 63.1-6+deb10u1 [189 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-4 [22.9 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-4 [628 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libunbound8 amd64 1.9.0-2+deb10u2 [462 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libgnutls-dane0 amd64 3.6.7-4+deb10u6 [317 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libgnutls-openssl27 amd64 3.6.7-4+deb10u6 [317 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libgnutlsxx28 amd64 3.6.7-4+deb10u6 [14.5 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libidn2-dev amd64 2.0.5-1+deb10u1 [79.5 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libp11-kit-dev amd64 0.23.15-2+deb10u1 [196 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libtasn1-6-dev amd64 4.13-3 [104 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 nettle-dev amd64 3.4.1-1 [1076 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libgnutls28-dev amd64 3.6.7-4+deb10u6 [1087 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libicu-dev amd64 63.1-6+deb10u1 [9186 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libwrap0 amd64 7.6.q-28 [58.7 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libwrap0-dev amd64 7.6.q-28 [21.6 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libxml2-dev amd64 2.9.4+dfsg1-7+deb10u1 [784 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libxslt1.1 amd64 1.1.32-2.2~deb10u1 [237 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libxslt1-dev amd64 1.1.32-2.2~deb10u1 [519 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libyaz5 amd64 5.27.1-2 [837 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libyaz-dev amd64 5.27.1-2 [1040 kB]
debconf: delaying package configuration, since apt-utils is not installed

Fetched 17.4 MB in 0s (91.0 MB/s)
Selecting previously unselected package icu-devtools.
(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-icu-devtools_63.1-6+deb10u1_amd64.deb ...
Unpacking icu-devtools (63.1-6+deb10u1) ...
Selecting previously unselected package libevent-2.1-6:amd64.
Preparing to unpack .../01-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 libgmpxx4ldbl:amd64.
Preparing to unpack .../02-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../03-libgmp-dev_2%3a6.1.2+dfsg-4_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-4) ...
Selecting previously unselected package libunbound8:amd64.
Preparing to unpack .../04-libunbound8_1.9.0-2+deb10u2_amd64.deb ...
Unpacking libunbound8:amd64 (1.9.0-2+deb10u2) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../05-libgnutls-dane0_3.6.7-4+deb10u6_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.6.7-4+deb10u6) ...
Selecting previously unselected package libgnutls-openssl27:amd64.
Preparing to unpack .../06-libgnutls-openssl27_3.6.7-4+deb10u6_amd64.deb ...
Unpacking libgnutls-openssl27:amd64 (3.6.7-4+deb10u6) ...
Selecting previously unselected package libgnutlsxx28:amd64.
Preparing to unpack .../07-libgnutlsxx28_3.6.7-4+deb10u6_amd64.deb ...
Unpacking libgnutlsxx28:amd64 (3.6.7-4+deb10u6) ...
Selecting previously unselected package libidn2-dev:amd64.
Preparing to unpack .../08-libidn2-dev_2.0.5-1+deb10u1_amd64.deb ...
Unpacking libidn2-dev:amd64 (2.0.5-1+deb10u1) ...
Selecting previously unselected package libp11-kit-dev:amd64.
Preparing to unpack .../09-libp11-kit-dev_0.23.15-2+deb10u1_amd64.deb ...
Unpacking libp11-kit-dev:amd64 (0.23.15-2+deb10u1) ...
Selecting previously unselected package libtasn1-6-dev:amd64.
Preparing to unpack .../10-libtasn1-6-dev_4.13-3_amd64.deb ...
Unpacking libtasn1-6-dev:amd64 (4.13-3) ...
Selecting previously unselected package nettle-dev:amd64.
Preparing to unpack .../11-nettle-dev_3.4.1-1_amd64.deb ...
Unpacking nettle-dev:amd64 (3.4.1-1) ...
Selecting previously unselected package libgnutls28-dev:amd64.
Preparing to unpack .../12-libgnutls28-dev_3.6.7-4+deb10u6_amd64.deb ...
Unpacking libgnutls28-dev:amd64 (3.6.7-4+deb10u6) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../13-libicu-dev_63.1-6+deb10u1_amd64.deb ...
Unpacking libicu-dev:amd64 (63.1-6+deb10u1) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../14-libwrap0_7.6.q-28_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-28) ...
Selecting previously unselected package libwrap0-dev:amd64.
Preparing to unpack .../15-libwrap0-dev_7.6.q-28_amd64.deb ...
Unpacking libwrap0-dev:amd64 (7.6.q-28) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../16-libxml2-dev_2.9.4+dfsg1-7+deb10u1_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-7+deb10u1) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../17-libxslt1.1_1.1.32-2.2~deb10u1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ...
Selecting previously unselected package libxslt1-dev:amd64.
Preparing to unpack .../18-libxslt1-dev_1.1.32-2.2~deb10u1_amd64.deb ...
Unpacking libxslt1-dev:amd64 (1.1.32-2.2~deb10u1) ...
Selecting previously unselected package libyaz5:amd64.
Preparing to unpack .../19-libyaz5_5.27.1-2_amd64.deb ...
Unpacking libyaz5:amd64 (5.27.1-2) ...
Selecting previously unselected package libyaz-dev.
Preparing to unpack .../20-libyaz-dev_5.27.1-2_amd64.deb ...
Unpacking libyaz-dev (5.27.1-2) ...
Setting up libgnutls-openssl27:amd64 (3.6.7-4+deb10u6) ...
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ...
Setting up libwrap0:amd64 (7.6.q-28) ...
Setting up icu-devtools (63.1-6+deb10u1) ...
Setting up libgnutlsxx28:amd64 (3.6.7-4+deb10u6) ...
Setting up libidn2-dev:amd64 (2.0.5-1+deb10u1) ...
Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ...
Setting up libwrap0-dev:amd64 (7.6.q-28) ...
Setting up libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ...
Setting up libtasn1-6-dev:amd64 (4.13-3) ...
Setting up libicu-dev:amd64 (63.1-6+deb10u1) ...
Setting up libp11-kit-dev:amd64 (0.23.15-2+deb10u1) ...
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-4) ...
Setting up nettle-dev:amd64 (3.4.1-1) ...
Setting up libxml2-dev:amd64 (2.9.4+dfsg1-7+deb10u1) ...
Setting up libunbound8:amd64 (1.9.0-2+deb10u2) ...
Setting up libyaz5:amd64 (5.27.1-2) ...
Setting up libgnutls-dane0:amd64 (3.6.7-4+deb10u6) ...
Setting up libxslt1-dev:amd64 (1.1.32-2.2~deb10u1) ...
Setting up libgnutls28-dev:amd64 (3.6.7-4+deb10u6) ...
Setting up libyaz-dev (5.27.1-2) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container d652e24efc8c
---> e6ebcf9087d5
Step 4/4 : RUN pecl install --force yaz && pecl run-tests yaz
---> Running in d3b12cb65fb6
downloading yaz-1.2.3.tgz ...
Starting to download yaz-1.2.3.tgz (20,059 bytes)
.
.
.
.
...done: 20,059 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
path to YAZ installation?
[autodetect]
:
building in /tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3
running: /tmp/pear/temp/yaz/configure --with-php-config=/usr/local/bin/php-config --with-yaz
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 YAZ support... yes, shared
checking for yaz-config... /usr/bin/yaz-config
checking for YAZ version... 5.27.1
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
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3/libtool --mode=compile cc -I. -I/tmp/pear/temp/yaz -I/tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3/include -I/tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3/main -I/tmp/pear/temp/yaz -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/libxml2  -DHAVE_CONFIG_H  -g -O2    -c /tmp/pear/temp/yaz/php_yaz.c -o php_yaz.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/yaz -I/tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3/include -I/tmp/pear/temp/pear-build-defaultuser3937th/yaz-1.2.3/main -I/tmp/pear/temp/yaz -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/libxml2 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaz/php_yaz.c  -fPIC -DPIC -o .libs/php_yaz.o
/tmp/pear/temp/yaz/php_yaz.c:143:9: warning: implicit declaration of function 'ZEND_ARG_PASS_INFO'; did you mean 'ZEND_ARG_OBJ_INFO'? [-Wimplicit-function-declaration]
ZEND_ARG_PASS_INFO(1)
^~~~~~~~~~~~~~~~~~
ZEND_ARG_OBJ_INFO
/tmp/pear/temp/yaz/php_yaz.c:143:9: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
/tmp/pear/temp/yaz/php_yaz.c:143:9: note: (near initialization for 'first_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:143:9: error: initializer element is not constant
/tmp/pear/temp/yaz/php_yaz.c:143:9: note: (near initialization for 'first_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:147:9: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
ZEND_ARG_PASS_INFO(0)
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:147:9: note: (near initialization for 'second_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:147:9: error: initializer element is not constant
/tmp/pear/temp/yaz/php_yaz.c:147:9: note: (near initialization for 'second_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:148:9: error: expected '}' before 'ZEND_ARG_PASS_INFO'
ZEND_ARG_PASS_INFO(1)
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:168:47: note: to match this '{'
static const zend_internal_arg_info name[] = { \
^
/usr/local/include/php/Zend/zend_API.h:171:2: note: in expansion of macro 'ZEND_BEGIN_ARG_INFO_EX'
ZEND_BEGIN_ARG_INFO_EX(name, {}, ZEND_RETURN_VALUE, -1)
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:146:5: note: in expansion of macro 'ZEND_BEGIN_ARG_INFO'
ZEND_BEGIN_ARG_INFO(second_argument_force_ref, 0)
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:152:9: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
ZEND_ARG_PASS_INFO(0)
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:152:9: note: (near initialization for 'third_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:152:9: error: initializer element is not constant
/tmp/pear/temp/yaz/php_yaz.c:152:9: note: (near initialization for 'third_argument_force_ref[1].name')
/tmp/pear/temp/yaz/php_yaz.c:153:9: error: expected '}' before 'ZEND_ARG_PASS_INFO'
ZEND_ARG_PASS_INFO(0)
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:168:47: note: to match this '{'
static const zend_internal_arg_info name[] = { \
^
/usr/local/include/php/Zend/zend_API.h:171:2: note: in expansion of macro 'ZEND_BEGIN_ARG_INFO_EX'
ZEND_BEGIN_ARG_INFO_EX(name, {}, ZEND_RETURN_VALUE, -1)
^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:151:5: note: in expansion of macro 'ZEND_BEGIN_ARG_INFO'
ZEND_BEGIN_ARG_INFO(third_argument_force_ref, 0)
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'get_assoc':
/tmp/pear/temp/yaz/php_yaz.c:220:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid YAZ handle");
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:220:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid YAZ handle");
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/main/php.h:341:23: note: declared here
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_connect':
/tmp/pear/temp/yaz/php_yaz.c:385:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(1 TSRMLS_CC, "s", &zurl_str, &zurl_len)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:385:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(1 TSRMLS_CC, "s", &zurl_str, &zurl_len)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:386:4: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:391:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(2 TSRMLS_CC, "sz", &zurl_str, &zurl_len,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:391:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(2 TSRMLS_CC, "sz", &zurl_str, &zurl_len,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:392:18: warning: comparison between pointer and integer
&user) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:440:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty zurl");
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:440:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty zurl");
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/main/php.h:341:23: note: declared here
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:484:27: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:484:5: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/main/php.h:341:23: note: declared here
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_close':
/tmp/pear/temp/yaz/php_yaz.c:546:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:546:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:547:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_search':
/tmp/pear/temp/yaz/php_yaz.c:574:32: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(3 TSRMLS_CC, "zss", &id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:574:9: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(3 TSRMLS_CC, "zss", &id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:576:34: warning: comparison between pointer and integer
&query_str, &query_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:619:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:619:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/main/php.h:341:23: note: declared here
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_present':
/tmp/pear/temp/yaz/php_yaz.c:633:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:633:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:634:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_wait':
/tmp/pear/temp/yaz/php_yaz.c:669:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) ==
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:669:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) ==
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:669:63: warning: comparison between pointer and integer
if (zend_parse_parameters(1 TSRMLS_CC, "a/", &pval_options) ==
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_errno':
/tmp/pear/temp/yaz/php_yaz.c:744:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:744:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:745:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_error':
/tmp/pear/temp/yaz/php_yaz.c:764:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:764:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:765:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_addinfo':
/tmp/pear/temp/yaz/php_yaz.c:796:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:796:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z", &id)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:797:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_hits':
/tmp/pear/temp/yaz/php_yaz.c:824:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:824:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:824:52: warning: comparison between pointer and integer
if (zend_parse_parameters(1 TSRMLS_CC, "z", &id) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:828:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(2 TSRMLS_CC, "zz/", &id, &searchresult)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:828:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(2 TSRMLS_CC, "zz/", &id, &searchresult)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:829:4: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_record':
/tmp/pear/temp/yaz/php_yaz.c:1471:29: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(3 TSRMLS_CC, "zls", &pval_id, &pos,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1471:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(3 TSRMLS_CC, "zls", &pval_id, &pos,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1472:28: warning: comparison between pointer and integer
&type, &type_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:1523:28: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1523:6: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/main/php.h:341:23: note: declared here
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
^~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_syntax':
/tmp/pear/temp/yaz/php_yaz.c:1545:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1545:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1546:32: warning: comparison between pointer and integer
&syntax, &syntax_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_element':
/tmp/pear/temp/yaz/php_yaz.c:1566:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1566:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1567:34: warning: comparison between pointer and integer
&element, &element_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_schema':
/tmp/pear/temp/yaz/php_yaz.c:1587:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1587:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1588:32: warning: comparison between pointer and integer
&schema, &schema_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_set_option':
/tmp/pear/temp/yaz/php_yaz.c:1606:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(2 TSRMLS_CC, "za",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1606:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(2 TSRMLS_CC, "za",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1607:31: warning: comparison between pointer and integer
&pval_id, &pval_ar) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:1653:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(3 TSRMLS_CC, "zss",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1653:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(3 TSRMLS_CC, "zss",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1655:31: warning: comparison between pointer and integer
&value, &value_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_get_option':
/tmp/pear/temp/yaz/php_yaz.c:1677:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &name, &name_len)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1677:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &name, &name_len)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1678:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_range':
/tmp/pear/temp/yaz/php_yaz.c:1712:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(3 TSRMLS_CC, "zll", &pval_id, &start, &number)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1712:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(3 TSRMLS_CC, "zll", &pval_id, &start, &number)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1713:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_sort':
/tmp/pear/temp/yaz/php_yaz.c:1734:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &criteria,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1734:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id, &criteria,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1735:25: warning: comparison between pointer and integer
&criteria_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_itemorder':
/tmp/pear/temp/yaz/php_yaz.c:1763:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ==
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1763:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ==
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1763:69: warning: comparison between pointer and integer
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package) ==
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_es':
/tmp/pear/temp/yaz/php_yaz.c:1799:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(3 TSRMLS_CC, "zsa", &pval_id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1799:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(3 TSRMLS_CC, "zsa", &pval_id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1800:43: warning: comparison between pointer and integer
&type, &type_len, &pval_package) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_scan':
/tmp/pear/temp/yaz/php_yaz.c:1835:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(3 TSRMLS_CC, "zss",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1835:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(3 TSRMLS_CC, "zss",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1837:31: warning: comparison between pointer and integer
&query, &query_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:1841:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(4 TSRMLS_CC, "zssa",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1841:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(4 TSRMLS_CC, "zssa",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1843:44: warning: comparison between pointer and integer
&query, &query_len, &pval_flags) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_es_result':
/tmp/pear/temp/yaz/php_yaz.c:1879:53: error: expected ')' before 'TSRMLS_CC'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1879:30: error: too few arguments to function 'zend_parse_parameters'
if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters(1 TSRMLS_CC, "z",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1880:26: warning: comparison between pointer and integer
&pval_id) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_scan_result':
/tmp/pear/temp/yaz/php_yaz.c:1912:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(2 TSRMLS_CC, "zz/",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1912:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(2 TSRMLS_CC, "zz/",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1913:32: warning: comparison between pointer and integer
&pval_id, &pval_opt) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c:1917:30: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(1 TSRMLS_CC, "z",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:1917:7: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(1 TSRMLS_CC, "z",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
 ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
                      ^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:1918:21: warning: comparison between pointer and integer
           &pval_id) == FAILURE) {
                     ^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_ccl_conf':
/tmp/pear/temp/yaz/php_yaz.c:2010:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:2010:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2011:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_ccl_parse':
/tmp/pear/temp/yaz/php_yaz.c:2068:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(3 TSRMLS_CC, "zsz/",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:2068:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(3 TSRMLS_CC, "zsz/",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2070:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_cql_parse':
/tmp/pear/temp/yaz/php_yaz.c:2165:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(4 TSRMLS_CC, "zsz/b",
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:2165:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(4 TSRMLS_CC, "zsz/b",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2167:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_cql_conf':
/tmp/pear/temp/yaz/php_yaz.c:2246:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package)
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:2246:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "za", &pval_id, &pval_package)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2247:3: warning: comparison between pointer and integer
== FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zif_yaz_database':
/tmp/pear/temp/yaz/php_yaz.c:2308:26: error: expected ')' before 'TSRMLS_CC'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~
)
/tmp/pear/temp/yaz/php_yaz.c:2308:3: error: too few arguments to function 'zend_parse_parameters'
zend_parse_parameters(2 TSRMLS_CC, "zs", &pval_id,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_API.h:304:22: note: declared here
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...);
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2309:36: warning: comparison between pointer and integer
&database, &database_len) == FAILURE) {
^~
/tmp/pear/temp/yaz/php_yaz.c: At top level:
/tmp/pear/temp/yaz/php_yaz.c:2332:51: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static void yaz_close_session(Yaz_Association *as TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c:2346:47: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static void yaz_close_link(zend_resource *res TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/yaz/php_yaz.c: In function 'zm_startup_yaz':
/tmp/pear/temp/yaz/php_yaz.c:2424:46: error: 'yaz_close_link' undeclared (first use in this function); did you mean 'yaz_log_lock'?
le_link = zend_register_list_destructors_ex(yaz_close_link, 0, "YAZ link", module_number);
^~~~~~~~~~~~~~
yaz_log_lock
/tmp/pear/temp/yaz/php_yaz.c:2424:46: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/yaz/php_yaz.c:2424:46: warning: passing argument 1 of 'zend_register_list_destructors_ex' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/local/include/php/Zend/zend_API.h:26,
from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/yaz/php_yaz.c:10:
/usr/local/include/php/Zend/zend_list.h:42:65: note: expected 'rsrc_dtor_func_t' {aka 'void (*)(struct _zend_resource *)'} but argument is of type 'const zend_internal_arg_info *' {aka 'const struct _zend_internal_arg_info *'}
ZEND_API int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, const char *type_name, int module_number);
~~~~~~~~~~~~~~~~~^~
make: *** [Makefile:209: php_yaz.lo] Error 1
ERROR: `make' failed