Closed bfrk closed 11 months ago
dist/build/Data/Attoparsec/Internal/Types.o
suggests cabal v1-build
, which is outdated and out of support. Could you possibly try with cabal v2-build
?
Thanks. This is very strange. I haven't used cabal v1-build
in ages (always using plain cabal build
) and I am pretty sure I didn't when I got this error. I can no longer reproduce the problem, so might as well close it.
Contrary to what I said in my previous message the problem persists and is reproducible on Debian bullseye with the ghc (8.8.4) and cabal (3.0.0.0 compiled using version 3.0.1.0 of the Cabal library) from the distro packages. It works fine with a newer version of cabal (3.8, installed via ghcup) so I guess this is a bug in the old version of cabal from the distro, rather than attoparsec.
This occurred when building the head of darcs on Debian bullseye. (We had attoparsec < 0.15 in our darcs.cabal. With < 0.14.4 it works flawlessly.)
Here is the build output: