Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'make build' fails with exit code 137 #28

Open
bmcollier opened this issue Mar 4, 2024 · 1 comment
Open

'make build' fails with exit code 137 #28

bmcollier opened this issue Mar 4, 2024 · 1 comment

Comments

@bmcollier
Copy link

bmcollier commented Mar 4, 2024

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 bmcollier changed the title 'make build' fails with error 137 'make build' fails with exit code 137 Mar 4, 2024
@jamesdbrock
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants