=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for php-apcu/apcu-5.1.23.tgz => Checksum SHA512 OK for php-apcu/apcu-5.1.23.tgz ===> Installing dependencies for php74-apcu-5.1.23nb2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb3 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency pcre2>=10.30: found pcre2-10.42 => Full dependency php>=7.4.33nb4<7.5: found php-7.4.33nb4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for php74-apcu-5.1.23nb2 ===> Extracting for php74-apcu-5.1.23nb2 ===> Patching for php74-apcu-5.1.23nb2 => Applying pkgsrc patches for php74-apcu-5.1.23nb2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-apc__cache.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-apc__cache.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-apc__cache.c,v 1.1 2023/12/06 01:05:13 gdt Exp $ | |Fix printf specifiers for values of time_t and zend_long. Upstream |zend actually defines PRI macros for zend_long, which can be int64_t |or int32_t. Choose a long line vs wrapping to make the diff to |upstream cleaner. (Observed when building on earmv7hf-el.) | |https://github.com/krakjoe/apcu/issues/501 | |--- apc_cache.c.orig 2023-11-11 17:35:28.000000000 +0000 |+++ apc_cache.c -------------------------- Patching file apc_cache.c using Plan A... Hunk #1 succeeded at 212. Hunk #2 succeeded at 275. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-apc__shm.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-apc__shm.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-apc__shm.c,v 1.2 2023/12/04 01:42:14 gdt Exp $ | |The code assumes key_t is printable with %d (int), but POSIX requires |only that key_t is an arithmetic type. Dismiss floating point as |unreasonable and cast to intmax_t. | |https://github.com/krakjoe/apcu/issues/500 | |--- apc_shm.c.orig 2023-12-04 01:27:07.199895899 +0000 |+++ apc_shm.c -------------------------- Patching file apc_shm.c using Plan A... Hunk #1 succeeded at 53. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-config.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/www/php-apcu/patches/patch-config.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-config.m4,v 1.7 2023/11/30 16:31:21 taca Exp $ | |Allow build with enabling PKG_OPTIONS: maintainer-zts. | |--- config.m4.orig 2023-11-11 17:35:28.000000000 +0000 |+++ config.m4 -------------------------- Patching file config.m4 using Plan A... Hunk #1 succeeded at 127. Hunk #2 succeeded at 179. done ===> Creating toolchain wrappers for php74-apcu-5.1.23nb2 ===> Configuring for php74-apcu-5.1.23nb2 Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2110: PHP_CONFIG_NICE is expanded from... configure.ac:18: the top level => Generating pkg-config files for builtin xz package. => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files 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 pkg-config is at least version 0.9.0... yes checking for x86_64--netbsd-cc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking target system type... x86_64--netbsd checking for PHP prefix... /usr/pkg checking for PHP includes... -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib checking for PHP extension directory... /usr/pkg/lib/php/20191128 checking for PHP installed headers prefix... /usr/pkg/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable APCu support... yes, shared checking if APCu should be allowed to use rwlocks... yes checking if APCu should be built in debug mode... no checking if APCu should clear on SIGUSR1... no checking if APCu will use mmap (or shm)... yes checking if APCu should utilize spinlocks before flocks... yes checking whether the target compiler supports builtin atomics... yes checking for pthread rwlocks... no checking for pthread mutexes... no configure: WARNING: APCu spin locking enabled checking for sigaction... yes checking for union semun... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for valgrind/memcheck.h... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking for shm_open in -lrt... yes checking whether to include code coverage symbols... no checking for a sed that does not truncate output... /tmp/www/php-apcu/work/.tools/bin/sed checking for ld used by gcc... /tmp/www/php-apcu/work/.cwrapper/bin/ld checking if the linker (/tmp/www/php-apcu/work/.cwrapper/bin/ld) is GNU ld... yes checking for /tmp/www/php-apcu/work/.cwrapper/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... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for dlfcn.h... yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the gcc linker (/tmp/www/php-apcu/work/.cwrapper/bin/ld) supports shared libraries... :1:0: fatal error: when writing output to : Input/output error compilation terminated. yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... NetBSD ld.elf_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 (/tmp/www/php-apcu/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes libtool.m4: error: problem compiling CXX test program checking for c++ option to produce PIC... checking if c++ static flag works... no checking if c++ supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the c++ linker (/tmp/www/php-apcu/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.