haskell / happy

The Happy parser generator for Haskell
Other
291 stars 84 forks source link

haskell-src-exts: Name mismatch in signature and definition #252

Closed locallycompact closed 10 months ago

locallycompact commented 1 year ago

Hi. This is compiling the head of haskell-src-exts with the head of happy on the head of GHC master. Trying to triangulate the cause.

error: builder for '/nix/store/fmsnx28jx7qcnbrmhp5ar8b2h3zp182p-haskell-src-exts-1.23.1.drv' failed with exit code 1;
       last 10 log lines:
       > Using runghc version 9.7.20230327 found on system at:
       > /nix/store/5lvkwzy8w6qbw40si81g7pxpcng4z8sn-ghc-9.7.20230327/bin/runghc-9.7.20230327
       > Using strip version 2.40 found on system at:
       > /nix/store/h5003wsy3qqimqvrkn3bc5mwq4hhidag-gcc-wrapper-12.2.0/bin/strip
       > Using tar found on system at:
       > /nix/store/sdcicnwqb4ziv66nhkklsc06vkwb3vxs-gnutar-1.34/bin/tar
       > No uhc found
       > building
       > Preprocessing library for haskell-src-exts-1.23.1..
       > src/Language/Haskell/Exts/InternalParser.ly:2213: Name mismatch in signature and definition
       For full logs, run 'nix log /nix/store/fmsnx28jx7qcnbrmhp5ar8b2h3zp182p-haskell-src-exts-1.23.1.drv'.

https://gitlab.horizon-haskell.net/package-sets/horizon-core/-/jobs/204608

https://github.com/haskell-suite/haskell-src-exts/issues/467

andreasabel commented 1 year ago

@locallycompact : Happy has gone through a major refactoring on master which hasn't been released yet. Based on that, I wouldn't exclude the possibility that the problem is with Happy. Can you test whether the problem also occurs with GHC 9.6 (so to reduce the three-body problem to a two-body problem)?

andreasabel commented 10 months ago

Stale issue.