[package - main-arm64-default][databases/postgresql10-client] Failed for postgresql10-client-10.17 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 12 Aug 2021 02:29:43 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:     pgsql@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p507d4271e0bb_s5ae48eb998/logs/postgresql10-client-10.17.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p507d4271e0bb_s5ae48eb998
Log:

=>> Building databases/postgresql10-client
build started at Thu Aug 12 02:28:58 UTC 2021
port directory: /usr/ports/databases/postgresql10-client
package name: postgresql10-client-10.17
building for: FreeBSD main-arm64-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400029 arm64
maintained by: pgsql@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400029
Job Id: 05




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400029
UNAME_v=FreeBSD 14.0-CURRENT 1400029
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for postgresql10-client-10.17:
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     GSSAPI=off: Build with GSSAPI support
     LIBEDIT=off: Use non-GPL libedit instead of readline
     NLS=on: Use internationalized messages
     OPTIMIZED_CFLAGS=off: Builds with compiler optimizations (-O3)
     PAM=off: Build with PAM Support
     SSL=on: Build with OpenSSL support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
pgsql@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-libraries=/usr/local/lib  --with-includes=/usr/local/include  --enable-thread-safety --disable-debug --without-gssapi --enable-nls --without-pam --with-openssl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
INCLUDES="-I/usr/local/include"  PTHREAD_LIBS="-lpthread"  LDFLAGS_SL="" PKG_CONFIG=pkgconf MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work  HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql10-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
MAKELEVEL=0 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work  HOME=/wrkdirs/usr/ports/databases/postgresql10-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/postgresql10-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INST
 ALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PG_USER=postgres  PG_USER_regex=[[:<:]]postgres[[:>:]]  PG_GROUP=postgres  PG_GROUP_regex=[[:<:]]postgres[[:>:]] PORTDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " GSSAPI="@comment " NO_GSSAPI="" LIBEDIT="@comment " NO_LIBEDIT="" NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/postgresql"  EXAMPLESDIR="share/examples/postgresql"  DATADIR="share/postgresql"  WWWDIR="www/postgresql"  ETCDIR="etc/postgresql"
--End PLIST_SUB--

--SUB_LIST--
PG_GROUP=postgres  PG_USER=postgres  PG_UID=770 DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " GSSAPI="@comment " NO_GSSAPI="" LIBEDIT="@comment " NO_LIBEDIT="" NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/postgresql DOCSDIR=/usr/local/share/doc/postgresql EXAMPLESDIR=/usr/local/share/examples/postgresql  WWWDIR=/usr/local/www/postgresql ETCDIR=/usr/local/etc/postgresql
--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
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400029
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1048576
stack size              (kbytes, -s)  1048576
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)  1024
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   >============================
===>  License PostgreSQL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   postgresql10-client-10.17 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-arm64-default-job-05] Installing pkg-1.17.1...
[main-arm64-default-job-05] Extracting pkg-1.17.1: .......... done
===>   postgresql10-client-10.17 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql10-client-10.17
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql10-client-10.17 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql10-client-10.17 for building
=> SHA256 Checksum OK for postgresql/postgresql-10.17.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql10-client-10.17 for building
===>  Extracting for postgresql10-client-10.17
=> SHA256 Checksum OK for postgresql/postgresql-10.17.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for postgresql10-client-10.17
===>  Applying FreeBSD patches for postgresql10-client-10.17 from /usr/ports/databases/postgresql10-client/../postgresql10-server/files
===========================================================================
<snip>
checking for rl_filename_completion_function... yes
checking for rl_reset_screen_size... yes
checking for append_history... yes
checking for history_truncate_file... yes
checking test program... ok
checking whether snprintf supports argument control... yes
checking whether long int is 64 bits... yes
checking whether snprintf supports the %z modifier... yes
checking size of void *... 8
checking size of size_t... 8
checking size of long... 8
checking whether to build with float4 passed by value... yes
checking whether to build with float8 passed by value... yes
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 8
checking alignment of double... 8
checking for int8... no
checking for uint8... no
checking for int64... no
checking for uint64... no
checking for __int128... yes
checking for __int128 alignment bug... ok
checking alignment of PG_INT128_TYPE... 16
checking for builtin __sync char locking functions... yes
checking for builtin __sync int32 locking functions... yes
checking for builtin __sync int32 atomic operations... yes
checking for builtin __sync int64 atomic operations... yes
checking for builtin __atomic int32 atomic operations... yes
checking for builtin __atomic int64 atomic operations... yes
checking for __get_cpuid... no
checking for __cpuid... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no
checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... no
checking which CRC-32C implementation to use... slicing-by-8
checking for library containing sem_init... none required
checking which semaphore API to use... unnamed POSIX
checking which random number source to use... OpenSSL
checking for library containing bind_textdomain_codeset... -lintl
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for msgfmt flags... -c
checking for msgmerge... /usr/local/bin/msgmerge
checking for xgettext... /usr/local/bin/xgettext
checking for onsgmls... no
checking for nsgmls... no
checking for DocBook V4.2... no
checking for dbtoepub... no
checking for xmllint... no
checking for xsltproc... no
checking for osx... no
checking for sgml2xml... no
checking for sx... no
checking for fop... no
checking thread safety of required library functions... yes
checking whether cc supports -Wl,--as-needed... yes
configure: using compiler=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f)
configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
configure: using CPPFLAGS=-I/usr/local/include -I/usr/local/include -I/usr/local/include
configure: using LDFLAGS= -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong   -L/usr/local/lib -Wl,--as-needed
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/Makefile.global
config.status: creating src/include/pg_config.h
config.status: creating src/include/pg_config_ext.h
config.status: creating src/interfaces/ecpg/include/ecpg_config.h
config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s
config.status: linking src/backend/port/dynloader/freebsd.c to src/backend/port/dynloader.c
config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c
config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c
config.status: linking src/backend/port/dynloader/freebsd.h to src/include/dynloader.h
config.status: linking src/include/port/freebsd.h to src/include/pg_config_os.h
config.status: linking src/makefiles/Makefile.freebsd to src/Makefile.port
===========================================================================
=======================<phase: build          >============================
===>  Building for postgresql10-client-10.17
prereqdir=`cd 'parser/' >/dev/null && pwd` && \
  cd '../../src/include/parser/' && rm -f gram.h && \
  ln -s "$prereqdir/gram.h" .
