[Pkg-ganeti-devel] Bug#571173: Bug#571173: FTBFS: The import of `Data.Ord' is redundant

Iustin Pop iustin at google.com
Wed Feb 24 10:20:00 UTC 2010


On Wed, Feb 24, 2010 at 12:55:01AM +0100, Cyril Brulebois wrote:
> Source: ganeti-htools
> Version: 0.2.2-1
> Severity: important
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
> 
> Hi,
> 
> your package FTBFS on kfreebsd-amd64 (and apparently on alpha for the
> same reason) this way:
> | ghc --make -O2 -Wall -Werror -fwarn-monomorphism-restriction -fwarn-tabs  hbal
> | [ 1 of 19] Compiling Ganeti.HTools.Version ( Ganeti/HTools/Version.hs, Ganeti/HTools/Version.o )
> | [ 2 of 19] Compiling Ganeti.Jobs      ( Ganeti/Jobs.hs, Ganeti/Jobs.o )
> | [ 3 of 19] Compiling Ganeti.HTools.Types ( Ganeti/HTools/Types.hs, Ganeti/HTools/Types.o )
> | [ 4 of 19] Compiling Ganeti.HTools.PeerMap ( Ganeti/HTools/PeerMap.hs, Ganeti/HTools/PeerMap.o )
> | 
> | Ganeti/HTools/PeerMap.hs:46:0:
> |     Warning: The import of `Data.Ord' is redundant
> |                except perhaps to import instances from `Data.Ord'
> |              To import instances alone, use: import Data.Ord()
> | 
> | <no location info>: 
> | Failing due to -Werror.
> | 
> | make[1]: *** [hbal] Error 1

Yeah, I know, and started working on it. GHC 6.12 is at fault. Needs a
couple of patches that'll be applied upstream too.

Unfortunately my main workstation failed so it'll still be a couple of
days until I can fix this.

thanks for the report,
iustin





More information about the Pkg-ganeti-devel mailing list