ihaskell-notebook icon indicating copy to clipboard operation
ihaskell-notebook copied to clipboard

'make build' fails with exit code 137

Open bmcollier opened this issue 11 months ago • 1 comments

On an M1 Macbook Air, on Docker, with either 8GB or 12GB of RAM set, the build reaches the following step and then fails as follows:

 
#18 475.2 Configuring GHC ...
#18 498.2 ar: conftest.a: No such file or directory
#18 500.4 Installing GHC ...
#18 1236.6 /bin/bash: line 1:  8575 Killed                  stack setup
------
executor failed running [/bin/bash -o pipefail -c cd /opt     && curl -L "https://github.com/gibiansky/IHaskell/tarball/$IHASKELL_COMMIT" | tar xzf -     && mv *IHaskell* IHaskell     && curl -L "https://github.com/DougBurke/hvega/tarball/$HVEGA_COMMIT" | tar xzf -     && mv *hvega* hvega     && fix-permissions /opt/IHaskell     && fix-permissions $STACK_ROOT     && fix-permissions /opt/hvega     && stack setup     && fix-permissions $STACK_ROOT     && rm /opt/stack/programs/x86_64-linux/ghc*.tar.xz]: exit code: 137
make: *** [build] Error 1

As this was exit code 137, I varied the RAM in Docker up to 12GB as previously mentioned, but this had no effect and the build failed at the same stage.

bmcollier avatar Mar 04 '24 18:03 bmcollier

I don't have easy access to MacOS to check this out but if you solve it I would like a PR that fixes it please.

jamesdbrock avatar Mar 04 '24 23:03 jamesdbrock