Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 14:08:09 +0000
From:      <pkg-fallout@FreeBSD.org>
To:        haskell@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 141arm64-quarterly][lang/ghc92] Failed for ghc92-9.2.8_1 in build
Message-ID:  <6703eb49.2a42.59983391@ampere1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/ampere1/data/141arm64-quarterly/02cb613d0be4/logs/ghc92-9.2.8_1.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=141arm64-quarterly&build=02cb613d0be4
Log:

=>> Building lang/ghc92
build started at Mon Oct  7 12:04:53 UTC 2024
port directory: /usr/ports/lang/ghc92
package name: ghc92-9.2.8_1
building for: FreeBSD 141arm64-quarterly-job-02 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 arm64
maintained by: haskell@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 891 Jul 16 01:02 /usr/ports/lang/ghc92/Makefile
Ports top last git commit: 02cb613d0
Ports top unclean checkout: no
Port dir last git commit: e0c9a053f
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
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.2
MASTERMNT=/usr/local/poudriere/data/.m/141arm64-quarterly/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/141arm64-quarterly/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141arm64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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--
ALEX=/usr/bin/true HAPPY=/usr/bin/true GHC=/wrkdirs/usr/ports/lang/ghc92/work/ghc-boot-install/bin/ghc-8.10.7 LLC=llc11 OPT=opt11 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.11" CC=cc CXX=c++ 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=" -fstack-protector-strong " 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="insta
ll  -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.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_
VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" GMP= GHC_ARCH=aarch64 OSREL=14.1 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/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_EXT_SUFFIX=.cpython-311  PYTHON_VER=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
--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-1.21.3.pkg
[141arm64-quarterly-job-02] Installing pkg-1.21.3...
[141arm64-quarterly-job-02] Extracting pkg-1.21.3: .......... 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-8.10.7-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-8.10.7-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
/bin/rm -f -f /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo DYNAMIC_GHC_PROGRAMS=YES >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo BUILD_PROF_LIBS=YES >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo HADDOCK_DOCS=YES >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo BUILD_SPHINX_HTML= >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo BUILD_SPHINX_PDF=NO >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo SRC_HC_OPTS+="-I/usr/include -L/usr/lib -I/usr/local/include -L/usr/local/lib" >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo SRC_CC_OPTS+="-O2 -pipe  " >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo EXTRA_HSC2HS_OPTS+="-I/usr/local/include --lflag=-L/usr/local/lib" >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo EXTRA_LD_OPTS+="-L/usr/local/lib" >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo libraries/terminfo_CONFIGURE_OPTS+="--configure-option=--with-curses-libraries=/usr/lib" >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
echo V=0 >> /wrkdirs/usr/ports/lang/ghc92/work/ghc-9.2.8/mk/build.mk
/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
[141arm64-quarterly-job-02] Installing gmp-6.3.0...
<snip>
| Run Cc (FindCDependencies CDep) Stage1: rts/TraverseHeapTest.c => _build/stage1/rts/build/c/TraverseHeapTest.o.d
| Run Ghc CompileCWithGhc Stage1: rts/TraverseHeapTest.c => _build/stage1/rts/build/c/TraverseHeapTest.o
| Run Cc (FindCDependencies CDep) Stage1: rts/RtsSymbols.c => _build/stage1/rts/build/c/RtsSymbols.o.d
| Run Ghc CompileCWithGhc Stage1: rts/ProfilerReport.c => _build/stage1/rts/build/c/ProfilerReport.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 */
    |                                      ^

