=> Building net/pecl-yaz@php73 Started : Thursday, 25 OCT 2018 at 17:55:58 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.822.g10981-DEVELOPMENT #32: Sun Oct 21 08:53:42 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/pecl-yaz XDG_CONFIG_HOME=/construction/net/pecl-yaz HOME=/construction/net/pecl-yaz TMPDIR="/tmp" PATH=/construction/net/pecl-yaz/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-yaz=/usr/local --with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/pecl-yaz XDG_CONFIG_HOME=/construction/net/pecl-yaz HOME=/construction/net/pecl-yaz TMPDIR="/tmp" PATH=/construction/net/pecl-yaz/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/pecl-yaz/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PHP_EXT_DIR=20180731 GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/yaz" EXAMPLESDIR="share/examples/yaz" DATADIR="share/yaz" WWWDIR="www/yaz" ETCDIR="etc/yaz" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PHP_EXT_DIR=20180731 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/yaz DOCSDIR=/usr/local/share/doc/yaz EXAMPLESDIR=/usr/local/share/examples/yaz WWWDIR=/usr/local/www/yaz ETCDIR=/usr/local/etc/yaz -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500317 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License PHP301 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> php73-pecl-yaz-1.2.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_4.txz Installing pkg-1.10.5_4... Extracting pkg-1.10.5_4: .......... done ===> php73-pecl-yaz-1.2.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of php73-pecl-yaz-1.2.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License PHP301 accepted by the user ===> Fetching all distfiles required by php73-pecl-yaz-1.2.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License PHP301 accepted by the user ===> Fetching all distfiles required by php73-pecl-yaz-1.2.1 for building => SHA256 Checksum OK for PECL/yaz-1.2.1.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License PHP301 accepted by the user ===> Fetching all distfiles required by php73-pecl-yaz-1.2.1 for building ===> Extracting for php73-pecl-yaz-1.2.1 => SHA256 Checksum OK for PECL/yaz-1.2.1.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for php73-pecl-yaz-1.2.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> php73-pecl-yaz-1.2.1 depends on file: /usr/local/bin/phpize - not found ===> Installing existing package /packages/All/php73-7.3.0.r2_1.txz Installing php73-7.3.0.r2_1... `-- Installing libargon2-20171227_1... `-- Extracting libargon2-20171227_1: .......... done `-- Installing libxml2-2.9.7... `-- Extracting libxml2-2.9.7: .......... done `-- Installing pcre2-10.31... `-- Extracting pcre2-10.31: .......... done Extracting php73-7.3.0.r2_1: .......... done ===> php73-pecl-yaz-1.2.1 depends on file: /usr/local/bin/phpize - found ===> Returning to build of php73-pecl-yaz-1.2.1 ===> php73-pecl-yaz-1.2.1 depends on package: autoconf>0 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz Installing autoconf-2.69_1... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing m4-1.4.18,1... `-- Extracting m4-1.4.18,1: .......... done `-- Installing perl5-5.26.2... `-- Extracting perl5-5.26.2: .......... done Extracting autoconf-2.69_1: .......... done Message from perl5-5.26.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> php73-pecl-yaz-1.2.1 depends on package: autoconf>0 - found ===> Returning to build of php73-pecl-yaz-1.2.1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> php73-pecl-yaz-1.2.1 depends on shared library: libyaz.so - not found ===> Installing existing package /packages/All/yaz-5.26.1.txz Installing yaz-5.26.1... `-- Installing gnutls-3.5.19... | `-- Installing ca_root_nss-3.39... | `-- Extracting ca_root_nss-3.39: ........ done | `-- Installing gettext-runtime-0.19.8.1_1... | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | `-- Installing gmp-6.1.2... | `-- Extracting gmp-6.1.2: .......... done | `-- Installing libidn2-2.0.5... | | `-- Installing libunistring-0.9.10... | | `-- Extracting libunistring-0.9.10: .......... done | `-- Extracting libidn2-2.0.5: .......... done | `-- Installing libtasn1-4.13... | `-- Extracting libtasn1-4.13: .......... done | `-- Installing nettle-3.4... | `-- Extracting nettle-3.4: .......... done | `-- Installing p11-kit-0.23.14... | | `-- Installing libffi-3.2.1_2... | | `-- Extracting libffi-3.2.1_2: .......... done | `-- Extracting p11-kit-0.23.14: .......... done | `-- Installing trousers-0.3.14_2... | | `-- Installing libressl-2.7.4... | | `-- Extracting libressl-2.7.4: .......... done | | `-- Installing tpm-emulator-0.7.4_2... ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | | `-- Extracting tpm-emulator-0.7.4_2: ......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | `-- Extracting trousers-0.3.14_2: .......... done `-- Extracting gnutls-3.5.19: .......... done `-- Installing icu-62.1_2,1... `-- Extracting icu-62.1_2,1: .......... done `-- Installing libxslt-1.1.32... | `-- Installing libgcrypt-1.8.3... | | `-- Installing libgpg-error-1.32... | | `-- Extracting libgpg-error-1.32: .......... done | `-- Extracting libgcrypt-1.8.3: .......... done `-- Extracting libxslt-1.1.32: .......... done `-- Installing ncurses-6.1.20180728... `-- Extracting ncurses-6.1.20180728: .......... done `-- Installing readline-7.0.3_1... `-- Extracting readline-7.0.3_1: .......... done `-- Installing tcl86-8.6.8... `-- Extracting tcl86-8.6.8: .......... done Extracting yaz-5.26.1: .......... done Message from ca_root_nss-3.39: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** Message from trousers-0.3.14_2: To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===> php73-pecl-yaz-1.2.1 depends on shared library: libyaz.so - found (/usr/local/lib/libyaz.so) ===> Returning to build of php73-pecl-yaz-1.2.1 ===> php73-pecl-yaz-1.2.1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> php73-pecl-yaz-1.2.1 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> PHPizing for php73-pecl-yaz-1.2.1 ===> Configuring for php73-pecl-yaz-1.2.1 Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 configure: loading site script /xports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... /usr/bin/sed 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... cpp checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-portbld-dragonfly5.3 checking host system type... x86_64-portbld-dragonfly5.3 checking target system type... x86_64-portbld-dragonfly5.3 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/20180731 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking for YAZ support... yes, shared checking for YAZ version... 5.26.1 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... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 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) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.3 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 checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.3 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for php73-pecl-yaz-1.2.1 --- php_yaz.lo --- /bin/sh /construction/net/pecl-yaz/yaz-1.2.1/libtool --mode=compile cc -I. -I/construction/net/pecl-yaz/yaz-1.2.1 -DPHP_ATOM_INC -I/construction/net/pecl-yaz/yaz-1.2.1/include -I/construction/net/pecl-yaz/yaz-1.2.1/main -I/construction/net/pecl-yaz/yaz-1.2.1 -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/local/include -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c -o php_yaz.lo mkdir .libs cc -I. -I/construction/net/pecl-yaz/yaz-1.2.1 -DPHP_ATOM_INC -I/construction/net/pecl-yaz/yaz-1.2.1/include -I/construction/net/pecl-yaz/yaz-1.2.1/main -I/construction/net/pecl-yaz/yaz-1.2.1 -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/local/include -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c -fPIC -DPIC -o .libs/php_yaz.o In file included from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:33, from /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c:10: /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c: In function 'zif_yaz_hits': /usr/local/include/php/Zend/zend_types.h:784:24: error: expected expression before 'do' #define ZVAL_ARR(z, a) do { \ ^~ /usr/local/include/php/Zend/zend_API.h:377:28: note: in expansion of macro 'ZVAL_ARR' #define array_init(arg) ZVAL_ARR((arg), zend_new_array(0)) ^~~~~~~~ /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c:835:22: note: in expansion of macro 'array_init' if (searchresult && array_init(searchresult) == FAILURE) { ^~~~~~~~~~ /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c: In function 'zif_yaz_scan_result': /usr/local/include/php/Zend/zend_types.h:784:24: error: expected expression before 'do' #define ZVAL_ARR(z, a) do { \ ^~ /usr/local/include/php/Zend/zend_API.h:377:28: note: in expansion of macro 'ZVAL_ARR' #define array_init(arg) ZVAL_ARR((arg), zend_new_array(0)) ^~~~~~~~ /construction/net/pecl-yaz/yaz-1.2.1/php_yaz.c:1925:18: note: in expansion of macro 'array_init' if (pval_opt && array_init(pval_opt) == FAILURE) { ^~~~~~~~~~ *** [php_yaz.lo] Error code 1 make[1]: stopped in /construction/net/pecl-yaz/yaz-1.2.1 1 error make[1]: stopped in /construction/net/pecl-yaz/yaz-1.2.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/net/pecl-yaz -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 25 OCT 2018 at 17:56:32 UTC Duration: 00:00:33