[MacPorts] #72535: ghc don't build on arm64
MacPorts
noreply at macports.org
Sat May 24 07:51:04 UTC 2025
#72535: ghc don't build on arm64
--------------------------------------+--------------------
Reporter: amadeus24 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: ghc don't build on arm64 | Port: ghc
--------------------------------------+--------------------
{{{ghc}}} don't build on arm64, as dependency of {{{gocryptfs}}}.\\
{{{
:info:build gmake: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/ghc-9.12.2/_build/stage1/libffi/build'
:info:build Error when running Shake build system:
:info:build at want, called at src/Main.hs:126:44 in
hdrn-0.1.0.0-02fb0253:Main
:info:build * Depends on: binary-dist-dir
:info:build at apply1, called at
src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in
shk-0.19.8-c17791b6:Development.Shake.Internal.Rules.Oracle
:info:build * Depends on: OracleQ (ContextDataKey (Context {stage =
Stage1, package = Package {pkgType = Library, pkgName = "rts", pkgPath =
"rts"}, way = v, iplace = Final}))
:info:build at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:54:9
in hdrn-0.1.0.0-02fb0253:Hadrian.Oracles.Cabal.Rules
:info:build * Depends on: _build/stage1/rts/setup-config
:info:build at need, called at src/Hadrian/Builder.hs:77:5 in
hdrn-0.1.0.0-02fb0253:Hadrian.Builder
:info:build * Depends on: _build/stage1/rts/build/include/ffitarget.h
:info:build at need, called at src/Rules/Libffi.hs:75:9 in
hdrn-0.1.0.0-02fb0253:Rules.Libffi
:info:build * Depends on: _build/stage1/libffi/.dynamiclibs
:info:build at &%>, called at src/Rules/Libffi.hs:176:34 in
hdrn-0.1.0.0-02fb0253:Rules.Libffi
:info:build at &%>, called at src/Base.hs:190:22 in
hdrn-0.1.0.0-02fb0253:Base
:info:build * Depends on: _build/stage1/libffi/build/inst/lib/libffi.a
_build/stage1/libffi/.dynamiclibs
:info:build hadrian: Uncaught exception ghc-
internal:GHC.Internal.Exception.ErrorCall:
:info:build ErrorCallWithLocation has been deprecated in favour of
ErrorCall (which does not have a location). Backtraces are now handled by
the backtrace exception mechanisms exclusively.
:info:build HasCallStack backtrace:
:info:build error, called at libraries/ghc-
internal/src/GHC/Internal/Exception.hs:184:68 in ghc-
internal:GHC.Internal.Exception
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/ghc-9.12.2"
&& hadrian binary-dist-dir -VVVVV -j16
:info:build Exit code: 1
:error:build Failed to build ghc: command execution failed
:debug:build Error code: CHILDSTATUS 18472 1
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/main.log
for details.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72535>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list