=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for postgresql-12.14.tar.bz2 => Checksum SHA512 OK for postgresql-12.14.tar.bz2 ===> Installing dependencies for postgresql12-plpython-12.14 ========================================================================== The supported build options for postgresql12-plpython 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.postgresql12 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, postgresql12-plpython-12.14. Their current value is shown below: * KRB5_DEFAULT = heimdal * PGSQL_BLCKSZ (not defined) * PYTHON_VERSION_DEFAULT = 310 * 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 * PYPACKAGE = python310 * 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 postgresql12-server>=12.14: found postgresql12-server-12.14 => Full dependency libxml2>=2.9.14nb1: found libxml2-2.10.3nb2 => Full dependency postgresql12-client>=12.11nb1: found postgresql12-client-12.14 => Full dependency python310>=3.10: found python310-3.10.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 postgresql12-plpython-12.14 ===> Extracting for postgresql12-plpython-12.14 /usr/bin/touch /tmp/databases/postgresql12-plpython/work/postgresql-12.14/src/template/dragonfly /bin/cp /tmp/databases/postgresql12-plpython/work/postgresql-12.14/src/makefiles/Makefile.freebsd /tmp/databases/postgresql12-plpython/work/postgresql-12.14/src/makefiles/Makefile.dragonfly ===> Patching for postgresql12-plpython-12.14 => Applying pkgsrc patches for postgresql12-plpython-12.14 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-config_missing => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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/postgresql12-plpython/../../databases/postgresql12/patches/patch-config_perl.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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/postgresql12-plpython/../../databases/postgresql12/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2019/10/07 19:21:48 adam Exp $ | |Finally, native solaris uses -lgss for gssapi on mit-krb5. | |--- configure.orig 2018-02-05 21:01:02.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2960 (offset 81 lines). Hunk #2 succeeded at 10109 (offset 2224 lines). Hunk #3 succeeded at 10140 (offset 213 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-contrib_dblink_dblink.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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/postgresql12-plpython/../../databases/postgresql12/patches/patch-contrib_uuid-ossp_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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:54 adam Exp $ | |Use relative path, as top_srcdir points to PREFIX. | |--- contrib/uuid-ossp/Makefile.orig 2021-02-08 21:56:03.000000000 +0000 |+++ contrib/uuid-ossp/Makefile -------------------------- Patching file contrib/uuid-ossp/Makefile using Plan A... Hunk #1 succeeded at 12. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_Makefile.global.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 adam Exp $ | |Do not store CONFIGURE_ARGS, as these may contain working directory references. |Fix building on Cygwin. | |--- src/Makefile.global.in.orig 2017-10-02 21:09:15.000000000 +0000 |+++ src/Makefile.global.in -------------------------- Patching file src/Makefile.global.in using Plan A... Hunk #1 succeeded at 74. Hunk #2 succeeded at 739 (offset 100 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_Makefile.shlib => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 adam Exp $ | |Use correct linker flags. | |--- src/Makefile.shlib.orig 2018-10-15 21:12:02.000000000 +0000 |+++ src/Makefile.shlib -------------------------- Patching file src/Makefile.shlib using Plan A... Hunk #1 succeeded at 157. Hunk #2 succeeded at 167. Hunk #3 succeeded at 187. Hunk #4 succeeded at 253. Hunk #5 succeeded at 469 (offset 5 lines). Hunk #6 succeeded at 485 (offset 5 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_backend_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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:21 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 117. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_interfaces_libpq_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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 43 (offset -6 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_makefiles_Makefile.solaris => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_pl_plperl_GNUmakefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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 2019/10/07 19:21:48 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 70 (offset 1 line). Hunk #2 succeeded at 79 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/patches/patch-src_pl_plperl_plperl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython/../../databases/postgresql12/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:57 adam Exp $ | |--- src/pl/plperl/plperl.h.orig 2023-02-06 21:45:00.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 postgresql12-plpython-12.14 pkg_info: can't find package `libxml2-2.10.3nb2' pkg_info: can't find package `postgresql12-client-12.14' pkg_info: can't find package `python310-3.10.10' ===> Configuring for postgresql12-plpython-12.14 => 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 -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... yes 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... 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 xml2-config... no checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ld used by GCC... /tmp/databases/postgresql12-plpython/work/.cwrapper/bin/ld checking if the linker (/tmp/databases/postgresql12-plpython/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/postgresql12-plpython/work/.tools/bin/bison configure: using configure: WARNING: *** The installed version of Bison, /tmp/databases/postgresql12-plpython/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/postgresql12-plpython/work/.tools/bin/lex configure: using lex 2.6.4 checking for perl... /tmp/databases/postgresql12-plpython/work/.tools/bin/perl configure: using perl configure: WARNING: *** The installed version of Perl, /tmp/databases/postgresql12-plpython/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 PYTHON... /usr/pkg/bin/python3.10 ./configure: /usr/pkg/bin/python3.10: not found configure: using python test: '': bad number checking for Python sysconfig module... no configure: error: sysconfig module not found *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/postgresql12-plpython 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/postgresql12-plpython