I'm running into some compile errors while trying prepare the haskell-docs package for Debian.
Preprocessing library haskell-docs-4.2.2...
[1 of 7] Compiling Haskell.Docs.Types ( src/Haskell/Docs/Types.hs, dist-ghc/build/Haskell/Docs/Types.o )
[2 of 7] Compiling Haskell.Docs.Ghc ( src/Haskell/Docs/Ghc.hs, dist-ghc/build/Haskell/Docs/Ghc.o )
[3 of 7] Compiling Haskell.Docs.Cabal ( src/Haskell/Docs/Cabal.hs, dist-ghc/build/Haskell/Docs/Cabal.o )
src/Haskell/Docs/Cabal.hs:59:21:
Ambiguous occurrence `InstalledPackageInfo_'
It could refer to either `Distribution.InstalledPackageInfo.InstalledPackageInfo_',
imported from `Distribution.InstalledPackageInfo' at src/Haskell/Docs/Cabal.hs:12:1-40
or `PackageConfig.InstalledPackageInfo_',
imported from `PackageConfig' at src/Haskell/Docs/Cabal.hs:20:1-20
(and originally defined in `Cabal-1.16.0:Distribution.InstalledPackageInfo')
src/Haskell/Docs/Cabal.hs:59:48:
Ambiguous occurrence `InstalledPackageInfo_'
It could refer to either `Distribution.InstalledPackageInfo.InstalledPackageInfo_',
imported from `Distribution.InstalledPackageInfo' at src/Haskell/Docs/Cabal.hs:12:1-40
or `PackageConfig.InstalledPackageInfo_',
imported from `PackageConfig' at src/Haskell/Docs/Cabal.hs:20:1-20
(and originally defined in `Cabal-1.16.0:Distribution.InstalledPackageInfo')
src/Haskell/Docs/Cabal.hs:60:11:
Ambiguous occurrence `InstalledPackageInfo'
It could refer to either `Distribution.InstalledPackageInfo.InstalledPackageInfo',
imported from `Distribution.InstalledPackageInfo' at src/Haskell/Docs/Cabal.hs:12:1-40
or `PackageConfig.InstalledPackageInfo',
imported from `PackageConfig' at src/Haskell/Docs/Cabal.hs:20:1-20
(and originally defined in `Cabal-1.16.0:Distribution.InstalledPackageInfo')
src/Haskell/Docs/Cabal.hs:61:7:
Ambiguous occurrence `exposedModules'
It could refer to either `Distribution.InstalledPackageInfo.exposedModules',
imported from `Distribution.InstalledPackageInfo' at src/Haskell/Docs/Cabal.hs:12:1-40
or `PackageConfig.exposedModules',
imported from `PackageConfig' at src/Haskell/Docs/Cabal.hs:20:1-20
(and originally defined in `Cabal-1.16.0:Distribution.InstalledPackageInfo')
src/Haskell/Docs/Cabal.hs:62:7:
Ambiguous occurrence `hiddenModules'
It could refer to either `Distribution.InstalledPackageInfo.hiddenModules',
imported from `Distribution.InstalledPackageInfo' at src/Haskell/Docs/Cabal.hs:12:1-40
or `PackageConfig.hiddenModules',
imported from `PackageConfig' at src/Haskell/Docs/Cabal.hs:20:1-20
(and originally defined in `Cabal-1.16.0:Distribution.InstalledPackageInfo')
/usr/share/cdbs/1/class/hlibrary.mk:120: recipe for target 'build-ghc-stamp' failed
make: *** [build-ghc-stamp] Error 1
I tried a few quick hacks with no luck. It could be our version of cabal. I'd be happy to patch this but a hint would really help.
I'm running into some compile errors while trying prepare the haskell-docs package for Debian.
I tried a few quick hacks with no luck. It could be our version of cabal. I'd be happy to patch this but a hint would really help.