[package - 140releng-armv7-default][databases/postgresql12-server] Failed for postgresql12-server-12.17_4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 10 Feb 2024 04:14:12 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:        https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/7036c2716ded/logs/postgresql12-server-12.17_4.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=7036c2716ded
Log:

=>> Building databases/postgresql12-server
build started at Sat Feb 10 04:12:45 UTC 2024
port directory: /usr/ports/databases/postgresql12-server
package name: postgresql12-server-12.17_4
building for: FreeBSD 140releng-armv7-default-job-01 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 1400097 arm
maintained by: pgsql@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 802 Jan 28 01:02 /usr/ports/databases/postgresql12-server/Makefile
Ports top last git commit: 7036c2716d
Ports top unclean checkout: no
Port dir last git commit: abdf012875
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p4 1400097
UNAME_r=14.0-RELEASE-p4
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/140releng-armv7-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/140releng-armv7-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-armv7-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=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for postgresql12-server-12.17_4:
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     DTRACE=off: Build with DTrace probes
     GSSAPI=off: Build with GSSAPI support
     INTDATE=on: Builds with 64-bit date/time type
     LDAP=off: Build with LDAP authentication support
     LLVM=on: Build with support for JIT-compiling expressions
     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
     TZDATA=off: Use internal timezone database
     XML=off: Build with XML data type
