Closed noughtmare closed 1 week ago
@FPtje does the latest version work properly for you?
Actually, it seems uuagc-0.9.56
might be the culprit, I'll try older versions.
Edit: 0.9.55 also seems to get stuck.
OK, this is super weird. If I compile uuagc
with GHC 9.8.2 then it gets stuck, but if I compile it with GHC 8.10.7 then it works fine. Is this a GHC bug?
The latest version did work well with me on GHC 9.6.
Would it be possible to enable some verbose mode? That might give some more hints as to what is going on.
I haven't tried to build any UUAGC stuff with 9.8. If that doesn't work yet, 9.6 should be the latest version that works.
Indeed, 9.6 also works for me. I see there is a --verbose
flag for uuagc
, but that does not seem to do anything in this case and the description makes it seem that it only affects error messages it prints.
I can indeed reproduce this when compiling uuagc
with GHC 9.8. I looked into this a bit, I have not traced the full bug yet, but I am quite certain that it is the call to parse
, from uulib which hangs. So, I suspect that the parsing library does something lazy which has become slightly stricter in GHC 9.8....
Yep, this is actually a uulib
issue: https://github.com/UU-ComputerScience/uulib/issues/11
The release of https://hackage.haskell.org/package/uulib-0.9.25 should have fixed this, could you confirm? I did not update version bounds on uuagc
, but you could of course in the project itself make sure that the newest uulib
is used.
Yes, it works now!
Whenever I try to compile my packages they get stuck at configuring.
To reproduce:
git clone https://github.com/noughtmare/uuagc-constant-folding.git
cd uuagc-constant-folding
cabal build --allow-newer
Configuring uuagc-constant-folding-0.1.0.0...
The same happens for my other example: ag-generalized-traversals