=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for postgresql-13.10.tar.bz2 => Checksum SHA512 OK for postgresql-13.10.tar.bz2 ===> Installing dependencies for postgresql13-contrib-13.10 ========================================================================== The supported build options for postgresql13-contrib are: bonjour dtrace gssapi icu ldap llvm nls pam The currently selected options are: gssapi 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.postgresql13 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, postgresql13-contrib-13.10. Their current value is shown below: * KRB5_DEFAULT = heimdal * PGSQL_BLCKSZ (not defined) * 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 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency postgresql13-server>=13.10: found postgresql13-server-13.10 => Full dependency libxml2>=2.9.14nb1: found libxml2-2.10.3nb2 => Full dependency postgresql13-client>=13.7nb1: found postgresql13-client-13.10 ===> 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 postgresql13-contrib-13.10 ===> Extracting for postgresql13-contrib-13.10 /usr/bin/touch /tmp/databases/postgresql13-contrib/work/postgresql-13.10/src/template/dragonfly /bin/cp /tmp/databases/postgresql13-contrib/work/postgresql-13.10/src/makefiles/Makefile.freebsd /tmp/databases/postgresql13-contrib/work/postgresql-13.10/src/makefiles/Makefile.dragonfly ===> Patching for postgresql13-contrib-13.10 => Applying pkgsrc patches for postgresql13-contrib-13.10 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-config_missing => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 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/postgresql13-contrib/../../databases/postgresql13/patches/patch-config_perl.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 adam Exp $ | |--- config/perl.m4.orig 2018-02-05 21:01:02.000000000 +0000 |+++ config/perl.m4 -------------------------- Patching file config/perl.m4 using Plan A... Hunk #1 succeeded at 98 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2021/03/18 15:04:55 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 2021-02-08 21:54:11.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2805. Hunk #2 succeeded at 2971. Hunk #3 succeeded at 10130 (offset 398 lines). Hunk #4 succeeded at 12038 (offset -4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-contrib_dblink_dblink.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 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 54 (offset 2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-contrib_uuid-ossp_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-contrib_uuid-ossp_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_uuid-ossp_Makefile,v 1.1 2021/03/18 15:04:55 adam Exp $ | |Use relative path, as top_srcdir points to PREFIX. | |--- contrib/uuid-ossp/Makefile.orig 2021-03-18 11:50:26.000000000 +0000 |+++ contrib/uuid-ossp/Makefile -------------------------- Patching file contrib/uuid-ossp/Makefile using Plan A... Hunk #1 succeeded at 15. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_Makefile.global.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 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 748 (offset 20 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_Makefile.shlib => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 adam Exp $ | |Use correct linker flags. | |--- src/Makefile.shlib.orig 2020-09-21 20:47:36.000000000 +0000 |+++ src/Makefile.shlib -------------------------- Patching file src/Makefile.shlib using Plan A... Hunk #1 succeeded at 151. Hunk #2 succeeded at 174. Hunk #3 succeeded at 240. Hunk #4 succeeded at 441 (offset 4 lines). Hunk #5 succeeded at 457 (offset 4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_backend_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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.2 2021/07/12 09:06:22 mlelstv Exp $ | |--- src/backend/Makefile.orig 2018-10-15 21:12:02.000000000 +0000 |+++ src/backend/Makefile -------------------------- Patching file src/backend/Makefile using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 120 (offset 3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_fe__utils_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_fe__utils_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_fe__utils_Makefile,v 1.2 2022/10/22 18:04:08 nros Exp $ | |* make sure catalog/pg_type_d.h has been generated before print.c compiles | fixes build postgresql client when MAKE_JOBS is set to a high value | |--- src/fe_utils/Makefile.orig 2022-08-08 20:45:58.000000000 +0000 |+++ src/fe_utils/Makefile -------------------------- Patching file src/fe_utils/Makefile using Plan A... Hunk #1 succeeded at 30. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_interfaces_libpq_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 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 58 (offset 9 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_makefiles_Makefile.solaris => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_makefiles_Makefile.solaris Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_makefiles_Makefile.solaris,v 1.1 2020/10/18 09:24:02 adam Exp $ | |--- src/makefiles/Makefile.solaris.orig 2019-09-30 20:06:55.000000000 +0000 |+++ src/makefiles/Makefile.solaris -------------------------- Patching file src/makefiles/Makefile.solaris using Plan A... Hunk #1 succeeded at 19 (offset -4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_pl_plperl_GNUmakefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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 2020/10/18 09:24:02 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 72 (offset 3 lines). Hunk #2 succeeded at 81 (offset 3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/patches/patch-src_pl_plperl_plperl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib/../../databases/postgresql13/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.2 2023/02/15 20:50:58 adam Exp $ | |--- src/pl/plperl/plperl.h.orig 2023-02-06 21:42:56.000000000 +0000 |+++ src/pl/plperl/plperl.h -------------------------- Patching file src/pl/plperl/plperl.h using Plan A... Hunk #1 succeeded at 70. Hunk #2 succeeded at 126. done ===> Creating toolchain wrappers for postgresql13-contrib-13.10 pkg_info: can't find package `libxml2-2.10.3nb2' pkg_info: can't find package `postgresql13-client-13.10' ===> Configuring for postgresql13-contrib-13.10 => 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 -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 -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_VECTOR... yes checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTOR... 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 -Wdeprecated-non-prototype, 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 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... no checking allow thread-safe client libraries... yes checking whether to build with ICU support... no 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 OpenSSL support... yes 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 xml2-config... no checking for ld used by GCC... /tmp/databases/postgresql13-contrib/work/.cwrapper/bin/ld checking if the linker (/tmp/databases/postgresql13-contrib/work/.cwrapper/bin/ld) is GNU ld... yes checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib 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 -o pbulk -g wheel checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for a thread-safe mkdir -p... (cached) mkdir -p checking for BISON... /tmp/databases/postgresql13-contrib/work/.tools/bin/bison configure: using configure: WARNING: *** The installed version of Bison, /tmp/databases/postgresql13-contrib/work/.tools/bin/bison, is too old to use with PostgreSQL. *** Bison version 1.875 or later is required, but this is . configure: WARNING: *** Without Bison you will not be able to build PostgreSQL from Git nor *** change any of the parser definition files. You can obtain Bison from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this, because the Bison *** output is pre-generated.) checking for flex... /tmp/databases/postgresql13-contrib/work/.tools/bin/lex configure: using lex 2.6.4 checking for perl... /tmp/databases/postgresql13-contrib/work/.tools/bin/perl configure: using perl configure: WARNING: *** The installed version of Perl, /tmp/databases/postgresql13-contrib/work/.tools/bin/perl, is too old to use with PostgreSQL. *** Perl version 5.8 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 whether gcc is Clang... no checking whether pthreads work with -pthread... yes 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 for getpwuid_r... yes checking for gethostbyname_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 shl_load... no 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 sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for library containing backtrace_symbols... -lexecinfo checking for library containing readline... -ledit -lcurses checking for inflate in -lz... yes checking for library containing gss_init_sec_context... -lgssapi -lkrb5 -lcrypto checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_new in -lssl... yes checking for X509_get_signature_nid... yes checking for OPENSSL_init_ssl... yes checking for BIO_get_data... yes checking for BIO_meth_new... yes checking for ASN1_STRING_get0_data... yes checking for CRYPTO_lock... no checking for xmlSaveToBuffer in -lxml2... no configure: error: library 'xml2' (version >= 2.6.23) is required for XML support *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql13-contrib 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/postgresql13-contrib