[package - main-armv7-default][lang/ghc92] Failed for ghc92-9.2.8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 08:13:49 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:     haskell@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/pd5fdf85c9aec_sc24c117b96/logs/ghc92-9.2.8.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=pd5fdf85c9aec_sc24c117b96
Log:

=>> Building lang/ghc92
build started at Mon Jun 26 07:44:42 UTC 2023
port directory: /usr/ports/lang/ghc92
package name: ghc92-9.2.8
building for: FreeBSD main-armv7-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400090 arm
maintained by: haskell@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400090
Job Id: 13




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400090
UNAME_v=FreeBSD 14.0-CURRENT 1400090
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 ghc92-9.2.8:
     DYNAMIC=on: Add support for dynamic linking
     PROFILE=on: Add support for performance profiling
====> Bootsrap using installed ghc
     BOOT=off: Use installed GHC for bootstrapping
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
haskell@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-gmp-includes=/usr/local/include  --with-gmp-libraries=/usr/local/lib --docdir=/usr/local/share/doc/ghc  --with-system-libffi --with-ffi-includes=/usr/local/include --with-ffi-libraries=/usr/local/lib --host=armv7-unknown-freebsd-gnueabihf --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ALEX=/usr/bin/true HAPPY=/usr/bin/true GHC=/wrkdirs/usr/ports/lang/ghc92/work/ghc-boot-install/bin/ghc-8.10.7 LLC=llc10 OPT=opt10 MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc92/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc92/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc92/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc92/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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/lang/ghc92/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ghc92/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ghc92/work/.cache  HOME=/wrkdirs/usr/ports/lang/ghc92/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ghc92/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ghc92/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 DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  B
SD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CABAL_VERSION=3.6.3.0 ARRAY_VERSION=0.5.4.0 BASE_VERSION=4.16.4.0 BINARY_VERSION=0.8.9.0 BYTESTRING_VERSION=0.11.4.0 CONTAINERS_VERSION=0.6.5.1 DEEPSEQ_VERSION=1.4.6.1 DIRECTORY_VERSION=1.3.6.2 EXCEPTIONS_VERSION=0.10.4 FILEPATH_VERSION=1.4.2.2 GHC_VERSION=9.2.8 GHC-BIGNUM_VERSION=1.2 GHC-COMPACT_VERSION=0.1.0.0 GHC-PRIM_VERSION=0.8.0 HASKELINE_VERSION=0.8.2 HPC_VERSION=0.6.1.0 INTEGER-GMP_VERSION=1.1 MTL_VERSION=2.2.2 PARSEC_VERSION=3.1.15.0 PRETTY_VERSION=1.3.3.6 PROCESS_VERSION=1.6.16.0 STM_VERSION=2.5.0.2 TEMPLATE-HASKELL_VERSION=2.18.0.0 TERMINFO_VERSION=0.4.1.5 TEXT_VERSION=1.2.5.0 TIME_VERSION=1.11.1.1 TRANSFORMERS_VERSION=0.5.6.2 UNIX_VERSION=2.7.2.2 XHTML_VERSION=3000.2.2.1 BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3
.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" GMP= OSREL=14.0 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/ghc"  EXAMPLESDIR="share/examples/ghc"  DATADIR="share/ghc"  WWWDIR="www/ghc"  ETCDIR="etc/ghc"
--End PLIST_SUB--

