=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. => Checksum SHA1 OK for php-mailparse/mailparse-3.1.0.tgz => Checksum RMD160 OK for php-mailparse/mailparse-3.1.0.tgz => Checksum SHA512 OK for php-mailparse/mailparse-3.1.0.tgz ===> Installing dependencies for php56-mailparse-3.1.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency automake>=1.9: found automake-1.16.2nb1 => Tool dependency autoconf>=2.58: found autoconf-2.69nb10 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency php56-mbstring>0: found php56-mbstring-5.6.40 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency php>=5.6.40nb4<5.7: found php-5.6.40nb4 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for php56-mailparse-3.1.0 ===> Extracting for php56-mailparse-3.1.0 ===> Patching for php56-mailparse-3.1.0 => Applying pkgsrc patches for php56-mailparse-3.1.0 => Verifying /opt/pkgsrc/mail/php-mailparse/patches/patch-mailparse.c => Applying pkgsrc patch /opt/pkgsrc/mail/php-mailparse/patches/patch-mailparse.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-mailparse.c,v 1.1 2020/08/16 15:51:45 otis Exp $ | |Check for php mbstring extension properly. | |--- mailparse.c.orig 2020-04-22 07:07:51.000000000 +0000 |+++ mailparse.c -------------------------- Patching file mailparse.c using Plan A... Hunk #1 succeeded at 29. done ===> Creating toolchain wrappers for php56-mailparse-3.1.0 ===> Configuring for php56-mailparse-3.1.0 Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 => 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... /opt/work/mail/php-mailparse/work/.tools/bin/sed checking for aarch64-apple-darwin20-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 we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking for icc... no checking for suncc... no checking whether clang and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... yes checking build system type... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking target system type... aarch64-apple-darwin20 checking for PHP prefix... /opt/pkg checking for PHP includes... -I/opt/pkg/include/php -I/opt/pkg/include/php/main -I/opt/pkg/include/php/TSRM -I/opt/pkg/include/php/Zend -I/opt/pkg/include/php/ext -I/opt/pkg/include/php/ext/date/lib checking for PHP extension directory... /opt/pkg/lib/php/20140828 checking for PHP installed headers prefix... /opt/pkg/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... /opt/pkg/bin/nawk checking if /opt/pkg/bin/nawk is broken... no checking whether to enable mailparse support... yes, shared checking libmbfl headers... found in /opt/pkg/include/php/ext/mbstring checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for /Library/Developer/CommandLineTools/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... (cached) 1048576 checking command to parse /usr/bin/nm -B output from clang object... ok checking for objdir... .libs checking for aarch64-apple-darwin20-ar... no checking for ar... ar checking for aarch64-apple-darwin20-ranlib... no checking for ranlib... ranlib checking for aarch64-apple-darwin20-strip... no checking for strip... strip checking for aarch64-apple-darwin20-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin20-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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 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 (/Library/Developer/CommandLineTools/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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no checking dynamic linker characteristics... darwin20 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate 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.