[package - main-powerpc64le-default][math/gap] Failed for gap-4.12.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 27 Dec 2023 01:06: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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p384f6f077a9c_seac3646fcd/logs/gap-4.12.2.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p384f6f077a9c_seac3646fcd
Log:

=>> Building math/gap
build started at Wed Dec 27 01:00:29 UTC 2023
port directory: /usr/ports/math/gap
package name: gap-4.12.2
building for: FreeBSD main-powerpc64le-default-job-23 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 powerpc
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1793 Sep 17 01:03 /usr/ports/math/gap/Makefile
Ports top last git commit: 384f6f077a
Ports top unclean checkout: no
Port dir last git commit: 1905bd032f
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500000
Jail OSVERSION: 1500007
Job Id: 23




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500007
UNAME_v=FreeBSD 15.0-CURRENT 1500007
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.0
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-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-powerpc64le-default/23/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
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---
---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=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3  PERL_VER=5.36  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.36 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
####  ####
# 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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   gap-4.12.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[main-powerpc64le-default-job-23] Installing pkg-1.20.9...
[main-powerpc64le-default-job-23] Extracting pkg-1.20.9: .......... done
===>   gap-4.12.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gap-4.12.2
===========================================================================
=======================<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 GPLv2+ accepted by the user
===> Fetching all distfiles required by gap-4.12.2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gap-4.12.2 for building
=> SHA256 Checksum OK for gap-4.12.2.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 GPLv2+ accepted by the user
===> Fetching all distfiles required by gap-4.12.2 for building
===>  Extracting for gap-4.12.2
=> SHA256 Checksum OK for gap-4.12.2.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 gap-4.12.2
===>  Applying FreeBSD patches for gap-4.12.2 from /usr/ports/math/gap/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   gap-4.12.2 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.21.pkg
[main-powerpc64le-default-job-23] Installing bash-5.2.21...
[main-powerpc64le-default-job-23] `-- Installing gettext-runtime-0.22.3...
[main-powerpc64le-default-job-23] |   `-- Installing indexinfo-0.3.1...
[main-powerpc64le-default-job-23] |   `-- Extracting indexinfo-0.3.1: .... done
[main-powerpc64le-default-job-23] `-- Extracting gettext-runtime-0.22.3: .......... done
[main-powerpc64le-default-job-23] `-- Installing readline-8.2.7...
[main-powerpc64le-default-job-23] `-- Extracting readline-8.2.7: .......... done
[main-powerpc64le-default-job-23] Extracting bash-5.2.21: .......... done
===>   gap-4.12.2 depends on executable: bash - found
===>   Returning to build of gap-4.12.2
===>   gap-4.12.2 depends on executable: automake - not found
===>   Installing existing package /packages/All/automake-1.16.5.pkg
[main-powerpc64le-default-job-23] Installing automake-1.16.5...
[main-powerpc64le-default-job-23] `-- Installing autoconf-2.71...
<snip>
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -std=gnu++11  -E
checking for ld used by c++ -std=gnu++11 ... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ -std=gnu++11  linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ -std=gnu++11  option to produce PIC... -fPIC -DPIC
checking if c++ -std=gnu++11  PIC flag -fPIC -DPIC works... yes
checking if c++ -std=gnu++11  static flag -static works... yes
checking if c++ -std=gnu++11  supports -c -o file.o... yes
checking if c++ -std=gnu++11  supports -c -o file.o... (cached) yes
checking whether the c++ -std=gnu++11  linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd15.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for __attribute__((always_inline))... yes
checking for __attribute__((constructor))... yes
checking for __attribute__((fallthrough))... yes
checking for __attribute__((format))... yes
checking for __attribute__((noinline))... yes
checking for __attribute__((noreturn))... yes
checking for __attribute__((pure))... yes
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 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 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 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 for util.h... 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 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-freebsd15.0
checking how to run the C preprocessor... cpp
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          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for gap-4.12.2
gmake[1]: Entering directory '/wrkdirs/usr/ports/math/gap/work/gap-4.12.2'
GAP_BUILD_VERSION = 4.12.2
    * new C compiler flags
    * new C++ compiler flags
   SED     src/version.c.in => build/version.c
running autoheader
    * new link flags
    * new library flags
    * new object list
sed -e "s;@SYSINFO_GAPROOT@;/wrkdirs/usr/ports/math/gap/work/gap-4.12.2;" < cnf/gac.in > gac
chmod a+x gac
    * new preprocessor flags
touch src/config.h.in
/bin/sh ./config.status build/config.h
config.status: creating build/config.h
config.status: build/config.h is unchanged
echo > build/stamp-h
   C       src/bags.c => build/obj/src/bags.c.lo
   C       src/ariths.c => build/obj/src/ariths.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:19: error: static assertion failed due to requirement 'sizeof(struct GAPState) < 32768': GAPState is too big
  117 | GAP_STATIC_ASSERT(sizeof(GAPState) < 32768, "GAPState is too big");
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~
src/debug.h:33:55: note: expanded from macro 'GAP_STATIC_ASSERT'
   33 | #define GAP_STATIC_ASSERT(cond, msg)    static_assert(cond, msg)
      |                                                       ^~~~
src/gapstate.h:117:36: note: expression evaluates to '32888 < 32768'
  117 | GAP_STATIC_ASSERT(sizeof(GAPState) < 32768, "GAPState is too big");
      |                   ~~~~~~~~~~~~~~~~~^~~~~~~
src/debug.h:33:55: note: expanded from macro 'GAP_STATIC_ASSERT'
   33 | #define GAP_STATIC_ASSERT(cond, msg)    static_assert(cond, msg)
      |                                                       ^~~~
1 error generated.
gmake[1]: *** [Makefile.rules:423: build/obj/src/calls.c.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/gap/work/gap-4.12.2'
===> 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