=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for postgresql-16.0.tar.bz2 => Checksum SHA512 OK for postgresql-16.0.tar.bz2 ===> Installing dependencies for postgresql16-client-16.0 ========================================================================== The supported build options for postgresql16-client are: bonjour dtrace gssapi ldap llvm lz4 nls pam The currently selected options are: gssapi lz4 nls You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.postgresql16 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, postgresql16-client-16.0. Their current value is shown below: * KRB5_DEFAULT = heimdal * PGSQL_BLCKSZ (not defined) * PGSQL_THREAD_SAFETY = yes * READLINE_DEFAULT = editline * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * READLINE_TYPE = editline * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency bison>=1.0: found bison-3.8.2nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.2 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency icu>=73.2nb1: found icu-73.2nb1 => Full dependency libxml2>=2.10.4nb2: found libxml2-2.10.4nb2 => Full dependency lz4>=1.7.3<100: found lz4-1.9.4 ===> 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 postgresql16-client-16.0 ===> Extracting for postgresql16-client-16.0 /usr/bin/touch /tmp/databases/postgresql16-client/work/postgresql-16.0/src/template/dragonfly /bin/cp /tmp/databases/postgresql16-client/work/postgresql-16.0/src/makefiles/Makefile.freebsd /tmp/databases/postgresql16-client/work/postgresql-16.0/src/makefiles/Makefile.dragonfly ===> Patching for postgresql16-client-16.0 => Applying pkgsrc patches for postgresql16-client-16.0 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-config_missing => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-config_missing Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-config_missing,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- config/missing.orig 2012-10-05 12:14:55.000000000 +0000 |+++ config/missing -------------------------- Patching file config/missing using Plan A... Hunk #1 succeeded at 40. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-config_perl.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-config_perl.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-config_perl.m4,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- config/perl.m4.orig 2023-09-11 20:25:06.000000000 +0000 |+++ config/perl.m4 -------------------------- Patching file config/perl.m4 using Plan A... Hunk #1 succeeded at 98. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2023/09/17 08:53:21 adam Exp $ | |Do not store CONFIGURE_ARGS, as these may contain working directory references. |Finally, native solaris uses -lgss for gssapi on mit-krb5. | |--- configure.orig 2023-09-11 20:25:06.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2825. Hunk #2 succeeded at 2989. Hunk #3 succeeded at 10456. Hunk #4 succeeded at 12645. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-contrib_dblink_dblink.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-contrib_dblink_dblink.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_dblink_dblink.c,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- contrib/dblink/dblink.c.orig 2013-04-01 18:20:36.000000000 +0000 |+++ contrib/dblink/dblink.c -------------------------- Patching file contrib/dblink/dblink.c using Plan A... Hunk #1 succeeded at 55 (offset 3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_Makefile.global.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_Makefile.global.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_Makefile.global.in,v 1.1 2023/09/17 08:53:21 adam Exp $ | |Fix building on Cygwin. | |--- src/Makefile.global.in.orig 2020-09-21 20:47:36.000000000 +0000 |+++ src/Makefile.global.in -------------------------- Patching file src/Makefile.global.in using Plan A... Hunk #1 succeeded at 757 (offset 29 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_Makefile.shlib => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_Makefile.shlib Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_Makefile.shlib,v 1.1 2023/09/17 08:53:21 adam Exp $ | |Use correct linker flags. | |--- src/Makefile.shlib.orig 2023-09-11 20:25:06.000000000 +0000 |+++ src/Makefile.shlib -------------------------- Patching file src/Makefile.shlib using Plan A... Hunk #1 succeeded at 154. Hunk #2 succeeded at 216. Hunk #3 succeeded at 407. Hunk #4 succeeded at 423. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_backend_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_backend_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_backend_Makefile,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- src/backend/Makefile.orig 2023-09-11 20:25:06.000000000 +0000 |+++ src/backend/Makefile -------------------------- Patching file src/backend/Makefile using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 120. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_interfaces_libpq_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_interfaces_libpq_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_interfaces_libpq_Makefile,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- src/interfaces/libpq/Makefile.orig 2016-02-08 21:12:28.000000000 +0000 |+++ src/interfaces/libpq/Makefile -------------------------- Patching file src/interfaces/libpq/Makefile using Plan A... Hunk #1 succeeded at 64 (offset 15 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_pl_plperl_GNUmakefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_pl_plperl_GNUmakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_pl_plperl_GNUmakefile,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- src/pl/plperl/GNUmakefile.orig 2018-10-15 21:12:02.000000000 +0000 |+++ src/pl/plperl/GNUmakefile -------------------------- Patching file src/pl/plperl/GNUmakefile using Plan A... Hunk #1 succeeded at 86 (offset 8 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_pl_plperl_plperl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client/../../databases/postgresql16/patches/patch-src_pl_plperl_plperl.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2023/09/17 08:53:21 adam Exp $ | |--- src/pl/plperl/plperl.h.orig 2023-02-06 21:39:04.000000000 +0000 |+++ src/pl/plperl/plperl.h -------------------------- Patching file src/pl/plperl/plperl.h using Plan A... Hunk #1 succeeded at 74 (offset 4 lines). Hunk #2 succeeded at 131 (offset 4 lines). done ===> Creating toolchain wrappers for postgresql16-client-16.0 ===> Configuring for postgresql16-client-16.0 => 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 => Fixing locale directory references. => Checking for portability problems in extracted files checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking which template to use... netbsd checking whether NLS is wanted... yes checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for x86_64--netbsd-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 for gcc option to accept ISO C99... none needed checking whether we are using the GNU C++ compiler... no checking whether c++ accepts -g... no checking for gawk... /usr/bin/awk checking whether gcc supports -Wdeclaration-after-statement, for CFLAGS... yes checking whether gcc supports -Werror=vla, for CFLAGS... yes checking whether gcc supports -Werror=unguarded-availability-new, for CFLAGS... no checking whether c++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no checking whether gcc supports -Wendif-labels, for CFLAGS... yes checking whether c++ supports -Wendif-labels, for CXXFLAGS... no checking whether gcc supports -Wmissing-format-attribute, for CFLAGS... yes checking whether c++ supports -Wmissing-format-attribute, for CXXFLAGS... no checking whether gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes checking whether c++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... no checking whether gcc supports -Wcast-function-type, for CFLAGS... no checking whether c++ supports -Wcast-function-type, for CXXFLAGS... no checking whether gcc supports -Wshadow=compatible-local, for CFLAGS... yes checking whether c++ supports -Wshadow=compatible-local, for CXXFLAGS... no checking whether gcc supports -Wformat-security, for CFLAGS... yes checking whether c++ supports -Wformat-security, for CXXFLAGS... no checking whether gcc supports -fno-strict-aliasing, for CFLAGS... yes checking whether c++ supports -fno-strict-aliasing, for CXXFLAGS... no checking whether gcc supports -fwrapv, for CFLAGS... yes checking whether c++ supports -fwrapv, for CXXFLAGS... no checking whether gcc supports -fexcess-precision=standard, for CFLAGS... yes checking whether c++ supports -fexcess-precision=standard, for CXXFLAGS... no checking whether gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes checking whether gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no checking whether gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... no checking whether gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no checking whether gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes checking whether c++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... no checking whether c++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... no checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking pkg-config is at least version 0.9.0... yes checking allow thread-safe client libraries... yes checking whether to build with ICU support... yes checking for icu-uc icu-i18n... yes checking whether to build with Tcl... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build with GSSAPI support... yes checking whether to build with PAM support... no checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... no checking whether to build with Bonjour support... no checking whether to build with SELinux support... no checking whether to build with systemd support... no checking whether to build with XML support... yes checking for libxml-2.0 >= 2.6.23... yes checking whether to build with LZ4 support... yes checking for liblz4... yes checking whether to build with ZSTD support... no checking for x86_64--netbsd-strip... no checking for strip... strip checking whether it is possible to strip libraries... yes checking for x86_64--netbsd-ar... no checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for TAR... /bin/tar checking whether ln -s works... yes checking for a thread-safe mkdir -p... (cached) mkdir -p checking for BISON... /tmp/databases/postgresql16-client/work/.tools/bin/bison configure: using bison (GNU Bison) 3.8.2 checking for flex... /tmp/databases/postgresql16-client/work/.tools/bin/lex configure: using lex 2.6.4 checking for perl... /tmp/databases/postgresql16-client/work/.tools/bin/perl configure: using perl configure: WARNING: *** The installed version of Perl, /tmp/databases/postgresql16-client/work/.tools/bin/perl, is too old to use with PostgreSQL. *** Perl version 5.14 or later is required, but this is . configure: WARNING: *** Without Perl you will not be able to build PostgreSQL from Git. *** You can obtain Perl from any CPAN mirror site. *** (If you are using the official distribution of PostgreSQL then you do not *** need to worry about this, because the Perl output is pre-generated.) 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 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 pthread_join using gcc -pthread ... yes checking whether gcc is Clang... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking whether strerror_r returns int... yes checking for main in -lm... yes checking for library containing setproctitle... none required checking for library containing dlsym... none required checking for library containing socket... none required checking for library containing getopt_long... none required checking for library containing shm_open... -lrt checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing shmget... none required checking for library containing backtrace_symbols... -lexecinfo checking for library containing pthread_barrier_wait... -lpthread checking for library containing readline... -ledit -lcurses checking for inflate in -lz... yes checking for library containing gss_store_cred_into... no configure: error: could not find function 'gss_store_cred_into' required for GSSAPI *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql16-client