=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for ming-0_4_8.tar.gz
=> Checksum SHA512 OK for ming-0_4_8.tar.gz
===> Installing dependencies for php80-ming-0.4.8nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency automake>=1.9: found automake-1.16.5
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency pcre2>=10.30: found pcre2-10.39
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency php>=8.0.13<8.1: found php-8.0.14
=> Full dependency ming>=0.4.8nb2: found ming-0.4.8nb4
===> 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 php80-ming-0.4.8nb1
===> Extracting for php80-ming-0.4.8nb1
/bin/cp /tree/pkgsrc/multimedia/php-ming/files/config.m4 /scratch/work/multimedia/php-ming/work/libming-ming-0_4_8/php_ext
===> Patching for php80-ming-0.4.8nb1
=> Applying pkgsrc patches for php80-ming-0.4.8nb1
=> Verifying /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-configure.in
=> Applying pkgsrc patch /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-configure.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.in,v 1.1 2018/11/13 10:18:26 markd Exp $
|
|From ef3719d39e8bb7e96c6ec57d60261f1516353460 Mon Sep 17 00:00:00 2001
|From: Lars Wendler <polynomial-c@gentoo.org>
|Date: Fri, 4 May 2018 17:40:04 +0200
|Subject: [PATCH] Use pkg-config to find freetype
|
|As of freetype-2.9.1 the freetype-config script has been deprecated and
|is no longer shipped by default.
|
|--- configure.in.orig	2017-04-07 08:12:56.000000000 +0000
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 257.
done
=> Verifying /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-php__ext_ming.c
=> Applying pkgsrc patch /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-php__ext_ming.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-php__ext_ming.c,v 1.5 2021/03/07 09:38:58 taca Exp $
|
|Fix build problem if php56 is built with maintainer-zts PKG_OPTION.
|
|--- php_ext/ming.c.orig	2017-04-07 08:12:56.000000000 +0000
|+++ php_ext/ming.c
--------------------------
Patching file php_ext/ming.c using Plan A...
Hunk #1 succeeded at 415.
Hunk #2 succeeded at 465.
Hunk #3 succeeded at 513.
Hunk #4 succeeded at 553.
Hunk #5 succeeded at 614.
Hunk #6 succeeded at 673.
Hunk #7 succeeded at 856.
Hunk #8 succeeded at 914.
Hunk #9 succeeded at 1000.
Hunk #10 succeeded at 1025.
Hunk #11 succeeded at 1042.
Hunk #12 succeeded at 1055.
Hunk #13 succeeded at 1325.
Hunk #14 succeeded at 1472.
Hunk #15 succeeded at 1569.
Hunk #16 succeeded at 2167.
Hunk #17 succeeded at 2198.
Hunk #18 succeeded at 2585.
Hunk #19 succeeded at 2795.
Hunk #20 succeeded at 2853.
Hunk #21 succeeded at 2912.
Hunk #22 succeeded at 2957.
Hunk #23 succeeded at 3544.
Hunk #24 succeeded at 3591.
Hunk #25 succeeded at 3635.
Hunk #26 succeeded at 3657.
Hunk #27 succeeded at 3708.
Hunk #28 succeeded at 3725.
Hunk #29 succeeded at 3851.
Hunk #30 succeeded at 3869.
Hunk #31 succeeded at 4016.
Hunk #32 succeeded at 4039.
Hunk #33 succeeded at 4202.
Hunk #34 succeeded at 4271.
Hunk #35 succeeded at 4288.
Hunk #36 succeeded at 4354.
Hunk #37 succeeded at 4480.
Hunk #38 succeeded at 4863.
Hunk #39 succeeded at 4958.
Hunk #40 succeeded at 5010.
Hunk #41 succeeded at 5048.
Hunk #42 succeeded at 5085.
Hunk #43 succeeded at 5174.
Hunk #44 succeeded at 5254.
Hunk #45 succeeded at 5307.
Hunk #46 succeeded at 5363.
Hunk #47 succeeded at 5428.
Hunk #48 succeeded at 5927.
Hunk #49 succeeded at 5992.
Hunk #50 succeeded at 6085.
Hunk #51 succeeded at 6146.
Hunk #52 succeeded at 6272.
Hunk #53 succeeded at 6555.
done
=> Verifying /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-util_parser.c
=> Applying pkgsrc patch /tree/pkgsrc/multimedia/php-ming/../../multimedia/ming/patches/patch-util_parser.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_parser.c,v 1.1 2018/11/23 12:13:19 jperkin Exp $
|
|Need limits.h for INT_MAX and provide MAX compat macro.
|
|--- util/parser.c.orig	2017-04-07 08:12:56.000000000 +0000
|+++ util/parser.c
--------------------------
Patching file util/parser.c using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 52.
done
===> Creating toolchain wrappers for php80-ming-0.4.8nb1
===> Configuring for php80-ming-0.4.8nb1
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2072: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
config.m4:47: warning: The macro `AC_TRY_RUN' is obsolete.
config.m4:47: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
config.m4:47: the top level
config.m4:76: warning: The macro `AC_TRY_COMPILE' is obsolete.
config.m4:76: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
config.m4:76: the top level
config.m4:85: warning: The macro `AC_TRY_COMPILE' is obsolete.
config.m4:85: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
config.m4:85: the top level
config.m4:94: warning: The macro `AC_TRY_COMPILE' is obsolete.
config.m4:94: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
config.m4:94: the top level
config.m4:104: warning: The macro `AC_TRY_COMPILE' is obsolete.
config.m4:104: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
config.m4:104: the top level
cd /scratch/work/multimedia/php-ming/work/libming-ming-0_4_8; sh ./autogen.sh
Running libtoolize -f -c
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in 'macros'.
libtoolize: copying file 'macros/libtool.m4'
libtoolize: copying file 'macros/ltoptions.m4'
libtoolize: copying file 'macros/ltsugar.m4'
libtoolize: copying file 'macros/ltversion.m4'
libtoolize: copying file 'macros/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([macros])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
Running aclocal -I macros
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running libtoolize --automake
Running autoheader -f
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running automake
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:15: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:15: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:35: installing 'config/compile'
configure.in:15: installing 'config/missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
php_ext/Makefile.am: installing 'config/depcomp'
src/blocks/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
parallel-tests: installing 'config/test-driver'
test/actionscript/Makefile.am:86: warning: source file '../run_test.c' is in a subdirectory,
test/actionscript/Makefile.am:86: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
test/actionscript/Makefile.am:86: warning: source file '../../util/makeswf_utils.c' is in a subdirectory,
test/actionscript/Makefile.am:86: but option 'subdir-objects' is disabled
test/actionscript/Makefile.am:86: warning: source file '../../util/vasprintf.c' is in a subdirectory,
test/actionscript/Makefile.am:86: but option 'subdir-objects' is disabled
util/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Running autoconf
configure.in:15: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from...
configure.in:15: the top level
configure.in:77: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:77: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
macros/python.m4:77: AC_PYTHON_DEVEL is expanded from...
configure.in:77: the top level
configure.in:240: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.in:240: You should run autoupdate.
macros/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.in:240: the top level
configure.in:301: warning: The macro `AC_ERROR' is obsolete.
configure.in:301: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from...
configure.in:301: the top level
configure.in:377: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:377: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1125: AM_CONFIG_HEADER is expanded from...
configure.in:377: the top level
configure.in:387: warning: AC_OUTPUT should be used without arguments.
configure.in:387: You should run autoupdate.

  All autostuff worked fine. 

=> 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 i486--netbsdelf-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... i486--netbsdelf
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
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/20201124
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 for MING support... yes, shared
checking for sin in -lm... yes
checking for Ming_useSWFVersion in -lming... yes
checking for destroySWFBlock... missing
checking for a sed that does not truncate output... /scratch/work/multimedia/php-ming/work/.tools/bin/sed
checking for ld used by gcc... /scratch/work/multimedia/php-ming/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/multimedia/php-ming/work/.cwrapper/bin/ld) is GNU ld... yes
checking for /scratch/work/multimedia/php-ming/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 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) 262144
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i486--netbsdelf-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... yes
checking whether the gcc linker (/scratch/work/multimedia/php-ming/work/.cwrapper/bin/ld) supports shared libraries... 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 (/scratch/work/multimedia/php-ming/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 whether the c++ linker (/scratch/work/multimedia/php-ming/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.