Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created January 28, 2011 03:54
Show Gist options
  • Select an option

  • Save dysinger/799804 to your computer and use it in GitHub Desktop.

Select an option

Save dysinger/799804 to your computer and use it in GitHub Desktop.
Preprocessing library protocol-buffers-1.8.0...
Building protocol-buffers-1.8.0...
Building library...
Creating dist/build (and its parents)
/usr/local/bin/ghc --make -package-name protocol-buffers-1.8.0 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/bu
ild -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id QuickCheck-2.4.0.1-670ab7c35d3b237d739766fb488ef1a0 -p
ackage-id array-0.3.0.2-197667a808e421fc275e1d8f73f58618 -package-id base-4.3.0.0-702a4cba9f5be374d98c732cbf7e06ce -package-id binary-0.5.0.2-0d1851b1cf205b1de896eeca09e4ea6a -pa
ckage-id bytestring-0.9.1.8-2e812324817b74c7c5038e2cb74d96a9 -package-id containers-0.4.0.0-5e5729c8cc8101038443c9bd0115af01 -package-id directory-1.1.0.0-c03411d7b6e216313c4f965
6140c6d68 -package-id filepath-1.2.0.0-c444fe7c2de423b3bc9e68ba4b824343 -package-id haskell-src-1.0.1.4-280fcdc9e1c889ff90eab90c1c1ba59f -package-id mtl-1.1.1.0-173eed88844582ce4
74284b1cfa1e3f0 -package-id parsec-2.1.0.1-8cf1730a357add17c736b1e051cf3ab0 -package-id syb-0.3-57a081b0f88d91b7658a8586fb725568 -package-id utf8-string-0.3.6-0297e00f7e96ce90aab
fa940706dd831 -O -Wall -O2 -XHaskell98 -XDeriveDataTypeable -XEmptyDataDecls -XFlexibleInstances -XGADTs -XGeneralizedNewtypeDeriving -XMagicHash -XPatternGuards -XRankNTypes -XS
copedTypeVariables -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleContexts -XFunctionalDependencies Text.ProtocolBuffers Text.ProtocolBuffers.Basic Text.ProtocolBuffers
.Default Text.ProtocolBuffers.Extensions Text.ProtocolBuffers.Get Text.ProtocolBuffers.Header Text.ProtocolBuffers.Mergeable Text.ProtocolBuffers.Reflections Text.ProtocolBuffers
.Unknown Text.ProtocolBuffers.WireMessage Text.ProtocolBuffers.Identifiers
[ 1 of 11] Compiling Text.ProtocolBuffers.Get ( Text/ProtocolBuffers/Get.hs, dist/build/Text/ProtocolBuffers/Get.o )
Text/ProtocolBuffers/Get.hs:304:15:
Couldn't match type `t' with `b2'
because this skolem type variable would escape: `b2'
This skolem is bound by
the polymorphic type
`forall b. Success b a -> S -> FrameStack b -> Result b'
The following variables have types that mention t
checkBool :: FrameStack t -> Bool
(bound at Text/ProtocolBuffers/Get.hs:319:12)
In the second argument of `($)', namely
`\ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn'
In the expression:
Get
$ \ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn
In an equation for `suspend':
suspend
In an equation for `suspend': [52/1896]
suspend
= Get
$ \ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn
where
appendBS (S ss bs n) bs' = S ss (mappend bs bs') n
addFuture bs (HandlerFrame catcher s future pc)
= HandlerFrame catcher s (future |> bs) (addFuture bs pc)
addFuture _bs x@(ErrorFrame {}) = x
checkBool (ErrorFrame _ b) = b
checkBool (HandlerFrame _ _ _ pc) = checkBool pc
rememberFalse (ErrorFrame ec _) = ErrorFrame ec False
rememberFalse (HandlerFrame catcher s future pc)
= HandlerFrame catcher s future (rememberFalse pc)
Text/ProtocolBuffers/Get.hs:304:15:
Couldn't match type `b' with `b2'
because this skolem type variable would escape: `b2'
This skolem is bound by
the polymorphic type
`forall b. Success b a -> S -> FrameStack b -> Result b'
The following variables have types that mention b
rememberFalse :: FrameStack b -> FrameStack b
(bound at Text/ProtocolBuffers/Get.hs:321:12)
In the second argument of `($)', namely
`\ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn'
In the expression:
Get
$ \ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn
In an equation for `suspend':
suspend
= Get
$ \ sc sIn pcIn
-> if checkBool pcIn then
let ... in Partial f
else
sc False sIn pcIn
where
appendBS (S ss bs n) bs' = S ss (mappend bs bs') n
addFuture bs (HandlerFrame catcher s future pc)
= HandlerFrame catcher s (future |> bs) (addFuture bs pc)
addFuture _bs x@(ErrorFrame {}) = x
checkBool (ErrorFrame _ b) = b
checkBool (HandlerFrame _ _ _ pc) = checkBool pc
rememberFalse (ErrorFrame ec _) = ErrorFrame ec False
rememberFalse (HandlerFrame catcher s future pc)
= HandlerFrame catcher s future (rememberFalse pc)
World file is already up to date.
cabal: Error: some packages failed to install:
protocol-buffers-1.8.0 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment