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
ghcup fails to install on FreeBSD-13.2 "Unable to find a download for the requested version/distro" #834
Comments
What version did you request? |
I used command: Was I supposed to include another argument in the above command? |
GHC has dropped explicit support for FreeBSD. New releases don't have upstream bindists. As such, I sometimes build GHC manually for FreeBSD, but that's cumbersome. 9.2.8 currently doesn't have a FreeBSD bindist and that's the version the script is trying to install. You can direct it to install 9.2.7 instead: curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_GHC_VERSION=9.2.7 sh Here's some info on FreeBSD revival: Feel free to contact @arrowd if you want to push for better support. |
Can I help somehow? I have FreeBSD 13.2 (both x64 and arm64) and reasonably good with computers. There are multiple unofficial bindists for FreeBSD but not 9.2.8 (shown by ghcup as "recommended") and not 9.6.2 ("latest"). I believe that all versions between are available. |
I have submitted 9.2.8 bindists yesterday: commercialhaskell/stackage-content@d9b4f54 |
Thank you!!!
…On Sun, Jun 4, 2023 at 5:02 AM Gleb Popov ***@***.***> wrote:
I have submitted 9.2.8 bindists yesterday:
***@***.***
<commercialhaskell/stackage-content@d9b4f54>
—
Reply to this email directly, view it on GitHub
<#834 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4A74PXPITG7OFBJFYK3TDXJRFKLANCNFSM6AAAAAAYVWG32Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well, ghcup doesn't use stacks metadata. |
Hardware: Lenovo Thinkpad Yoga
Operating System: FreeBSD-13.2-RELEASE
cat ~/.ghcup/logs/ghcup.log
Debug: Identified platform as: FreeBSD, 13.2-RELEASE
Debug: last access was 6.174976388s ago, cache interval is 300s
Debug: Decoding yaml at : /home/me/.ghcup/cache/ghcup-0.0.7.yaml
Error: [GHCup-00010] Unable to find a download for the requested version/distro.
Error: Also check the logs in /home/me/.hgcup/logs
The text was updated successfully, but these errors were encountered: