snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 39 forks source link

warnings coming from library's `.cabal` #590

Closed izgzhen closed 6 years ago

izgzhen commented 6 years ago
Warning: libraries/text/text.cabal:4:1: The field "bug-reports" is specified
more than once at positions 4:1, 42:1
Warning: libraries/haskeline/haskeline.cabal:4:1: The field "category" is
specified more than once at positions 4:1, 10:1
Warning: utils/hpc/hpc-bin.cabal:11:2: Tabs used as indentation at 11:2
Warning: libraries/text/text.cabal:4:1: The field "bug-reports" is specified
more than once at positions 4:1, 42:1
snowleopard commented 6 years ago

@izgzhen This doesn't seem to be a Hadrian bug -- this should be fixed in GHC by changing incorrect Cabal files of these libraries. So, I'm closing this.

alpmestan commented 6 years ago

Indeed, it's the Cabal library (which we use directly now, instead of ghc-cabal) that emits those, we don't really have a handle on them.