[Haskell-cafe] MissingH fails to compile

Peter Colberg peter at colberg.org
Tue Jan 21 01:54:13 UTC 2014


Dear Haskell developers,

I am trying to build a current version of git-annex, and stumble
over a compilation failure of one of its dependencies, MissingH.

I am using GHC 7.4.2 and Cabal 1.18.0.2, both bootstrapped on RHEL
5.x/6.x using a helper makefile [1] that has worked fine so far.

The command to install git-annex is

cabal install git-annex-5.20140108 --flags=-assistant --flags=-dbus --flags=-webapp --flags=-webdav --flags=-xmpp

The build log for MissingH-1.2.0.2 is attached.

I would be glad for any pointers on how to resolve this issue.

Thanks,
Peter

[1] http://git.colberg.org/packages/plain/packages.mk
-------------- next part --------------
Building MissingH-1.2.0.2...
Preprocessing library MissingH-1.2.0.2...
[ 1 of 47] Compiling System.Console.GetOpt.Utils ( src/System/Console/GetOpt/Utils.hs, dist/build/System/Console/GetOpt/Utils.o )
[ 2 of 47] Compiling System.Debian    ( src/System/Debian.hs, dist/build/System/Debian.o )

src/System/Debian.hs:31:1:
    Warning: Module `System.Cmd' is deprecated:
               Use "System.Process" instead
[ 3 of 47] Compiling System.IO.WindowsCompat ( src/System/IO/WindowsCompat.hs, dist/build/System/IO/WindowsCompat.o )
[ 4 of 47] Compiling System.Posix.Consts ( src/System/Posix/Consts.hs, dist/build/System/Posix/Consts.o )
[ 5 of 47] Compiling System.IO.StatCompat ( src/System/IO/StatCompat.hs, dist/build/System/IO/StatCompat.o )
[ 6 of 47] Compiling System.IO.PlafCompat ( src/System/IO/PlafCompat.hs, dist/build/System/IO/PlafCompat.o )
[ 7 of 47] Compiling Data.Compression.Inflate ( src/Data/Compression/Inflate.hs, dist/build/Data/Compression/Inflate.o )
[ 8 of 47] Compiling Data.Hash.MD5.Zord64_HARD ( src/Data/Hash/MD5/Zord64_HARD.lhs, dist/build/Data/Hash/MD5/Zord64_HARD.o )

src/Data/Hash/MD5/Zord64_HARD.lhs:17:12:
    Warning: No explicit method nor default method for `*'
    In the instance declaration for `Num Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:17:12:
    Warning: No explicit method nor default method for `abs'
    In the instance declaration for `Num Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:17:12:
    Warning: No explicit method nor default method for `signum'
    In the instance declaration for `Num Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:26:12:
    Warning: No explicit method nor default method for `xor'
    In the instance declaration for `Bits Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:26:12:
    Warning: No explicit method nor default method for `bitSize'
    In the instance declaration for `Bits Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:26:12:
    Warning: No explicit method nor default method for `isSigned'
    In the instance declaration for `Bits Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:43:12:
    Warning: No explicit method nor default method for `quotRem'
    In the instance declaration for `Integral Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:46:12:
    Warning: No explicit method nor default method for `toRational'
    In the instance declaration for `Real Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:47:12:
    Warning: No explicit method nor default method for `toEnum'
    In the instance declaration for `Enum Zord64'

src/Data/Hash/MD5/Zord64_HARD.lhs:47:12:
    Warning: No explicit method nor default method for `fromEnum'
    In the instance declaration for `Enum Zord64'
[ 9 of 47] Compiling Data.Hash.MD5    ( src/Data/Hash/MD5.lhs, dist/build/Data/Hash/MD5.o )

src/Data/Hash/MD5.lhs:114:12:
    Warning: No explicit method nor default method for `*'
    In the instance declaration for `Num ABCD'

src/Data/Hash/MD5.lhs:114:12:
    Warning: No explicit method nor default method for `abs'
    In the instance declaration for `Num ABCD'

src/Data/Hash/MD5.lhs:114:12:
    Warning: No explicit method nor default method for `signum'
    In the instance declaration for `Num ABCD'

src/Data/Hash/MD5.lhs:114:12:
    Warning: No explicit method nor default method for `fromInteger'
    In the instance declaration for `Num ABCD'
[10 of 47] Compiling Data.Hash.CRC32.GZip ( src/Data/Hash/CRC32/GZip.hs, dist/build/Data/Hash/CRC32/GZip.o )
[11 of 47] Compiling Data.Hash.CRC32.Posix ( src/Data/Hash/CRC32/Posix.hs, dist/build/Data/Hash/CRC32/Posix.o )
[12 of 47] Compiling Data.Bits.Utils  ( src/Data/Bits/Utils.hs, dist/build/Data/Bits/Utils.o )
[13 of 47] Compiling System.FileArchive.GZip ( src/System/FileArchive/GZip.hs, dist/build/System/FileArchive/GZip.o )
[14 of 47] Compiling Data.Tuple.Utils ( src/Data/Tuple/Utils.hs, dist/build/Data/Tuple/Utils.o )
[15 of 47] Compiling Data.Maybe.Utils ( src/Data/Maybe/Utils.hs, dist/build/Data/Maybe/Utils.o )
[16 of 47] Compiling Data.Either.Utils ( src/Data/Either/Utils.hs, dist/build/Data/Either/Utils.o )
[17 of 47] Compiling Network.Utils    ( src/Network/Utils.hs, dist/build/Network/Utils.o )
[18 of 47] Compiling Network.SocketServer ( src/Network/SocketServer.hs, dist/build/Network/SocketServer.o )
[19 of 47] Compiling System.Time.ParseDate ( src/System/Time/ParseDate.hs, dist/build/System/Time/ParseDate.o )
[20 of 47] Compiling System.Path.NameManip ( src/System/Path/NameManip.hs, dist/build/System/Path/NameManip.o )
[21 of 47] Compiling Data.Quantity    ( src/Data/Quantity.hs, dist/build/Data/Quantity.o )
[22 of 47] Compiling System.Time.Utils ( src/System/Time/Utils.hs, dist/build/System/Time/Utils.o )
[23 of 47] Compiling Data.Progress.Tracker ( src/Data/Progress/Tracker.hs, dist/build/Data/Progress/Tracker.o )
[24 of 47] Compiling Data.BinPacking  ( src/Data/BinPacking.hs, dist/build/Data/BinPacking.o )
[25 of 47] Compiling Data.CSV         ( src/Data/CSV.hs, dist/build/Data/CSV.o )
[26 of 47] Compiling System.Cmd.Utils ( src/System/Cmd/Utils.hs, dist/build/System/Cmd/Utils.o )

src/System/Cmd/Utils.hs:328:23:
    Constructor `Terminated' should have 2 arguments, but has been given 1
    In the pattern: Terminated sig
    In the pattern: Just (Terminated sig)
    In a case alternative:
        Just (Terminated sig)
          -> warnfail fp args $ "Terminated by signal " ++ show sig

src/System/Cmd/Utils.hs:354:13:
    Constructor `Terminated' should have 2 arguments, but has been given 1
    In the pattern: Terminated s
    In a case alternative:
        Terminated s -> cmdsignalled "safeSystem" command args s
    In a stmt of a 'do' block:
      case ec of {
        Exited ExitSuccess -> return ()
        Exited (ExitFailure fc) -> cmdfailed "safeSystem" command args fc
        Terminated s -> cmdsignalled "safeSystem" command args s
        Stopped s -> cmdsignalled "safeSystem" command args s }


More information about the Haskell-Cafe mailing list