Summary: | devel/hs-spago fails to test/run/build project | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Michael V <m.viey> |
Component: | Individual Port(s) | Assignee: | freebsd-haskell (Nobody) <haskell> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | arrowd |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(haskell) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Michael V
2023-06-18 11:07:29 UTC
it seems the version used in port are under the one upstream. (0.20.9 on FreeBSD and 0.21.0 upstream). Is there any specific reason for that ? I am trying to build it from source right now. Looks like an upstream issue: https://github.com/purescript/spago/issues/957 Yes . There is this one too : https://github.com/purescript/spago/issues/894#issuecomment-1352511897 I don't know to deal with this. I tried to build from source but I thin I need all haskell stack but I am using Haskell with ghcup in userland and I get error on make install. I have tried from linux and it works. So I think to something related to FreeBSD maybe in git or haskell stack. I don't know. Spago is undergoing a complete rewrite in Purescript, so I doubt this issue will be looked at. IT is likely that the Purescript version from the master branch doesn't have the problem. Well, I don't know... I would just try it...
> IT is likely that the Purescript version from the master branch doesn't have the problem.
I am not sure to get this. What do you mean ?
I tried to build it from source without succeed. ``` $ make install Error: [S-9443] No setup information found for ghc-9.2.4 on your platform. This probably means a GHC bindist has not yet been added for OS key 'freebsd64-ino64'. Supported versions: ghc-8.4.3, ghc-8.4.4, ghc-8.6.2, ghc-8.6.3, ghc-8.6.4, ghc-8.6.5, ghc-8.8.1, ghc-8.8.2, ghc-8.8.3, ghc-8.8.4, ghc-8.10.3, ghc-8.10.4, ghc-8.10.6, ghc-8.10.7, ghc-9.0.2, ghc-9.2.5, ghc-9.2.6, ghc-9.2.7, ghc-9.2.8, ghc-9.4.5 *** Error code 1 Stop. make: stopped in /usr/home/mik/Dev/purescript/spago-0.21.0 ``` (In reply to Michael V from comment #7) The 0.21 release is still a Haskell one and most likely still contains a bug. You can hack stack.yaml file and use lts-20.25 as resolver. This should make it build fine. thank you I can launch the build changing the resolver. |