===> 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 --with-icu --disable-debug --disable-dtrace --without-gssapi --without-ldap --with-llvm --enable-nls --without-pam --with-openssl --with-system-tzdata=/usr/share/zoneinfo --without-libxml --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
INCLUDES="-I/usr/local/include"  PTHREAD_LIBS="-lpthread"  LDFLAGS_SL="" PATH=/usr/local/bin:/wrkdirs/usr/ports/databases/postgresql12-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LLVM_CONFIG=llvm-config15  CLANG=/usr/local/bin/clang15 MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work/.cache  HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/postgresql12-server/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 PATH=/usr/local/bin:/wrkdirs/usr/ports/databases/postgresql12-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work/.cache  HOME=/wrkdirs/usr/ports/databases/postgresql12-server/work TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/postgresql12-server/work/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr
/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong " LIBS=""  CXX="/usr/local/llvm15/bin/clang++" 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_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PG_VERSION=12  PG_USER=postgres  PG_USER_regex=[[:<:]]postgres[[:>:]]  PG_GROUP=postgres  PG_GROUP_regex=[[:<:]]postgres[[:>:]] PORTDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " DTRACE="@comment " NO_DTRACE="" GSSAPI="@comment " NO_GSSAPI="" INTDATE="" NO_INTDATE="@comment " LDAP="@comment " NO_LDAP="" LLVM="" NO_LLVM="@comment " NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " TZDATA="@comment " NO_TZDATA="" XML="@comment " NO_XML="" 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_VERSION=12  PG_GROUP=postgres  PG_USER=postgres  PG_UID=770 DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " DTRACE="@comment " NO_DTRACE="" GSSAPI="@comment " NO_GSSAPI="" INTDATE="" NO_INTDATE="@comment " LDAP="@comment " NO_LDAP="" LLVM="" NO_LLVM="@comment " NLS="" NO_NLS="@comment " OPTIMIZED_CFLAGS="@comment " NO_OPTIMIZED_CFLAGS="" PAM="@comment " NO_PAM="" SSL="" NO_SSL="@comment " TZDATA="@comment " NO_TZDATA="" XML="@comment " NO_XML="" 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
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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 PostgreSQL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   postgresql12-server-12.17_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[140releng-armv7-default-job-01] Installing pkg-1.20.9_1...
[140releng-armv7-default-job-01] Extracting pkg-1.20.9_1: .......... done
===>   postgresql12-server-12.17_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql12-server-12.17_4
===========================================================================
=======================<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 PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql12-server-12.17_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql12-server-12.17_4 for building
=> SHA256 Checksum OK for postgresql/postgresql-12.17.tar.bz2.
===========================================================================
=======================<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 PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql12-server-12.17_4 for building
===>  Extracting for postgresql12-server-12.17_4
=> SHA256 Checksum OK for postgresql/postgresql-12.17.tar.bz2.
===========================================================================
=======================<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 postgresql12-server-12.17_4
===>  Applying FreeBSD patches for postgresql12-server-12.17_4 from /usr/ports/databases/postgresql12-server/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   postgresql12-server-12.17_4 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[140releng-armv7-default-job-01] Installing gmake-4.3_3...
[140releng-armv7-default-job-01] `-- Installing gettext-runtime-0.22.3_1...
[140releng-armv7-default-job-01] |   `-- Installing indexinfo-0.3.1...
[140releng-armv7-default-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[140releng-armv7-default-job-01] `-- Extracting gettext-runtime-0.22.3_1: .......... done
[140releng-armv7-default-job-01] Extracting gmake-4.3_3: .......... done
===>   postgresql12-server-12.17_4 depends on package: gmake>=4.3 - found
===>   Returning to build of postgresql12-server-12.17_4
===>   postgresql12-server-12.17_4 depends on package: pkgconf>=1.3.0_1 - not found
<snip>
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for printf format archetype... printf
checking for flexible array members... yes
checking for signed types... yes
checking for __func__... yes
checking for _Static_assert... yes
checking for typeof... typeof
checking for __builtin_types_compatible_p... yes
checking for __builtin_constant_p... yes
checking for __builtin_unreachable... yes
checking for computed goto support... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for tzname... yes
checking for union semun... no
checking for struct sockaddr_un... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... yes
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... yes
checking for struct addrinfo... yes
checking for intptr_t... yes
checking for uintptr_t... (cached) yes
checking for unsigned long long int... (cached) yes
checking for long long int... (cached) yes
checking for locale_t... yes
checking for C/C++ restrict keyword... __restrict
checking for struct cmsgcred... yes
checking for struct option... yes
checking for z_streamp... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... 8
checking size of bool... 1
checking for int timezone... no
checking types of arguments for accept()... int, int, struct sockaddr *, size_t *
checking whether gettimeofday takes only one argument... no
checking for wcstombs_l declaration... yes (in xlocale.h)
checking for cbrt... yes
checking for clock_gettime... (cached) yes
checking for copyfile... no
checking for fdatasync... yes
checking for getifaddrs... yes
checking for getpeerucred... no
checking for getrlimit... (cached) yes
checking for mbstowcs_l... yes
checking for memmove... (cached) yes
checking for poll... (cached) yes
checking for posix_fallocate... yes
checking for ppoll... yes
checking for pstat... no
checking for pthread_is_threaded_np... no
checking for readlink... (cached) yes
checking for setproctitle... (cached) yes
checking for setproctitle_fast... yes
checking for setsid... (cached) yes
checking for shm_open... yes
checking for strchrnul... (cached) yes
checking for strsignal... (cached) yes
checking for symlink... (cached) yes
checking for sync_file_range... no
checking for uselocale... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for wcstombs_l... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_ctz... yes
checking for __builtin_popcount... yes
checking for __builtin_frame_address... yes
checking for fseeko... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking how /usr/local/llvm15/bin/clang reports undeclared, standard C functions... warning
checking for posix_fadvise... yes
checking whether posix_fadvise is declared... yes
checking whether fdatasync is declared... yes
checking whether strlcat is declared... yes
checking whether strlcpy is declared... yes
checking whether strnlen is declared... (cached) yes
checking whether F_FULLFSYNC is declared... no
checking whether RTLD_GLOBAL is declared... yes
checking whether RTLD_NOW is declared... yes
checking for struct sockaddr_in6... yes
checking for PS_STRINGS... no
checking for isinf... yes
checking for crypt... yes
checking for dlopen... (cached) yes
checking for fls... (cached) yes
checking for getopt... (cached) yes
checking for getrusage... (cached) yes
checking for inet_aton... (cached) yes
checking for mkdtemp... (cached) yes
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for random... (cached) yes
checking for rint... yes
checking for srandom... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for strnlen... (cached) yes
checking for strtof... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getpeereid... (cached) yes
checking for getaddrinfo... (cached) yes
checking for getopt_long... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for opterr... yes
checking for optreset... yes
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking whether strtoll is declared... (cached) yes
checking whether strtoull is declared... (cached) yes
checking unicode/ucol.h usability... yes
checking unicode/ucol.h presence... yes
checking for unicode/ucol.h... yes
checking whether LLVMOrcGetSymbolAddressIn is declared... no
checking whether LLVMGetHostCPUName is declared... yes
checking whether LLVMGetHostCPUFeatures is declared... yes
checking whether LLVMCreateGDBRegistrationListener is declared... yes
checking whether LLVMCreatePerfJITEventListener is declared... yes
checking for rl_completion_append_character... yes
checking for rl_completion_matches... yes
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 long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking for __builtin_mul_overflow... yes
checking size of void *... 4
checking size of size_t... 4
checking size of long... 4
checking whether to build with float4 passed by value... yes
checking whether to build with float8 passed by value... no
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 4
checking alignment of long long int... 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... no
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 for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no
checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... yes
checking which CRC-32C implementation to use... ARMv8 CRC instructions with runtime check
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 xmllint... no
checking for xsltproc... no
checking for fop... no
checking for dbtoepub... no
checking thread safety of required library functions... Segmentation fault (core dumped)
no
configure: error: thread test program failed
This platform is not thread-safe.  Check the file 'config.log' or compile
and run src/test/thread/thread_test for the exact reason.
Use --disable-thread-safety to disable thread safety.
===>  Script "configure" failed unexpectedly.
Please report the problem to pgsql@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/databases/postgresql12-server/work/postgresql-12.17/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/postgresql12-server