rts/ReportMemoryMap.c:113:21: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      113 | void reportMemoryMap() {
          |                     ^
          |                      void
    |
113 | void reportMemoryMap() {
    |                     ^
4 warnings generated.
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/GCUtils.c => _build/stage1/rts/build/c/sm/GCUtils.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Capability.c => _build/stage1/rts/build/c/Capability.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/Sweep.c => _build/stage1/rts/build/c/sm/Sweep.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Proftimer.c => _build/stage1/rts/build/c/Proftimer.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/CheckUnload.c => _build/stage1/rts/build/c/CheckUnload.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/SpinLock.c => _build/stage1/rts/build/c/SpinLock.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/StgMiscClosures.cmm => _build/stage1/rts/build/cmm/StgMiscClosures.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/ThreadPaused.c => _build/stage1/rts/build/c/ThreadPaused.o.d
| Run Ghc CompileCWithGhc Stage1: rts/SpinLock.c => _build/stage1/rts/build/c/SpinLock.o
| Run Cc (FindCDependencies CDep) Stage1: rts/Heap.c => _build/stage1/rts/build/c/Heap.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Linker.c => _build/stage1/rts/build/c/Linker.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/STM.c => _build/stage1/rts/build/c/STM.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/TraverseHeap.c => _build/stage1/rts/build/c/TraverseHeap.o.d

In file included from rts/SpinLock.c:23:0: error: 
| Run Ghc CompileCWithGhc Stage1: rts/TraverseHeap.c => _build/stage1/rts/build/c/TraverseHeap.o
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/GC.c => _build/stage1/rts/build/c/sm/GC.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 Ghc CompileCWithGhc Stage1: rts/linker/elf_plt_arm.c => _build/stage1/rts/build/c/linker/elf_plt_arm.o
| Run Cc (FindCDependencies CDep) Stage1: rts/Hpc.c => _build/stage1/rts/build/c/Hpc.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/NonMovingCensus.c => _build/stage1/rts/build/c/sm/NonMovingCensus.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/adjustor/LibffiAdjustor.c => _build/stage1/rts/build/c/adjustor/LibffiAdjustor.o.d

In file included from rts/linker/elf_plt_arm.c:1:0: error: 
| Run Cc (FindCDependencies CDep) Stage1: rts/Threads.c => _build/stage1/rts/build/c/Threads.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/macho/plt.c => _build/stage1/rts/build/c/linker/macho/plt.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/WSDeque.c => _build/stage1/rts/build/c/WSDeque.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/posix/OSMem.c => _build/stage1/rts/build/c/posix/OSMem.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/MarkWeak.c => _build/stage1/rts/build/c/sm/MarkWeak.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/StablePtr.c => _build/stage1/rts/build/c/StablePtr.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/Elf.c => _build/stage1/rts/build/c/linker/Elf.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/LibdwPool.c => _build/stage1/rts/build/c/LibdwPool.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/RtsAPI.c => _build/stage1/rts/build/c/RtsAPI.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/ProfHeap.c => _build/stage1/rts/build/c/ProfHeap.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/eventlog/EventLogWriter.c => _build/stage1/rts/build/c/eventlog/EventLogWriter.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/RtsUtils.c => _build/stage1/rts/build/c/RtsUtils.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/Compact.cmm => _build/stage1/rts/build/cmm/Compact.o.d
| Run DeriveConstants: none => _build/stage1/lib/DerivedConstants.h (and 1 more)
| Run Cc (FindCDependencies CDep) Stage1: rts/Messages.c => _build/stage1/rts/build/c/Messages.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/elf_plt_aarch64.c => _build/stage1/rts/build/c/linker/elf_plt_aarch64.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/NonMovingShortcut.c => _build/stage1/rts/build/c/sm/NonMovingShortcut.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/OldARMAtomic.c => _build/stage1/rts/build/c/OldARMAtomic.o.d
| Run Cc (FindCDependencies CDep) Stage1: rts/linker/MMap.c => _build/stage1/rts/build/c/linker/MMap.o.d
| Run Ghc CompileCWithGhc Stage1: rts/OldARMAtomic.c => _build/stage1/rts/build/c/OldARMAtomic.o
| Run Cc (FindCDependencies CDep) Stage1: rts/sm/NonMovingSweep.c => _build/stage1/rts/build/c/sm/NonMovingSweep.o.d
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/Exception.cmm => _build/stage1/rts/build/cmm/Exception.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/lib/package.conf.d/ghc-prim-0.8.0.conf
  at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.19.4-LJBW0MCu6wnHO9Y8M9Xb3C:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "ghc-prim", pkgPath = "libraries/ghc-prim"}, way = v}))
  at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:54:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/libraries/ghc-prim/setup-config
  at need, called at src/Rules/Library.hs:164:18 in main:Rules.Library
* Depends on: _build/stage1/rts/build/libHSrts-1.0.2.a
  at need, called at src/Rules/Library.hs:159:5 in main:Rules.Library
* Depends on: _build/stage1/rts/build/c/OldARMAtomic.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 hi -osuf o -hcsuf hc -static -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/OldARMAtomic.c -o _build/stage1/rts/build/c/OldARMAtomic.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 -op
tc-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 -Irts -I_build/stage1/rts/build '-DRtsWay="rts_v"' -DFS_NAMESPACE=rts -DCOMPILING_RTS -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6703eb49.2a42.59983391>