Skip to content
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

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

Closed
locallycompact opened this issue Apr 2, 2023 · 2 comments
Closed

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

locallycompact opened this issue Apr 2, 2023 · 2 comments
Labels
info needed More information needed from the reporter

Comments

@locallycompact
Copy link

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

haskell-suite/haskell-src-exts#467

@andreasabel
Copy link
Member

@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 andreasabel added the info needed More information needed from the reporter label Jul 3, 2023
@andreasabel
Copy link
Member

Stale issue.

@andreasabel andreasabel closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info needed More information needed from the reporter
Projects
None yet
Development

No branches or pull requests

2 participants