Publish gf-3.10.4 on Hackage
brown131 opened this issue · 9 comments
The current version on Hackage does not build with ghc 8.6.5
Thanks for the report @brown131 ! We should get around to making a new release --- meanwhile, does it work for you to compile from source?
I upgraded to fedora 33 this week and similar issue (ghc 8.8.4-107.fc33).
- From Hackage, it does not build
[__1] rejecting: gf:setup.Cabal-3.0.1.0/installed-3.0... (conflict: gf =>
gf:setup.Cabal>=1.22.0.0 && <2.4)
and - I get the following error when building from source - not sure if separate issue, or related:
/tmp/cabal-install.-45047/dist-newstyle/tmp/src-45047/gf-3.10.4/dist/setup/setup.hs:9:1:
error:
Could not find module ‘WebSetup’
Use -v (or:set -v
in ghci) to see a list of the files searched for.
|
9 | import WebSetup
| ^^^^^^^^^^^^^^^
)
@bjaloka Does it work if you use stack? If you don't have it already, download in this link, and then just type stack install
where you previously used cabal install
.
It does work if I compile it from source locally (using stack).
@brown131 Okay, great! We have had plans for a new release and updating Hackage, but things are moving a bit slowly at the moment. Thanks for your patience!
As much as I agree with creating a new GF release, pushing existing versions to Hackage shouldn't be a big deal.
The first hurdle is that the previous package maintainer @Thomas-H is no longer actively working with GF, so we need to make sure that someone who still is active is made maintainer of the Hackage package, or at least has permission to update. I don't know how to check this, hopefully Thomas will see this comment and reply (if not I'll ask directly).
Secondly it would be good if the steps for uploading to Hackage were made explicit in some README. I did something similar for the PGF2 package.
Krasimir is also on the list of maintainers of GF on hackage. http://hackage.haskell.org/package/gf/maintainers/
Thank you Thomas! 🙏
That is exactly the URL I wanted but it's not linked to from the package description page.
@bjaloka Does it work if you use stack? If you don't have it already, download in this link, and then just type
stack install
where you previously usedcabal install
.
@inariksit Thanks - stack install
worked.