[package - 142arm64-default][lang/ghc92] Failed for ghc92-9.2.8_1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Aug 2025 11:53:41 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/ampere3/data/142arm64-default/2650762431ca/logs/ghc92-9.2.8_1.log Build URL: https://pkg-status.freebsd.org/ampere3/build.html?mastername=142arm64-default&build=2650762431ca Log: =>> Building lang/ghc92 build started at Mon Aug 18 10:48:23 UTC 2025 port directory: /usr/ports/lang/ghc92 package name: ghc92-9.2.8_1 building for: FreeBSD 142arm64-default-job-08 14.2-RELEASE-p4 FreeBSD 14.2-RELEASE-p4 arm64 maintained by: haskell@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 893 Aug 5 01:11 /usr/ports/lang/ghc92/Makefile Ports top last git commit: 2650762431c Ports top unclean checkout: no Port dir last git commit: 5ce4b8015b5 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.3 Host OSVERSION: 1500052 Jail OSVERSION: 1402000 Job Id: 08 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE-p4 UNAME_r=14.2-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.3 MASTERMNT=/usr/local/poudriere/data/.m/142arm64-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/142arm64-default/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=142arm64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/142arm64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.3 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 ghc92-9.2.8_1: 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=aarch64-unknown-freebsd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- CC=cc CXX=c++ CPP=cpp GHC=/wrkdirs/usr/ports/lang/ghc92/work/ghc-boot-install/bin/ghc-9.2.8 ALEX=/usr/bin/true HAPPY=/usr/bin/true MAKE=/usr/local/bin/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.11" 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.72 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.72 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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-- 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 GHC_ARCH=aarch64 BOOT="@comment " NO_BOOT="" DYNAMIC="" NO_DYNAMIC="@comment " PROFILE="" NO_PROFILE="@comment " PYTHON_INCLUDEDIR=include/python3.11 PYTHON_LIBDIR=lib/python3.11 PYTHON_PLATFORM=freebsd14 PYTHON_SITELIBDIR=lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" GMP= OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.40.2 PERL_VER=5.40 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.40 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.11 PYTHON_LIBDIR=/usr/local/lib/python3.11 PYTHON_PLATFORM=freebsd14 PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_BASESUFFIX=311 PYTHON_TAG=.cpython-311 PYTHON_SOABI=.cpython-311 PYTHON_VER=3.11 PYTHON_BASEVER=3.11 PYTHON_VERSION=python3.11 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 #### #### # 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) 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) 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 pipebuf (-y) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ghc92-9.2.8_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.2.1.pkg [142arm64-default-job-08] Installing pkg-2.2.1... [142arm64-default-job-08] Extracting pkg-2.2.1: .......... done ===> ghc92-9.2.8_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ghc92-9.2.8_1 =========================================================================== =======================<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 BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ghc92-9.2.8_1 for building =========================================================================== =======================<phase: checksum >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ghc92-9.2.8_1 for building => SHA256 Checksum OK for ghc-9.2.8-src.tar.xz. => SHA256 Checksum OK for ghc-9.2.8-boot-aarch64-freebsd.tar.xz. => SHA256 Checksum OK for hadrian-9.2.8-boot.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 BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ghc92-9.2.8_1 for building ===> Extracting for ghc92-9.2.8_1 => SHA256 Checksum OK for ghc-9.2.8-src.tar.xz. => SHA256 Checksum OK for ghc-9.2.8-boot-aarch64-freebsd.tar.xz. => SHA256 Checksum OK for hadrian-9.2.8-boot.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 ghc92-9.2.8_1 ===> Applying FreeBSD patches for ghc92-9.2.8_1 from /usr/ports/lang/ghc92/files /usr/bin/sed -e 's|%%DYNAMIC%%|True|' -e 's|%%PROFILE%%|True|' /usr/ports/lang/ghc92/files/UserSettings.hs > /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/hadrian/src/UserSettings.hs =========================================================================== =======================<phase: build-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ghc92-9.2.8_1 depends on file: /usr/local/lib/libgmp.so - not found ===> Installing existing package /packages/All/gmp-6.3.0.pkg [142arm64-default-job-08] Installing gmp-6.3.0... [142arm64-default-job-08] `-- Installing indexinfo-0.3.1_1... [142arm64-default-job-08] `-- Extracting indexinfo-0.3.1_1: .... done [142arm64-default-job-08] Extracting gmp-6.3.0: .......... done ===> ghc92-9.2.8_1 depends on file: /usr/local/lib/libgmp.so - found ===> Returning to build of ghc92-9.2.8_1 ===> ghc92-9.2.8_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [142arm64-default-job-08] Installing gmake-4.4.1... [142arm64-default-job-08] `-- Installing gettext-runtime-0.23.1... [142arm64-default-job-08] `-- Extracting gettext-runtime-0.23.1: .......... done [142arm64-default-job-08] Extracting gmake-4.4.1: .......... done <snip> | ^ | void | 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ 3 warnings generated. | Run Cc (FindCDependencies CDep) Stage1: rts/Trace.c => _build/stage1/rts/build/c/Trace.thr_debug_o.d | Run Cc (FindCDependencies CDep) Stage1: rts/posix/GetEnv.c => _build/stage1/rts/build/c/posix/GetEnv.o.d | Run Cc (FindCDependencies CDep) Stage1: rts/linker/Elf.c => _build/stage1/rts/build/c/linker/Elf.thr_p_o.d | Run Ghc CompileCWithGhc Stage1: rts/posix/GetEnv.c => _build/stage1/rts/build/c/posix/GetEnv.o | Run Ghc CompileCWithGhc Stage1: rts/Profiling.c => _build/stage1/rts/build/c/Profiling.debug_p_o | Run Ghc CompileCWithGhc Stage1: rts/linker/Elf.c => _build/stage1/rts/build/c/linker/Elf.thr_p_o In file included from rts/posix/GetEnv.c:9:0: error: In file included from rts/Profiling.c:12:0: error: In file included from includes/Rts.h:38:0: error: In file included from includes/Stg.h:336:0: error: includes/stg/SMP.h:498:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ | void | 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ includes/stg/SMP.h:499:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ | void | 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ includes/stg/SMP.h:500:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ | void | 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ 3 warnings generated. | Run Cc (FindCDependencies CDep) Stage1: rts/sm/Sweep.c => _build/stage1/rts/build/c/sm/Sweep.thr_p_o.d In file included from includes/Rts.h:38:0: error: In file included from includes/Stg.h:336:0: error: includes/stg/SMP.h:498:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ | void | 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ includes/stg/SMP.h:499:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ | void | 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ includes/stg/SMP.h:500:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ | void | 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ 3 warnings generated. | Run Cc (FindCDependencies CDep) Stage1: rts/RaiseAsync.c => _build/stage1/rts/build/c/RaiseAsync.debug_p_o.d | Run Cc (FindCDependencies CDep) Stage1: rts/linker/CacheFlush.c => _build/stage1/rts/build/c/linker/CacheFlush.l_o.d | Run Ghc CompileCWithGhc Stage1: rts/linker/CacheFlush.c => _build/stage1/rts/build/c/linker/CacheFlush.l_o | Run Ghc CompileCWithGhc Stage1: rts/RtsMain.c => _build/stage1/rts/build/c/RtsMain.thr_debug_o In file included from rts/linker/CacheFlush.c:3:0: error: In file included from includes/Rts.h:38:0: error: In file included from includes/Stg.h:336:0: error: includes/stg/SMP.h:498:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ | void | 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ includes/stg/SMP.h:499:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ | void | 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ includes/stg/SMP.h:500:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ | void | 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ 3 warnings generated. | Run Ghc CompileCWithGhc Stage1: rts/ProfilerReport.c => _build/stage1/rts/build/c/ProfilerReport.debug_p_o | Run DeriveConstants: none => _build/stage1/lib/DerivedConstants.h (and 1 more) In file included from rts/ProfilerReport.c:12:0: error: | Run Cc (FindCDependencies CDep) Stage1: rts/hooks/StackOverflow.c => _build/stage1/rts/build/c/hooks/StackOverflow.debug_o.d | Run Ghc CompileCWithGhc Stage1: rts/hooks/StackOverflow.c => _build/stage1/rts/build/c/hooks/StackOverflow.debug_o In file included from includes/Rts.h:38:0: error: In file included from includes/Stg.h:336:0: error: includes/stg/SMP.h:498:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ | void | 498 | EXTERN_INLINE void write_barrier () {} /* nothing */ | ^ includes/stg/SMP.h:499:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ | void | 499 | EXTERN_INLINE void store_load_barrier() {} /* nothing */ | ^ includes/stg/SMP.h:500:38: error: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ | void | 500 | EXTERN_INLINE void load_load_barrier () {} /* nothing */ | ^ 3 warnings generated. ghc: panic! (the 'impossible' happened) (GHC version 9.2.8: Couldn't find #define HS_CONSTANTS " in _build/stage1/lib/DerivedConstants.h CallStack (from HasCallStack): error, called at _build/stage0/compiler/build/GHC/Platform/Constants.hs:143:20 in ghc:GHC.Platform.Constants Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug | Run Cc (FindCDependencies CDep) Stage1: rts/StgStartup.cmm => _build/stage1/rts/build/cmm/StgStartup.thr_p_o.d Error when running Shake build system: at want, called at src/Main.hs:104:30 in main:Main * Depends on: binary-dist-dir at need, called at src/Rules/BinaryDist.hs:130:9 in main:Rules.BinaryDist * Depends on: _build/stage1/bin/hp2ps at need, called at src/Rules/Library.hs:164:18 in main:Rules.Library * Depends on: _build/stage1/rts/build/libHSrts-1.0.2_debug.a at need, called at src/Rules/Library.hs:159:5 in main:Rules.Library * Depends on: _build/stage1/rts/build/c/hooks/StackOverflow.debug_o at cmd', called at src/Builder.hs:379:23 in main:Builder at cmd, called at src/Builder.hs:483:8 in main:Builder * Raised the exception: Development.Shake.cmd, system command failed Command line: _build/stage0/bin/ghc -Wall -hisuf debug_hi -osuf debug_o -hcsuf debug_hc -static -optc-DDEBUG -eventlog -ticky -DTICKY_TICKY -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/lib/package.conf.d' '-this-unit-id rts-1.0.2' -i -i/wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/_build/stage1/rts/build -i/wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/_build/stage1/rts/build/autogen -i/wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/rts -Iincludes -I_build/stage1/lib -I_build/stage1/rts/build -I_build/stage1/rts/build/build -I_build/stage1/rts/build/../includes -I_build/stage1/rts/build/includes -I_build/stage1/rts/build/includes/dist-derivedconstants/header -I/usr/local/include -Irts/build -Irts/../includes -Irts/includes -Irts/includes/dist-derivedconstants/header -I/usr/local/include -I_build/stage1/lib -optc-I_build/stage1/lib -optP-include -optP_build/stage1/rts/build/autogen/cabal_macros.h -ghcversion-file=_build/stage1/lib/ghcversion.h -optc--target=aarch64-unknown-freebsd -outputdir _build/stage1/rts/build -optc--target=aarch64-unknown-freebsd -optc-Iincludes -optc-I_build/stage1/lib -optc-I_build/stage1/rts/build -optc-I_build/stage1/rts/build/build -optc-I_build/stage1/rts/build/../includes -optc-I_build/stage1/rts/build/includes -optc-I_build/stage1/rts/build/includes/dist-derivedconstants/header -optc-I/usr/local/include -optc-Irts/build -optc-Irts/../includes -optc-Irts/includes -optc-Irts/includes/dist-derivedconstants/header -optc-I/usr/local/include -Wnoncanonical-monad-instances -optc-Wno-unknown-pragmas -optP-Wno-nonportable-include-path -c rts/hooks/StackOverflow.c -o _build/stage1/rts/build/c/hooks/StackOverflow.debug_o -O2 -H32m -this-unit-id rts -XHaskell98 -no-global-package-db -package-db=/wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/_build/stage1/lib/package.conf.d -ghcversion-file=/wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/_build/stage1/lib/ghcversion.h -haddock -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Wundef -optc-fno-strict-aliasing -optc-fomit-frame-pointer -optc-O2 -optc-g -optc-Irts -optc-I_build/stage1/rts/build -optc-DDEBUG -optc-fno-omit-frame-pointer -optc-g3 -optc-O0 -Irts -I_build/stage1/rts/build '-DRtsWay="rts_debug"' -DFS_NAMESPACE=rts -DCOMPILING_RTS -DTICKY_TICKY -optc-DTICKY_TICKY -Wno-deprecated-flags -Wcpp-undef Exit code: 1 Stderr and Stdout: ghc: panic! (the 'impossible' happened) (GHC version 9.2.8: Couldn't find #define HS_CONSTANTS " in _build/stage1/lib/DerivedConstants.h CallStack (from HasCallStack): error, called at _build/stage0/compiler/build/GHC/Platform/Constants.hs:143:20 in ghc:GHC.Platform.Constants Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug ===> 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