prereqdir=`cd 'utils/' >/dev/null && pwd` && \
  cd '../../src/include/utils/' && rm -f fmgroids.h && \
  ln -s "$prereqdir/fmgroids.h" .
prereqdir=`cd 'utils/' >/dev/null && pwd` && \
  cd '../../src/include/utils/' && rm -f fmgrprotos.h && \
  ln -s "$prereqdir/fmgrprotos.h" .
gmake -C utils probes.h
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/backend/utils'
sed -f ./Gen_dummy_probes.sed probes.d >probes.h
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/backend/utils'
cd '../../src/include/utils/' && rm -f probes.h && \
    ln -s "../../../src/backend/utils/probes.h" .
prereqdir=`cd 'storage/lmgr/' >/dev/null && pwd` && \
  cd '../../src/include/storage/' && rm -f lwlocknames.h && \
  ln -s "$prereqdir/lwlocknames.h" .
gmake: Nothing to be done for 'all'.
gmake: Nothing to be done for 'all'.
gmake -C libpq all
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/interfaces/libpq'
/usr/local/bin/msgfmt -c -o po/cs.mo po/cs.po
/usr/local/bin/msgfmt -c -o po/de.mo po/de.po
/usr/local/bin/msgfmt -c -o po/es.mo po/es.po
/usr/local/bin/msgfmt -c -o po/fr.mo po/fr.po
/usr/local/bin/msgfmt -c -o po/he.mo po/he.po
/usr/local/bin/msgfmt -c -o po/it.mo po/it.po
/usr/local/bin/msgfmt -c -o po/ja.mo po/ja.po
/usr/local/bin/msgfmt -c -o po/ko.mo po/ko.po
/usr/local/bin/msgfmt -c -o po/pl.mo po/pl.po
/usr/local/bin/msgfmt -c -o po/pt_BR.mo po/pt_BR.po
/usr/local/bin/msgfmt -c -o po/ru.mo po/ru.po
/usr/local/bin/msgfmt -c -o po/sv.mo po/sv.po
/usr/local/bin/msgfmt -c -o po/tr.mo po/tr.po
/usr/local/bin/msgfmt -c -o po/zh_CN.mo po/zh_CN.po
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-auth.o fe-auth.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-auth-scram.o fe-auth-scram.c
gmake -C ../../../src/port pg_config_paths.h
gmake[2]: Entering directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/port'
echo "#define PGBINDIR \"/usr/local/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/usr/local/share/postgresql\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/usr/local/etc/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/usr/local/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/usr/local/include/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/usr/local/include/postgresql/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/usr/local/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/usr/local/lib/postgresql\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"/usr/local/share/locale\"" >>pg_config_paths.h
echo "#define DOCDIR \"/usr/local/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define HTMLDIR \"/usr/local/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define MANDIR \"/usr/local/man\"" >>pg_config_paths.h
gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/port'
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-exec.o fe-exec.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-misc.o fe-misc.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-print.o fe-print.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-lobj.o fe-lobj.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-protocol2.o fe-protocol2.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-protocol3.o fe-protocol3.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o pqexpbuffer.o pqexpbuffer.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-secure.o fe-secure.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o libpq-events.o libpq-events.c
rm -f chklocale.c && ln -s ../../../src/port/chklocale.c .
rm -f inet_net_ntop.c && ln -s ../../../src/port/inet_net_ntop.c .
rm -f noblock.c && ln -s ../../../src/port/noblock.c .
rm -f pgstrcasecmp.c && ln -s ../../../src/port/pgstrcasecmp.c .
rm -f pqsignal.c && ln -s ../../../src/port/pqsignal.c .
rm -f thread.c && ln -s ../../../src/port/thread.c .
rm -f pg_strong_random.c && ln -s ../../../src/port/pg_strong_random.c .
rm -f encnames.c && ln -s ../../../src/backend/utils/mb/encnames.c .
rm -f wchar.c && ln -s ../../../src/backend/utils/mb/wchar.c .
rm -f base64.c && ln -s ../../../src/common/base64.c .
rm -f ip.c && ln -s ../../../src/common/ip.c .
rm -f md5.c && ln -s ../../../src/common/md5.c .
rm -f scram-common.c && ln -s ../../../src/common/scram-common.c .
rm -f saslprep.c && ln -s ../../../src/common/saslprep.c .
rm -f unicode_norm.c && ln -s ../../../src/common/unicode_norm.c .
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-secure-openssl.o fe-secure-openssl.c
rm -f sha2_openssl.c && ln -s ../../../src/common/sha2_openssl.c .
( echo '{ global:'; /usr/bin/awk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-connect.o fe-connect.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o chklocale.o chklocale.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o inet_net_ntop.o inet_net_ntop.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o noblock.o noblock.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o pgstrcasecmp.o pgstrcasecmp.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o pqsignal.o pqsignal.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o thread.o thread.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o pg_strong_random.o pg_strong_random.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o encnames.o encnames.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o wchar.o wchar.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o base64.o base64.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o ip.o ip.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o md5.o md5.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o scram-common.o scram-common.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o saslprep.o saslprep.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o unicode_norm.o unicode_norm.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include  -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o sha2_openssl.o sha2_openssl.c
echo 'Name: libpq' >libpq.pc
echo 'Description: PostgreSQL libpq library' >>libpq.pc
echo 'Url: http://www.postgresql.org/' >>libpq.pc
echo 'Version: 10.17' >>libpq.pc
echo 'Requires: ' >>libpq.pc
echo 'Requires.private: ' >>libpq.pc
echo 'Cflags: -I/usr/local/include' >>libpq.pc
echo 'Libs: -L/usr/local/lib -lpq' >>libpq.pc
echo 'Libs.private: -L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -lpthread' >>libpq.pc
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_THREAD_SAFE  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -shared -Wl,-x,-soname,libpq.so.5 -Wl,--version-script=exports.list -o libpq.so.5 fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o  pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o fe-secure-openssl.o sha2_openssl.o -L../../../src/port -L../../../src/common   -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong   -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'  -lintl -lssl -lcrypto -lcrypt  -lpthread
rm -f libpq.a
ar cr libpq.a fe-auth.o fe-auth-scram.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o thread.o pg_strong_random.o encnames.o wchar.o base64.o ip.o md5.o scram-common.o saslprep.o unicode_norm.o fe-secure-openssl.o sha2_openssl.o
ranlib libpq.a
Assertion failed: (mode == 'p' || mode == 't' || mode == 'x'), function ar_read_archive, file /usr/local/poudriere/jails/main-arm64/usr/src/usr.bin/ar/read.c, line 68.
gmake[1]: *** [../../../src/Makefile.shlib:299: libpq.a] Abort trap (core dumped)
gmake[1]: *** Deleting file 'libpq.a'
gmake[1]: *** Waiting for unfinished jobs....
rm -f libpq.so
ln -s libpq.so.5 libpq.so
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql10-client/work/postgresql-10.17/src/interfaces/libpq'
gmake: *** [Makefile:17: all-libpq-recurse] Error 2
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/postgresql10-client