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

stack-setup-2.yaml not complete for Debian 10/AArch64 GHC builds? #115

Closed
mpilgrem opened this issue Sep 8, 2022 · 0 comments
Closed

stack-setup-2.yaml not complete for Debian 10/AArch64 GHC builds? #115

mpilgrem opened this issue Sep 8, 2022 · 0 comments

Comments

@mpilgrem
Copy link
Member

mpilgrem commented Sep 8, 2022

The only current Linux AArch64 OS key in stack-setup-2.yaml is linux-aarch64. It covers from GHC 8.2.1 to 9.4.2. Up to GHC 8.6.2, that was a deb8 ('Jessie') bindist and up to GHC 8.10.1 that was a deb9 ('Stretch') bindist . Since GHC 8.10.2 (with the exception of GHC 9.0.1) that has been a deb10 ('Buster') bindist.

Stack assumes a -tinfo6 GHC variant if it detects libtinfo.so.6 and libgmp.so.10. It assumes a Standard variant if it detects libtinfo.so.5 and libgmp.so.10.

Debian Stretch did not come with package libtinfo6.

Debian Buster comes with packages libtinfo5, libtinfo6 and libgmp10 (see https://packages.debian.org/buster/libs/).

Debian Bullseye (Debian 11) comes with packages libtinfo6 and libgmp10 (see https://packages.debian.org/bullseye/libs/).

A user of a Raspberry Pi 4, with Raspberry Pi OS (based on Debian Bullseye), received a message that linux-aarch64-tinfo6 was needed but not found. That appears to me because Raspberry Pi OS has also dropped libtinfo5 (see https://www.raspberryconnect.com/raspbian-packages/78-raspbian-libs). See commercialhaskell/stack#5709 (comment)

I think the solution is to create a linux-aarch64-tinfo6 key that replicates linux-aarch64 for the deb10 builds. That worked for the Pi 4 user.

mpilgrem added a commit that referenced this issue Sep 16, 2022
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

1 participant