WARNING: [license.mk] Every package should define a LICENSE. => Checksum BLAKE2s OK for php-8.1.32.tar.xz => Checksum SHA512 OK for php-8.1.32.tar.xz ===> Installing dependencies for php81-enchant-8.1.32nb4 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => 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.4.3 => Tool dependency xz>=4.999.9betanb1: found xz-5.8.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency pcre2>=10.30: found pcre2-10.45 => Full dependency enchant2>=2.3.2: found enchant2-2.8.2 => Full dependency php81>=8.1.32nb1<8.2: found php81-8.1.32nb1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency glib2>=2.4.0: found glib2-2.82.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency libffi>=1.20: found libffi-3.4.8 => Full dependency libxml2>=2.6.2: found libxml2-2.14.2nb1 => Full dependency xz>=5.0.0: found xz-5.8.1 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for php81-enchant-8.1.32nb4 ===> Extracting for php81-enchant-8.1.32nb4 ===> Patching for php81-enchant-8.1.32nb4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ext_enchant_enchant.c,v 1.1 2021/11/27 07:24:43 taca Exp $ | |Fix build on pkgsrc environment. | |--- ext/enchant/enchant.c.orig 2021-10-27 00:20:44.000000000 +0000 |+++ enchant.c -------------------------- Patching file enchant.c using Plan A... Hunk #1 succeeded at 23. done ===> Creating toolchain wrappers for php81-enchant-8.1.32nb4 /bin/mkdir -p /Users/pbulk/build/textproc/php-enchant/work/.buildlink/lib/pkgconfig cd /Users/pbulk/build/textproc/php-enchant/work/.buildlink/lib/pkgconfig && /bin/ln -sf enchant-2.pc enchant.pc ===> Configuring for php81-enchant-8.1.32nb4 Configuring for: PHP Api Version: 20210902 Zend Module Api No: 20210902 Zend Extension Api No: 420210902 => 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 configure: WARNING: unrecognized options: --with-libiconv-prefix 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... /opt/pkg/bin/nbsed checking pkg-config is at least version 0.9.0... yes checking for aarch64-apple-darwin23-cc... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking how to run the C preprocessor... clang -E checking for egrep -e... (cached) /usr/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... aarch64-apple-darwin23 checking host system type... aarch64-apple-darwin23 checking target system type... aarch64-apple-darwin23 checking for PHP prefix... /opt/pkg checking for PHP includes... -I/opt/pkg/include/php/8.1 -I/opt/pkg/include/php/8.1/main -I/opt/pkg/include/php/8.1/TSRM -I/opt/pkg/include/php/8.1/Zend -I/opt/pkg/include/php/8.1/ext -I/opt/pkg/include/php/8.1/ext/date/lib checking for PHP extension directory... /opt/pkg/lib/php/8.1/aarch64 checking for PHP installed headers prefix... /opt/pkg/include/php/8.1 checking if debug is enabled... no checking if zts is enabled... no checking for gawk... /opt/pkg/bin/nawk checking if /opt/pkg/bin/nawk is broken... no checking whether to build with Enchant support... yes, shared checking for enchant-2... yes checking for a sed that does not truncate output... /Users/pbulk/build/textproc/php-enchant/work/.tools/bin/sed checking for ld used by clang... /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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 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) 1048576 checking command to parse /usr/bin/nm -B output from clang object... ok checking for objdir... .libs checking for aarch64-apple-darwin23-ar... no checking for ar... ar checking for aarch64-apple-darwin23-ranlib... no checking for ranlib... ranlib checking for aarch64-apple-darwin23-strip... no checking for strip... strip checking for aarch64-apple-darwin23-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin23-nmedit... no checking for nmedit... nmedit checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common checking if clang PIC flag -fno-common works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking whether the clang linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin23 dyld 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 clang++ linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... no libtool.m4: error: problem compiling CXX test program checking for clang++ option to produce PIC... checking if clang++ static flag works... no checking if clang++ supports -c -o file.o... no checking whether the clang++ linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... no checking dynamic linker characteristics... darwin23 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status config.status: creating config.h configure: WARNING: unrecognized options: --with-libiconv-prefix => 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. /opt/pkg/bin/mksh: /bin/mv: inaccessible or not found *** Error code 127 Stop. bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/php-enchant WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/php-enchant