[darcs-devel] [issue2642] compile version 2.14.2 with ghc 8.8

Ben Franksen bugs at darcs.net
Mon Apr 20 20:41:29 UTC 2020


Ben Franksen <ben.franksen at online.de> added the comment:

It looks as if I can provide a version that compiles with ghc versions
from 8.2 up to 8.8, but I can't seem to get things to build with ghc-8.0
any longer.

The problem is that even though I am using cabal-install-3.2, it seems
that with ghc-8.0 it internally switches to an old cabal file parser
that does not understand the autogen-modules keyword.

I have no idea why they did that.

The more so since compilation works just fine. After it has successfully
compiled everything it fails with

setup: Error: Could not find module: Version with any suffix:
["gc","chs","hsc","x","y","ly","cpphs","hs","lhs"]

I even found a correctly generated Version.hs:

ben at juliana[1]:.../darcs/branch-2.14>find dist-newstyle -name Version.hs
dist-newstyle/build/x86_64-linux/ghc-8.0.2/darcs-2.14.2/build/autogen/Version.hs

Any ideas anyone?

I have just filed a cabal issue:

https://github.com/haskell/cabal/issues/6722

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2642>
__________________________________


More information about the darcs-devel mailing list