[package - main-powerpc64-default][databases/py-pglast] Failed for py39-pglast-5.8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 19:46:32 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     a.wolk@fudosecurity.com
Log URL:        https://pkg-status.freebsd.org/foul1/data/main-powerpc64-default/p3f853a69d83c_s78cc457123/logs/py39-pglast-5.8.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc64-default&build=p3f853a69d83c_s78cc457123
Log:

=>> Building databases/py-pglast
build started at Mon Feb 26 19:45:27 UTC 2024
port directory: /usr/ports/databases/py-pglast
package name: py39-pglast-5.8
building for: FreeBSD main-powerpc64-default-job-04 15.0-CURRENT FreeBSD 15.0-CURRENT 1500012 powerpc
maintained by: a.wolk@fudosecurity.com
Makefile datestamp: -rw-r--r--  1 root wheel 711 Feb  3 01:02 /usr/ports/databases/py-pglast/Makefile
Ports top last git commit: 3f853a69d8
Ports top unclean checkout: no
Port dir last git commit: 0a4ae026c6
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500003
Jail OSVERSION: 1500012
Job Id: 04




!!! Jail is newer than host. (Jail: 1500012, Host: 1500003) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500012
UNAME_v=FreeBSD 15.0-CURRENT 1500012
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py39
MAKE_ARGS= FLAVOR=py39
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
a.wolk@fudosecurity.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.cache  HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.cache  HOME=/wrkdirs/usr/ports/databases/py-pglast/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/py-pglast/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_IN
 STALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pglast"  EXAMPLESDIR="share/examples/pglast"  DATADIR="share/pglast"  WWWDIR="www/pglast"  ETCDIR="etc/pglast"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pglast DOCSDIR=/usr/local/share/doc/pglast EXAMPLESDIR=/usr/local/share/examples/pglast  WWWDIR=/usr/local/www/pglast ETCDIR=/usr/local/etc/pglast
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-pglast-5.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-powerpc64-default-job-04] Installing pkg-1.20.9_1...
[main-powerpc64-default-job-04] Extracting pkg-1.20.9_1: .......... done
===>   py39-pglast-5.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-pglast-5.8
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
=> pglast-5.8.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://files.pythonhosted.org/packages/source/p/pglast/pglast-5.8.tar.gz
pglast-5.8.tar.gz                                     3070 kB   24 MBps    00s
===> Fetching all distfiles required by py39-pglast-5.8 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by py39-pglast-5.8 for building
=> SHA256 Checksum OK for pglast-5.8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by py39-pglast-5.8 for building
===>  Extracting for py39-pglast-5.8
=> SHA256 Checksum OK for pglast-5.8.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for py39-pglast-5.8
===>  Applying FreeBSD patches for py39-pglast-5.8 from /usr/ports/databases/py-pglast/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-pglast-5.8 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[main-powerpc64-default-job-04] Installing gmake-4.3_3...
[main-powerpc64-default-job-04] `-- Installing gettext-runtime-0.22.3_1...
[main-powerpc64-default-job-04] |   `-- Installing indexinfo-0.3.1...
[main-powerpc64-default-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[main-powerpc64-default-job-04] `-- Extracting gettext-runtime-0.22.3_1: .......... done
[main-powerpc64-default-job-04] Extracting gmake-4.3_3: .......... done
===>   py39-pglast-5.8 depends on package: gmake>=4.3 - found
===>   Returning to build of py39-pglast-5.8
===>   py39-pglast-5.8 depends on package: py39-setuptools>=63.1.0 - not found
===>   Installing existing package /packages/All/py39-setuptools-63.1.0_1.pkg
[main-powerpc64-default-job-04] Installing py39-setuptools-63.1.0_1...
[main-powerpc64-default-job-04] `-- Installing python39-3.9.18_1...
[main-powerpc64-default-job-04] |   `-- Installing libffi-3.4.4_1...
[main-powerpc64-default-job-04] |   `-- Extracting libffi-3.4.4_1: .......... done
[main-powerpc64-default-job-04] |   `-- Installing mpdecimal-2.5.1...
[main-powerpc64-default-job-04] |   `-- Extracting mpdecimal-2.5.1: .......... done
[main-powerpc64-default-job-04] |   `-- Installing readline-8.2.7_1...
[main-powerpc64-default-job-04] |   `-- Extracting readline-8.2.7_1: .......... done
[main-powerpc64-default-job-04] `-- Extracting python39-3.9.18_1: .......... done
[main-powerpc64-default-job-04] Extracting py39-setuptools-63.1.0_1: .......... done
=====
Message from python39-3.9.18_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   py39-pglast-5.8 depends on package: py39-setuptools>=63.1.0 - found
===>   Returning to build of py39-pglast-5.8
===>   py39-pglast-5.8 depends on file: /usr/local/bin/python3.9 - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py39-pglast-5.8
running config
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py39-pglast-5.8
running build
running build_py
creating build
creating build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39
creating build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/keywords.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/__main__.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/__init__.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/stream.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/visitors.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/error.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
copying pglast/ast.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast
creating build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/printers
copying pglast/printers/sfuncs.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/printers
copying pglast/printers/__init__.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/printers
copying pglast/printers/dml.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/printers
copying pglast/printers/ddl.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/printers
creating build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/nodes.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/primnodes.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/pg_am.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/lockdefs.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/xml.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/__init__.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/lockoptions.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/parsenodes.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/pg_trigger.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/pg_attribute.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
copying pglast/enums/pg_class.py -> build/lib.freebsd-15.0-CURRENT-powerpc-cpython-39/pglast/enums
running build_ext
compiling src/pg_query.c
compiling src/pg_query_deparse.c
compiling src/pg_query_fingerprint.c
compiling src/pg_query_json_plpgsql.c
In file included from src/pg_query_json_plpgsql.c:2:
In file included from src/pg_query_json_plpgsql.h:5:
In file included from ./src/postgres/include/plpgsql.h:21:
In file included from ./src/postgres/include/commands/trigger.h:16:
In file included from ./src/postgres/include/access/tableam.h:20:
In file included from ./src/postgres/include/access/relscan.h:19:
In file included from ./src/postgres/include/port/atomics.h:74:
./src/postgres/include/port/atomics/arch-ppc.h:283:16: error: redefinition of 'pg_atomic_uint32'
  283 | typedef struct pg_atomic_uint32
      |                ^
./src/postgres/include/port/atomics/arch-ppc.h:29:16: note: previous definition is here
   29 | typedef struct pg_atomic_uint32
      |                ^
./src/postgres/include/port/atomics/arch-ppc.h:286:3: error: typedef redefinition with different types ('struct (unnamed struct at ./src/postgres/include/port/atomics/arch-ppc.h:283:16)' vs 'struct pg_atomic_uint32')
  286 | } pg_atomic_uint32;
      |   ^
./src/postgres/include/port/atomics/arch-ppc.h:32:3: note: previous definition is here
   32 | } pg_atomic_uint32;
      |   ^
./src/postgres/include/port/atomics/arch-ppc.h:291:16: error: redefinition of 'pg_atomic_uint64'
  291 | typedef struct pg_atomic_uint64
      |                ^
./src/postgres/include/port/atomics/arch-ppc.h:37:16: note: previous definition is here
   37 | typedef struct pg_atomic_uint64
      |                ^
./src/postgres/include/port/atomics/arch-ppc.h:294:3: error: typedef redefinition with different types ('struct (unnamed struct at ./src/postgres/include/port/atomics/arch-ppc.h:291:16)' vs 'struct pg_atomic_uint64')
  294 | } pg_atomic_uint64;
      |   ^
./src/postgres/include/port/atomics/arch-ppc.h:40:3: note: previous definition is here
   40 | } pg_atomic_uint64;
      |   ^
./src/postgres/include/port/atomics/arch-ppc.h:334:1: error: redefinition of 'pg_atomic_compare_exchange_u32_impl'
  334 | pg_atomic_compare_exchange_u32_impl(volatile pg_atomic_uint32 *ptr,
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:80:1: note: previous definition is here
   80 | pg_atomic_compare_exchange_u32_impl(volatile pg_atomic_uint32 *ptr,
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:385:1: error: redefinition of 'pg_atomic_fetch_add_u32_impl'
  385 | pg_atomic_fetch_add_u32_impl(volatile pg_atomic_uint32 *ptr, int32 add_)
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:131:1: note: previous definition is here
  131 | pg_atomic_fetch_add_u32_impl(volatile pg_atomic_uint32 *ptr, int32 add_)
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:423:1: error: redefinition of 'pg_atomic_compare_exchange_u64_impl'
  423 | pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr,
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:169:1: note: previous definition is here
  169 | pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr,
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:470:1: error: redefinition of 'pg_atomic_fetch_add_u64_impl'
  470 | pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_)
      | ^
./src/postgres/include/port/atomics/arch-ppc.h:216:1: note: previous definition is here
  216 | pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_)
      | ^
8 errors generated.
gmake[1]: *** [Makefile:177: src/pg_query_json_plpgsql.o] Error 1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 43, in <module>
    setup(
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 177, in setup
    return run_commands(dist)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/build.py", line 24, in run
    super().run()
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "setup.py", line 39, in run
    subprocess.check_call(['gmake', '-s', '-C', LIBPG_QUERY_DIR, 'build'])
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gmake', '-s', '-C', 'libpg_query', 'build']' returned non-zero exit status 2.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/py-pglast