From nobody Fri Apr 5 01:47:18 2024 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V9hF34CQmz5GVmQ for ; Fri, 5 Apr 2024 01:47:19 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V9hF31fj6z4v4W for ; Fri, 5 Apr 2024 01:47:19 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712281639; a=rsa-sha256; cv=none; b=f6OfRlgPKHdoiYSn5rjyndYKPJLbNGOtvMm2tmWlvF+HqB92kPUzKmI3AGcFZblgw2A5cU Ea/MrSGtgA7pdqNyRrxpA8oFW5qSLZQxcc6dzy+EwsW33NMsfX8y7gJS1pol9AUyvXoHcN FtHS4JpBBl9kbcOPEsG6GsHv5tZusELlhT5bU59lfSGTLbe4jbbOFaxWO+K2pYJLGcZqYa ez+8uNlHU4TTRukGF2mZWRfoNFssPbQm53BoZs/VzDakytPqdwzVoJ6V5hqN2vJISxIfd4 n7MkCB0jfWHWKM913Tkw8dS6dFSPBHXtLbpxV//a+nj4OxYNo7mnZ4zCj5zTAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712281639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=2S5E+LdnRo2ThhgWaw4XO5K/O+wDGpzXEuInq49z8aI=; b=sLulqvkuCOqr+a6/Ti5ddhnHpbaA/giNLCoUEreWspd1hpfgPPjn6BSrfgu0Vw8BHfNcIf PeIisrB2qj+CxnrNncV4Wh8baKNP+B2Y/vLl6swqB4O463xaXGoltyMsd0a94xo+kQkVV7 /ky9peZUS8Sf/bdiNtj/vv2zSTdRCKjMe4jarkEyU4DeBnDrc4RHPgkWg5ng2c4IpVH8Bb J52osh+eqn5kSU//nCj/G0g4491QwbpwVPqKWOtiy6DELnQzF6GzpU2fEjAYAU3YWvX0ON nhI4sopjtaNyLMUOI0uhdnZdi57SIdQmhZRBIDb3i5YMQKl4uN3w25w5hum3LQ== Received: from package19.nyi.freebsd.org (package19.nyi.freebsd.org [IPv6:2610:1c1:1:607e::16:7]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4V9hF30zrBzh6T for ; Fri, 5 Apr 2024 01:47:19 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 1a6b8 by package19.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on package19.nyi.freebsd.org); Fri, 05 Apr 2024 01:47:18 +0000 To: haskell@FreeBSD.org Subject: [exp - 140amd64-default-build-as-user][lang/ghc92] Failed for ghc92-9.2.8_1 in build Cc: pkg-fallout@FreeBSD.org Date: Fri, 05 Apr 2024 01:47:18 +0000 Message-Id: <660f5826.1a6b8.3125672f@package19.nyi.freebsd.org> From: List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org 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/package19/data/140amd64-default-build-as-user/dd015eeb653c/logs/ghc92-9.2.8_1.log Build URL: https://pkg-status.freebsd.org/package19/build.html?mastername=140amd64-default-build-as-user&build=dd015eeb653c Log: =>> Building lang/ghc92 build started at Fri Apr 5 01:06:50 UTC 2024 port directory: /usr/ports/lang/ghc92 package name: ghc92-9.2.8_1 building for: FreeBSD 140amd64-default-build-as-user-job-04 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 amd64 maintained by: haskell@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 874 Jun 7 2023 /usr/ports/lang/ghc92/Makefile Ports top last git commit: dd015eeb653 Ports top unclean checkout: no Port dir last git commit: 81be046af8a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6 Host OSVERSION: 1500006 Jail OSVERSION: 1400097 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE-p6 UNAME_r=14.0-RELEASE-p6 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.1-1-g1e9f97d6 MASTERMNT=/poudriere/data/.m/140amd64-default-build-as-user/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/poudriere/data/.m/140amd64-default-build-as-user/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140amd64-default-build-as-user SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/140amd64-default-build-as-user/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6 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 --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" 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.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= GHC_ARCH=x86_64 OSREL=14.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/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 FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===== 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.0.pkg [140amd64-default-build-as-user-job-04] Installing pkg-1.21.0... [140amd64-default-build-as-user-job-04] Extracting pkg-1.21.0: .......... done ===> ghc92-9.2.8_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ghc92-9.2.8_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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 =========================================================================== =================================================== ===== 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-amd64-freebsd.tar.xz. => SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> 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-amd64-freebsd.tar.xz. => SHA256 Checksum OK for hadrian-9.2.8-boot.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> 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 =========================================================================== =================================================== ===== 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 [140amd64-default-build-as-user-job-04] Installing gmp-6.3.0... [140amd64-default-build-as-user-job-04] `-- Installing indexinfo-0.3.1... [140amd64-default-build-as-user-job-04] `-- Extracting indexinfo-0.3.1: .... done [140amd64-default-build-as-user-job-04] Extracting gmp-6.3.0: .......... done ===> ghc92-9.2.8_1 depends on file: /usr/local/lib/libgmp.so - found ^ void 3 warnings generated. In file included from rts/Weak.c:10:0: error: | Run Ghc CompileCWithGhc Stage1: rts/posix/Signals.c => _build/stage1/rts/build/c/posix/Signals.o In file included from rts/posix/Signals.c:10: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 */ | ^ EXTERN_INLINE void write_barrier () {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void store_load_barrier() {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void load_load_barrier () {} /* nothing */ ^ void 3 warnings generated. | Run Ghc CompileCWithGhc Stage1: rts/ThreadLabels.c => _build/stage1/rts/build/c/ThreadLabels.o | Run Cc (FindCDependencies CDep) Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.o.d In file included from rts/ThreadLabels.c:11:0: error: | Run Ghc CompileCWithGhc Stage1: rts/RtsSymbolInfo.c => _build/stage1/rts/build/c/RtsSymbolInfo.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 */ | ^ EXTERN_INLINE void write_barrier () {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void store_load_barrier() {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void load_load_barrier () {} /* nothing */ ^ void 3 warnings generated. In file included from rts/RtsSymbolInfo.c:10:0: error: In file included from rts/RtsSymbolInfo.h:11:0: error: In file included from rts/LinkerInternals.h:11: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 */ | ^ EXTERN_INLINE void write_barrier () {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void store_load_barrier() {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void load_load_barrier () {} /* nothing */ ^ void 3 warnings generated. 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 */ | ^ EXTERN_INLINE void write_barrier () {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void store_load_barrier() {} /* nothing */ ^ void 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 */ | ^ EXTERN_INLINE void load_load_barrier () {} /* nothing */ ^ void 3 warnings generated. | Run DeriveConstants: none => _build/stage1/lib/DerivedConstants.h (and 1 more) | Run Cc (FindCDependencies CDep) Stage1: rts/linker/elf_util.c => _build/stage1/rts/build/c/linker/elf_util.o.d | Run Cc (FindCDependencies CDep) Stage1: rts/linker/MachO.c => _build/stage1/rts/build/c/linker/MachO.o.d | Run Ghc CompileCWithGhc Stage1: rts/linker/elf_util.c => _build/stage1/rts/build/c/linker/elf_util.o | Run Ghc CompileCWithGhc Stage1: rts/linker/MachO.c => _build/stage1/rts/build/c/linker/MachO.o In file included from rts/linker/elf_util.c:1:0: error: 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 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/linker/MachO.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=x86_64-portbld-freebsd -outputdir _build/stage1/ rts/build -optc--target=x86_64-portbld-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/linker/MachO.c -o _build/stage1/rts/build/c/linker/MachO.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 -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