Giter VIP home page Giter VIP logo

Comments (7)

AlistairB avatar AlistairB commented on July 17, 2024 2

Unfortunately this will need to be fixed upstream. The last stack release to include ARM64 binaries was 2.7.1 and they don't appear to work in debian buster.

The only work around for now is to use the ghcup unofficial binaries. You can install ghcup in a docker image and install stack this way. Unofficial binaries are not appropriate for official docker images though so can't take that approach here.

from docker-haskell.

vic1707 avatar vic1707 commented on July 17, 2024

Stack has had patchy support of arm64 in the past, but it is not officially supported.

The last released binary is for stack 2.7.1, however I get this failure on debian buster.

There are unofficial binaries that ghcup uses, but I don't think official images should include anything unofficial.

I have the same problem, did you find a workaround? Maybe another image that works with both ARM64 and AMD64?

from docker-haskell.

AlistairB avatar AlistairB commented on July 17, 2024

I think the only workaround currently is to use an image based on ghcup, as ghcup includes unofficial ARM64 binaries for stack that I assume work.

I have poked the stack folk about fixing ARM64 support and there was some interest, but no movement as of yet.

from docker-haskell.

sanderjo avatar sanderjo commented on July 17, 2024

Same here on my ARM / aarch64:

sander@nanopineo2:~$ docker run -it haskell:latest /bin/bash
root@04f4e5aea8f2:/# uname -a
Linux 04f4e5aea8f2 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 GNU/Linux
root@04f4e5aea8f2:/# stack
bash: stack: command not found
root@04f4e5aea8f2:/#

A solution would be nice.

from docker-haskell.

AlistairB avatar AlistairB commented on July 17, 2024

Stack is producing aarch64 binaries again, but they still do not work on debian buster.

from docker-haskell.

AlistairB avatar AlistairB commented on July 17, 2024

This has been resolved

from docker-haskell.

benz0li avatar benz0li commented on July 17, 2024

@AlistairB FYI commercialhaskell/stack#6142

from docker-haskell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.