hadrian: rule finished running but did not produce file
Summary
I'm trying to build GHC 9.2.3 on s390x. Running ./boot && ./configure && ./hadrian/build -j
on openSUSE results in
Error when running Shake build system:
at action, called at src/Rules.hs:40:19 in main:Rules
at need, called at src/Rules.hs:62:5 in main:Rules
* Depends on: _build/stage1/bin/hsc2hs
at need, called at src/Rules/Register.hs:79:5 in main:Rules.Register
* Depends on: _build/stage1/lib/s390x-linux-ghc-9.2.3/libHSrts-1.0.2-ghc9.2.3.so
at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.19.6-08317923690f9b3243142c2cf0820430cccc5525858b4b7937eb8005e70e0e1c:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, rule finished running but did not produce file:
_build/stage1/lib/s390x-linux-ghc-9.2.3/libHSrts-1.0.2-ghc9.2.3.so
whereas if I'm using Fedora the build is successful. Thus I suspect that some dependencies/packages might make a difference between openSUSE and Fedora. I already tried -V
in the hope to get some more inside. Any idea or pointer how to find out what might be missing here?
Environment
- s390x
- openSUSE Tumbleweed
- GHC 8.10.7