+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=82 WRKLOG=/tmp/bulklog/php82-tidy-8.2.18/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=82 WRKLOG=/tmp/bulklog/php82-tidy-8.2.18/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for php-8.2.18.tar.xz => Checksum SHA512 OK for php-8.2.18.tar.xz ===> Installing dependencies for php82-tidy-8.2.18 => 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.72 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency pcre2>=10.30: found pcre2-10.43 => Full dependency php>=8.2.12nb1<8.3: found php-8.2.18 => Full dependency tidy>=5.1.25<20000000: found tidy-5.8.0 ===> Overriding tools for php82-tidy-8.2.18 ===> Extracting for php82-tidy-8.2.18 ===> Patching for php82-tidy-8.2.18 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ext_tidy_config.m4,v 1.1 2022/12/11 14:12:29 taca Exp $ | |Fix portability. | |--- ext/tidy/config.m4.orig 2018-12-04 16:12:28.000000000 +0000 |+++ config.m4 -------------------------- Patching file config.m4 using Plan A... Hunk #1 succeeded at 39 (offset -1 lines). done ===> Creating toolchain wrappers for php82-tidy-8.2.18 ===> Configuring for php82-tidy-8.2.18 Configuring for: PHP Api Version: 20220829 Zend Module Api No: 20220829 Zend Extension Api No: 420220829 => 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) /bin/grep checking for egrep... (cached) /bin/egrep checking for a sed that does not truncate output... /bin/sed checking pkg-config is at least version 0.9.0... yes checking for x86_64-redhat-linux-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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... -std=gnu11 checking how to run the C preprocessor... cc -std=gnu11 -E checking for egrep -e... (cached) /bin/egrep checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu 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/20220829 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... /bin/gawk checking for TIDY support... yes, shared checking for tidyOptGetDoc in -ltidy... yes checking for tidyReleaseDate in -ltidy... yes checking for a sed that does not truncate output... /home/pbulk/build/www/php-tidy/work/.tools/bin/sed checking for ld used by cc -std=gnu11... /home/pbulk/build/www/php-tidy/work/.cwrapper/bin/ld checking if the linker (/home/pbulk/build/www/php-tidy/work/.cwrapper/bin/ld) is GNU ld... yes checking for /home/pbulk/build/www/php-tidy/work/.cwrapper/bin/ld option to reload object files... -r checking for BSD-compatible nm... /bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all 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 dlfcn.h... yes checking the maximum length of command line arguments... (cached) 2097152 checking command to parse /bin/nm -B output from cc -std=gnu11 object... ok checking for objdir... .libs checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-strip... no checking for strip... strip checking if cc -std=gnu11 supports -fno-rtti -fno-exceptions... no checking for cc -std=gnu11 option to produce PIC... -fPIC checking if cc -std=gnu11 PIC flag -fPIC works... yes checking if cc -std=gnu11 static flag -static works... no checking if cc -std=gnu11 supports -c -o file.o... yes checking whether the cc -std=gnu11 linker (/home/pbulk/build/www/php-tidy/work/.cwrapper/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 checking whether the c++ linker (/home/pbulk/build/www/php-tidy/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... 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 whether the c++ linker (/home/pbulk/build/www/php-tidy/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.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.