<div dir="ltr">The package bloomfilter failed to compile because it isn't compatible with GHC 7.10. You can either `cabal get' the package and patch it locally or downgrade to GHC 7.8. <div><br></div><div>Either way it would be a good idea to send a pull request or file an issue on the package's bugtracker, you can find it here: <a href="http://hackage.haskell.org/package/bloomfilter">http://hackage.haskell.org/package/bloomfilter</a><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 26, 2015 at 3:00 PM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Now, I get this. What should I do next to fix it?<br>
<span class=""><br>
~$ cabal install git-annex<br>
Resolving dependencies...<br>
</span>Configuring HUnit-1.2.5.2...<br>
Configuring bloomfilter-2.0.0.0...<br>
Configuring IfElse-0.85...<br>
Configuring SHA-1.6.4.2...<br>
Building IfElse-0.85...<br>
Building HUnit-1.2.5.2...<br>
Building bloomfilter-2.0.0.0...<br>
Building SHA-1.6.4.2...<br>
Configuring dataenc-0.12...<br>
<div><div class="h5">Failed to install bloomfilter-2.0.0.0<br>
Build log ( /Users/py/.cabal/logs/bloomfilter-2.0.0.0.log ):<br>
Configuring bloomfilter-2.0.0.0...<br>
Building bloomfilter-2.0.0.0...<br>
Preprocessing library bloomfilter-2.0.0.0...<br>
[1 of 7] Compiling Data.BloomFilter.Array ( Data/BloomFilter/Array.hs,<br>
dist/build/Data/BloomFilter/Array.o )<br>
[2 of 7] Compiling Data.BloomFilter.Mutable.Internal (<br>
Data/BloomFilter/Mutable/Internal.hs,<br>
dist/build/Data/BloomFilter/Mutable/Internal.o )<br>
[3 of 7] Compiling Data.BloomFilter.Util ( Data/BloomFilter/Util.hs,<br>
dist/build/Data/BloomFilter/Util.o )<br>
[4 of 7] Compiling Data.BloomFilter.Mutable (<br>
Data/BloomFilter/Mutable.hs, dist/build/Data/BloomFilter/Mutable.o )<br>
<br>
Data/BloomFilter/Mutable.hs:136:9:<br>
Non type-variable argument<br>
in the constraint: Data.Array.Base.MArray<br>
(Data.Array.Base.STUArray s) Hash m<br>
(Use FlexibleContexts to permit this)<br>
When checking that ‘loop’ has the inferred type<br>
loop :: forall (m :: * -> *).<br>
Data.Array.Base.MArray (Data.Array.Base.STUArray s) Hash m =><br>
[Int :* Int] -> m Bool<br>
In an equation for ‘elem’:<br>
elem elt mb<br>
= loop (hashesM mb elt)<br>
where<br>
mu = bitArray mb<br>
loop ((word :* bit) : wbs)<br>
= do { i <- unsafeRead mu word;<br>
.... }<br>
loop _ = return True<br>
</div></div>Configuring extensible-exceptions-0.1.1.4...<br>
Installed IfElse-0.85<br>
Building dataenc-0.12...<br>
Building extensible-exceptions-0.1.1.4...<br>
Configuring hslogger-1.2.8...<br>
Installed extensible-exceptions-0.1.1.4<br>
Building hslogger-1.2.8...<br>
Configuring hxt-charproperties-9.2.0.1...<br>
Installed HUnit-1.2.5.2<br>
Building hxt-charproperties-9.2.0.1...<br>
Configuring pcre-light-0.4.0.3...<br>
Installed dataenc-0.12<br>
Building pcre-light-0.4.0.3...<br>
Configuring primitive-0.6...<br>
Installed hslogger-1.2.8<br>
Building primitive-0.6...<br>
Configuring regex-base-0.93.2...<br>
Installed pcre-light-0.4.0.3<br>
Building regex-base-0.93.2...<br>
Configuring syb-0.4.4...<br>
Installed primitive-0.6<br>
Downloading tf-random-0.5...<br>
Building syb-0.4.4...<br>
Configuring transformers-compat-0.4.0.4...<br>
Installed regex-base-0.93.2<br>
Downloading regex-posix-0.95.2...<br>
Building transformers-compat-0.4.0.4...<br>
Configuring utf8-string-1...<br>
Installed transformers-compat-0.4.0.4<br>
Downloading transformers-base-0.4.4...<br>
Building utf8-string-1...<br>
Configuring tf-random-0.5...<br>
Installed hxt-charproperties-9.2.0.1<br>
Downloading hxt-unicode-9.0.2.4...<br>
Downloading hxt-regex-xmlschema-9.2.0.2...<br>
Building tf-random-0.5...<br>
Configuring regex-posix-0.95.2...<br>
Installed syb-0.4.4<br>
Downloading json-0.9.1...<br>
Building regex-posix-0.95.2...<br>
Configuring transformers-base-0.4.4...<br>
Installed utf8-string-1<br>
Installed tf-random-0.5<br>
Downloading QuickCheck-2.8.1...<br>
Configuring hxt-unicode-9.0.2.4...<br>
Building transformers-base-0.4.4...<br>
Building hxt-unicode-9.0.2.4...<br>
Configuring hxt-regex-xmlschema-9.2.0.2...<br>
Installed transformers-base-0.4.4<br>
Downloading monad-control-1.0.0.4...<br>
Building hxt-regex-xmlschema-9.2.0.2...<br>
Configuring json-0.9.1...<br>
Installed regex-posix-0.95.2<br>
Downloading regex-compat-0.95.1...<br>
Building json-0.9.1...<br>
Installed hxt-unicode-9.0.2.4<br>
Configuring QuickCheck-2.8.1...<br>
Building QuickCheck-2.8.1...<br>
Configuring monad-control-1.0.0.4...<br>
Installed hxt-regex-xmlschema-9.2.0.2<br>
Downloading hxt-9.3.1.15...<br>
Building monad-control-1.0.0.4...<br>
Configuring regex-compat-0.95.1...<br>
Installed monad-control-1.0.0.4<br>
Downloading lifted-base-0.2.3.6...<br>
Installed json-0.9.1<br>
Configuring hxt-9.3.1.15...<br>
Building regex-compat-0.95.1...<br>
Building hxt-9.3.1.15...<br>
Configuring lifted-base-0.2.3.6...<br>
Installed regex-compat-0.95.1<br>
Downloading MissingH-1.3.0.1...<br>
Building lifted-base-0.2.3.6...<br>
Installed lifted-base-0.2.3.6<br>
Configuring MissingH-1.3.0.1...<br>
Building MissingH-1.3.0.1...<br>
Installed QuickCheck-2.8.1<br>
Downloading Crypto-4.2.5.1...<br>
Configuring Crypto-4.2.5.1...<br>
Building Crypto-4.2.5.1...<br>
Installed MissingH-1.3.0.1<br>
Installed SHA-1.6.4.2<br>
Installed Crypto-4.2.5.1<br>
Installed hxt-9.3.1.15<br>
Downloading hS3-0.5.9...<br>
Configuring hS3-0.5.9...<br>
Building hS3-0.5.9...<br>
Installed hS3-0.5.9<br>
Updating documentation index<br>
/Users/py/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.1/index.html<br>
<span class="">cabal: Error: some packages failed to install:<br>
</span><span class="">bloomfilter-2.0.0.0 failed during the building phase. The exception was:<br>
ExitFailure 1<br>
</span>git-annex-3.20120406 depends on bloomfilter-2.0.0.0 which failed to install.<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Apr 25, 2015 at 11:42 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br>
> On Sun, Apr 26, 2015 at 12:34 AM, Peng Yu <<a href="mailto:pengyu.ut@gmail.com">pengyu.ut@gmail.com</a>> wrote:<br>
>><br>
>> I have the following disabled.<br>
>> ~/.cabal$ grep prof config<br>
>> -- line to your ~/.bash_profile:<br>
>> -- library-profiling: True<br>
>> -- executable-profiling: False<br>
><br>
><br>
> That's showing the defaults, commented out because that's what they do<br>
> unless told otherwise. You need to uncomment library-profiling and change it<br>
> to False.<br>
><br>
> --<br>
> brandon s allbery kf8nh sine nomine associates<br>
> <a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net">ballbery@sinenomine.net</a><br>
> unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a><br>
<br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
Regards,<br>
Peng<br>
_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
</div></div></blockquote></div><br></div>