[Pkg-haskell-maintainers] Bug#761542: haskell-dav: FTBFS: Couldn't match expected type
David Suárez
david.sephirot at gmail.com
Sun Sep 14 15:24:23 UTC 2014
Source: haskell-dav
Version: 1.0.1-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140913 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Network/Protocol/HTTP/DAV.hs:95:10: Warning:
> Orphan instance: instance MonadMask m => MonadMask (EitherT e m)
> [3 of 4] Compiling Paths_DAV ( dist-ghc/build/autogen/Paths_DAV.hs, dist-ghc/build/hdav/hdav-tmp/Paths_DAV.o )
> [4 of 4] Compiling Main ( hdav.hs, dist-ghc/build/hdav/hdav-tmp/Main.o )
>
> hdav.hs:177:68:
> Couldn't match expected type `Parser Depth'
> with actual type `Options.Applicative.Builder.Internal.Mod
> Options.Applicative.Builder.Internal.OptionFields a0
> -> Parser a0'
> In the return type of a call of `option'
> Probable cause: `option' is applied to too few arguments
> In the second argument of `($)', namely
> `option (long "depth" <> metavar "DEPTH" <> help "depth")'
> In the second argument of `(<*>)', namely
> `(optional
> $ option (long "depth" <> metavar "DEPTH" <> help "depth"))'
>
> hdav.hs:177:77:
> Couldn't match expected type `String
> -> Options.Applicative.Types.ReadM a0'
> with actual type `Options.Applicative.Builder.Internal.Mod f0 a1'
> In the return type of a call of `long'
> Probable cause: `long' is applied to too many arguments
> In the first argument of `(<>)', namely `long "depth"'
> In the first argument of `option', namely
> `(long "depth" <> metavar "DEPTH" <> help "depth")'
>
> hdav.hs:177:93:
> Couldn't match expected type `String
> -> Options.Applicative.Types.ReadM a0'
> with actual type `Options.Applicative.Builder.Internal.Mod f1 a2'
> In the return type of a call of `metavar'
> Probable cause: `metavar' is applied to too many arguments
> In the first argument of `(<>)', namely `metavar "DEPTH"'
> In the second argument of `(<>)', namely
> `metavar "DEPTH" <> help "depth"'
>
> hdav.hs:177:112:
> Couldn't match expected type `String
> -> Options.Applicative.Types.ReadM a0'
> with actual type `Options.Applicative.Builder.Internal.Mod f2 a3'
> In the return type of a call of `help'
> Probable cause: `help' is applied to too many arguments
> In the second argument of `(<>)', namely `help "depth"'
> In the second argument of `(<>)', namely
> `metavar "DEPTH" <> help "depth"'
> make: *** [build-ghc-stamp] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/09/13/haskell-dav_1.0.1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-haskell-maintainers
mailing list