[package - 131powerpc64le-quarterly][math/gap] Failed for gap-4.12.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 13 Jan 2023 21:55:38 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul2/data/131powerpc64le-quarterly/09dc4af0af41/logs/gap-4.12.1.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=131powerpc64le-quarterly&build=09dc4af0af41
Log:

=>> Building math/gap
build started at Fri Jan 13 21:51:10 UTC 2023
port directory: /usr/ports/math/gap
package name: gap-4.12.1
building for: FreeBSD 131powerpc64le-quarterly-job-05 13.1-RELEASE FreeBSD 13.1-RELEASE powerpc
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE
UNAME_r=13.1-RELEASE
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131powerpc64le-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/math/gap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/gap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/gap/work/.cache  HOME=/wrkdirs/usr/ports/math/gap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/gap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/gap/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/math/gap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/gap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/gap/work/.cache  HOME=/wrkdirs/usr/ports/math/gap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/gap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/gap/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/loc
 al" 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--
OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/gap"  EXAMPLESDIR="share/examples/gap"  DATADIR="share/gap"  WWWDIR="www/gap"  ETCDIR="etc/gap"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gap DOCSDIR=/usr/local/share/doc/gap EXAMPLESDIR=/usr/local/share/examples/gap  WWWDIR=/usr/local/www/gap ETCDIR=/usr/local/etc/gap
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE
OSREL=13.1
OSVERSION=1301000
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)  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)  63493
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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gap-4.12.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.0.pkg
[131powerpc64le-quarterly-job-05] Installing pkg-1.19.0...
[131powerpc64le-quarterly-job-05] Extracting pkg-1.19.0: .......... done
===>   gap-4.12.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gap-4.12.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
=> gap-4.12.1.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://github.com/gap-system/gap/releases/download/v4.12.1/gap-4.12.1.tar.gz
gap-4.12.1.tar.gz                                      480 MB   23 MBps    20s
===> Fetching all distfiles required by gap-4.12.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gap-4.12.1 for building
=> SHA256 Checksum OK for gap-4.12.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gap-4.12.1 for building
===>  Extracting for gap-4.12.1
=> SHA256 Checksum OK for gap-4.12.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for gap-4.12.1
===>  Applying FreeBSD patches for gap-4.12.1 from /usr/ports/math/gap/files
===========================================================================
=======================<phase: build-depends  >============================
===>   gap-4.12.1 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.15.pkg
[131powerpc64le-quarterly-job-05] Installing bash-5.2.15...
[131powerpc64le-quarterly-job-05] `-- Installing gettext-runtime-0.21.1...
[131powerpc64le-quarterly-job-05] |   `-- Installing indexinfo-0.3.1...
[131powerpc64le-quarterly-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[131powerpc64le-quarterly-job-05] `-- Extracting gettext-runtime-0.21.1: .......... done
[131powerpc64le-quarterly-job-05] `-- Installing readline-8.2.0...
[131powerpc64le-quarterly-job-05] `-- Extracting readline-8.2.0: .......... done
[131powerpc64le-quarterly-job-05] Extracting bash-5.2.15: .......... done
===>   gap-4.12.1 depends on executable: bash - found
===>   Returning to build of gap-4.12.1
<snip>
checking for __builtin_mul_overflow... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_popcountl... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking whether to enable HPC-GAP... no
checking which garbage collector to use... gasman
checking whether to use native tls... no
checking whether to enable debug mode... no
checking whether to enable maintainer-mode mode... yes
checking whether to enable memory checking... no
checking whether to enable valgrind extensions to GASMAN... no
checking whether to treat C compiler warnings as errors... no
checking whether C compiler accepts -Werror=unknown-warning-option... yes
checking whether C compiler accepts -Wno-suggest-attribute=format... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wno-cast-function-type... yes
checking whether C compiler accepts -Wdouble-promotion... yes
checking whether C compiler accepts -Wduplicated-branches... no
checking whether C compiler accepts -Wduplicated-cond... no
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wno-inline... yes
checking whether C compiler accepts -Wlogical-op... no
checking whether C compiler accepts -Wmissing-field-initializers... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wmissing-variable-declarations... yes
checking whether C compiler accepts -Wno-pragmas... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wrestrict... no
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Wno-sign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wunused-but-set-variable... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wno-implicit-fallthrough... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wjump-misses-init... no
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C++ compiler accepts -Wextra-semi... yes
checking whether C compiler accepts -Wno-error=cast-function-type... yes
checking whether C compiler accepts -Wno-error=inline... yes
checking whether C compiler accepts -Wno-error=pragmas... yes
checking whether C compiler accepts -Wno-error=sign-compare... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=implicit-fallthrough... yes
checking whether to try and use __builtin_popcountl... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for zlib.h... (cached) yes
checking for inflateEnd in -lz... yes
checking for library containing rl_bind_keyseq... -lreadline
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking the GAPARCH... powerpc64le
checking whether to enable compatibility mode for packages... yes
configure: in-tree build
checking unaligned access... 1
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for sys/ioctl.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for library containing openpty... -lutil
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for libutil.h... (cached) yes
checking for signal.h... (cached) yes
checking for select... (cached) yes
checking for spawn.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for popen... yes
checking for posix_spawn... (cached) yes
checking for posix_spawn_file_actions_addchdir... no
checking for posix_spawn_file_actions_addchdir_np... yes
checking for sig_atomic_t... (cached) yes
checking for signal... yes
checking for sigaction... (cached) yes
checking for setpgid... (cached) yes
checking for library containing dlopen... none required
checking for sys/time.h... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for clock_gettime... (cached) yes
checking for clock_getres... yes
checking for setitimer... yes
checking for vm_allocate... no
checking for sbrk... yes
checking for madvise... yes
checking for sysconf... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing cos... -lm
checking for exp10... no
checking target system type... powerpc64le-portbld-freebsd13.1
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking size parameter type for backtrace()... size_t
checking for library containing backtrace... -lexecinfo
configure: creating ./config.status
config.status: creating bin/gap.sh
config.status: creating GNUmakefile
config.status: creating CITATION
config.status: creating doc/make_doc
config.status: creating doc/versiondata
config.status: creating build/config.h
config.status: executing build/stamp-h commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for gap-4.12.1
gmake[1]: Entering directory '/wrkdirs/usr/ports/math/gap/work/gap-4.12.1'
GAP_BUILD_VERSION = 4.12.1
    * new C compiler flags
    * new preprocessor flags
autoheader not available, proceeding with stale config.h
touch src/config.h.in
   SED     src/version.c.in => build/version.c
    * new link flags
    * new library flags
    * new object list
sed -e "s;@SYSINFO_GAPROOT@;/wrkdirs/usr/ports/math/gap/work/gap-4.12.1;" < cnf/gac.in > gac
chmod a+x gac
/bin/sh ./config.status build/config.h
    * new C++ compiler flags
config.status: creating build/config.h
config.status: build/config.h is unchanged
echo > build/stamp-h
   C       src/ariths.c => build/obj/src/ariths.c.lo
   C       src/bags.c => build/obj/src/bags.c.lo
   C       src/blister.c => build/obj/src/blister.c.lo
   C       src/bool.c => build/obj/src/bool.c.lo
   C       src/calls.c => build/obj/src/calls.c.lo
In file included from src/calls.c:40:
In file included from ./src/code.h:19:
./src/gapstate.h:117:1: error: static_assert failed due to requirement 'sizeof(struct GAPState) < 32768' "GAPState is too big"
GAP_STATIC_ASSERT(sizeof(GAPState) < 32768, "GAPState is too big");
^                 ~~~~~~~~~~~~~~~~~~~~~~~~
./src/debug.h:33:41: note: expanded from macro 'GAP_STATIC_ASSERT'
#define GAP_STATIC_ASSERT(cond, msg)    static_assert(cond, msg)
                                        ^             ~~~~
/usr/include/assert.h:73:23: note: expanded from macro 'static_assert'
#define static_assert   _Static_assert
                        ^
   C       src/code.c => build/obj/src/code.c.lo
1 error generated.
gmake[1]: *** [Makefile.rules:423: build/obj/src/calls.c.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from src/code.c:16:
In file included from ./src/code.h:19:
./src/gapstate.h:117:1: error: static_assert failed due to requirement 'sizeof(struct GAPState) < 32768' "GAPState is too big"
GAP_STATIC_ASSERT(sizeof(GAPState) < 32768, "GAPState is too big");
^                 ~~~~~~~~~~~~~~~~~~~~~~~~
./src/debug.h:33:41: note: expanded from macro 'GAP_STATIC_ASSERT'
#define GAP_STATIC_ASSERT(cond, msg)    static_assert(cond, msg)
                                        ^             ~~~~
/usr/include/assert.h:73:23: note: expanded from macro 'static_assert'
#define static_assert   _Static_assert
                        ^
1 error generated.
gmake[1]: *** [Makefile.rules:423: build/obj/src/code.c.lo] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/gap/work/gap-4.12.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/gap