--SUB_LIST--
BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ghc DOCSDIR=/usr/local/share/doc/ghc EXAMPLESDIR=/usr/local/share/examples/ghc  WWWDIR=/usr/local/www/ghc ETCDIR=/usr/local/etc/ghc
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400090
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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ghc92-9.2.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-armv7-default-job-13] Installing pkg-1.19.1_1...
[main-armv7-default-job-13] Extracting pkg-1.19.1_1: .......... done
===>   ghc92-9.2.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ghc92-9.2.8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
=> SHA256 Checksum OK for ghc-9.2.8-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-armv7-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ghc92-9.2.8 for building
===>  Extracting for ghc92-9.2.8
=> SHA256 Checksum OK for ghc-9.2.8-src.tar.xz.
=> SHA256 Checksum OK for ghc-8.10.7-boot-armv7-freebsd.tar.xz.
=> SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
<snip>
checking alignment of unsigned char... 1
checking size of unsigned int... 4
checking for unsigned int... (cached) yes
checking alignment of unsigned int... 4
checking size of unsigned long... 4
checking for unsigned long... (cached) yes
checking alignment of unsigned long... 4
checking size of unsigned long long... 8
checking for unsigned long long... (cached) yes
checking alignment of unsigned long long... 8
checking size of unsigned short... 2
checking for unsigned short... (cached) yes
checking alignment of unsigned short... 2
checking size of void *... 4
checking for void *... yes
checking alignment of void *... 4
checking size of int8_t... 1
checking for int8_t... yes
checking alignment of int8_t... 1
checking size of uint8_t... 1
checking for uint8_t... yes
checking alignment of uint8_t... 1
checking size of int16_t... 2
checking for int16_t... (cached) yes
checking alignment of int16_t... 2
checking size of uint16_t... 2
checking for uint16_t... yes
checking alignment of uint16_t... 2
checking size of int32_t... 4
checking for int32_t... (cached) yes
checking alignment of int32_t... 4
checking size of uint32_t... 4
checking for uint32_t... yes
checking alignment of uint32_t... 4
checking size of int64_t... 8
checking for int64_t... yes
checking alignment of int64_t... 8
checking size of uint64_t... 8
checking for uint64_t... yes
checking alignment of uint64_t... 8
checking whether byte ordering is bigendian... no
checking for WinExec... no
checking for GetModuleFileName... no
checking for getclock... no
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for setitimer... yes
checking for siginterrupt... (cached) yes
checking for sysconf... (cached) yes
checking for times... (cached) yes
checking for ctime_r... yes
checking for sched_setaffinity... yes
checking for sched_getaffinity... yes
checking for setlocale... (cached) yes
checking whether ctime_r is declared... yes
checking for closedir in -lmingwex... no
checking for atan in -lm... yes
checking for ffi_call in -lffi... yes
checking for ffi.h... yes
checking for dlopen in -ldl... yes
checking for dlopen in -ldl... (cached) yes
checking for dlinfo... yes
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for pid_t... (cached) yes
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for pthread_condattr_setclock... no
checking for working fork... yes
checking for working vfork... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... (cached) no
checking whether float word order is big endian... no
checking for nlist in -lelf... yes
checking leading underscore in symbol names... no
checking whether __attribute__((visibility("hidden"))) is supported... yes
checking for clock_gettime in -lrt... yes
checking for clock_gettime in -lrt... (cached) yes
checking for clock_gettime... (cached) yes
checking for timer_settime... yes
checking for timer_create... yes
checking for a working timer_create(CLOCK_REALTIME)... yes
checking for printf$LDBLStub... no
checking whether -lpthread is needed for pthreads... checking for pthread_create... no
checking for pthread_create in -lpthread... yes
yes
checking for pthread_np.h... yes
checking for pthread_setname_np in -lpthread... yes
checking for pthread_setname_np (Darwin)... no
checking for pthread_setname_np (glibc)... yes
checking for pthread_set_name_np... no
checking for sys/eventfd.h... yes
checking for eventfd... yes
checking for __thread support... yes
checking whether to use libffi for adjustors... 
checking for numa.h... no
checking for numaif.h... no
configure: creating ./config.status
config.status: creating hadrian/cfg/system.config
config.status: creating hadrian/ghci-cabal
config.status: creating hadrian/ghci-stack
config.status: creating mk/config.mk
config.status: creating mk/install.mk
config.status: creating mk/project.mk
config.status: creating rts/rts.cabal
config.status: creating compiler/ghc.cabal
config.status: creating ghc/ghc-bin.cabal
config.status: creating utils/runghc/runghc.cabal
config.status: creating driver/ghci/ghci-wrapper.cabal
config.status: creating utils/iserv/iserv.cabal
config.status: creating utils/iserv-proxy/iserv-proxy.cabal
config.status: creating utils/ghc-pkg/ghc-pkg.cabal
config.status: creating utils/remote-iserv/remote-iserv.cabal
config.status: creating utils/gen-dll/gen-dll.cabal
config.status: creating libraries/ghc-boot/ghc-boot.cabal
config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal
config.status: creating libraries/ghci/ghci.cabal
config.status: creating libraries/ghc-heap/ghc-heap.cabal
config.status: creating libraries/libiserv/libiserv.cabal
config.status: creating libraries/template-haskell/template-haskell.cabal
config.status: creating docs/users_guide/ghc_config.py
config.status: creating docs/index.html
config.status: creating libraries/prologue.txt
config.status: creating distrib/configure.ac
config.status: creating mk/config.h

----------------------------------------------------------------------
Configure completed successfully.

   Building GHC version  : 9.2.8
          Git commit id  : dfa834627a94d98aaeddb0cb3a0cedca934d2814

   Build platform        : arm-unknown-freebsd
   Host platform         : arm-unknown-freebsd
   Target platform       : arm-unknown-freebsd

   Bootstrapping using   : /wrkdirs/usr/ports/lang/ghc92/work/ghc-boot-install/bin/ghc-8.10.7
      which is version   : 8.10.7
      with threaded RTS? : YES

   Using (for bootstrapping) : clang
   Using clang               : cc
      which is version       : 
      linker options         : -fuse-ld=lld
   Building a cross compiler : NO
   Unregisterised            : NO
   TablesNextToCode          : YES
   Build GMP in tree         : NO
   hs-cpp       : cc
   hs-cpp-flags : -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs
   ar           : ar
   ld           : ld.lld
   nm           : nm
   libtool      : 
   objdump      : objdump
   ranlib       : ranlib
   otool        : 
   install_name_tool : 
   windres      : 
   dllwrap      : 
   genlib       : 
   Happy        : /usr/bin/true ()
   Alex         : /usr/bin/true ()
   sphinx-build : 
   xelatex      : 
   makeinfo     : 
   git          : 

   Using LLVM tools
      clang : clang
      llc   : llc10
      opt   : opt10

   HsColour was not found; documentation will not contain source links

   Tools to build Sphinx HTML documentation available: NO
   Tools to build Sphinx PDF documentation available: NO
   Tools to build Sphinx INFO documentation available: NO
----------------------------------------------------------------------

For a standard build of GHC (fully optimised with profiling), type (g)make.

To make changes to the default build configuration, copy the file
mk/build.mk.sample to mk/build.mk, and edit the settings in there.

For more information on how to configure your GHC build, see
   https://gitlab.haskell.org/ghc/ghc/wikis/building

===========================================================================
=======================<phase: build          >============================
===>  Building for ghc92-9.2.8
Bus error (core dumped)
===> 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/lang/ghc92