=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for libopenmpt-0.5.10+release.autotools.tar.gz
=> Checksum RMD160 OK for libopenmpt-0.5.10+release.autotools.tar.gz
=> Checksum SHA512 OK for libopenmpt-0.5.10+release.autotools.tar.gz
===> Installing dependencies for libopenmpt-0.5.10nb2
==========================================================================
The supported build options for libopenmpt are:

	flac pulseaudio sndfile wavpack

The currently selected options are:

	pulseaudio sndfile

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.libopenmpt (not defined)

==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.68.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency gmake>=3.81: found gmake-4.3nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency help2man-[0-9]*: found help2man-1.48.5
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency pulseaudio>=15.0: found pulseaudio-15.0
=> Full dependency libsndfile>=1.0.29nb1: found libsndfile-1.0.31nb2
=> Full dependency mpg123>=1.0.0: found mpg123-1.29.0
=> Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.16nb1
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.6
===> 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 libopenmpt-0.5.10nb2
===> Extracting for libopenmpt-0.5.10nb2
===> Patching for libopenmpt-0.5.10nb2
===> Creating toolchain wrappers for libopenmpt-0.5.10nb2
===> Configuring for libopenmpt-0.5.10nb2
=> Generating pkg-config file for builtin expat 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
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "libmodplug/libmodplug.pc.in".
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for i486--netbsdelf-gcc... 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for i486--netbsdelf-ar... no
checking for i486--netbsdelf-lib... no
checking for i486--netbsdelf-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
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... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking pkg-config is at least version 0.24... yes
checking for i486--netbsdelf-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/scratch/work/audio/libopenmpt/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for ZLIB... yes
checking for MPG123... yes
checking for OGG... yes
checking for VORBIS... yes
checking for VORBISFILE... yes
checking for SNDFILE... yes
checking for FLAC... yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether c++ supports C++17 features with -std=c++17... no
checking whether c++ supports C++17 features with +std=c++17... no
checking whether c++ supports C++17 features with -h std=c++17... no
checking whether c++ supports C++17 features with -std=c++1z... no
checking whether c++ supports C++17 features with +std=c++1z... no
checking whether c++ supports C++17 features with -h std=c++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/audio/libopenmpt
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/audio/libopenmpt