Thanks Alexander.. Here's the shocker: I just checked that page again (<a href="http://hackage.haskell.org/package/sbv">http://hackage.haskell.org/package/sbv</a>) and now it's mysteriously fine! Hackage must've recompiled the package somehow. Someone watching this thread must've fixed something on the server and triggered a new compile.<div>
<br></div><div>While I'm happy the problem is now gone, the mystery behind the hackage recompile remains.. Maybe someone can shed some light on how hackage goes about managing the uploads.</div><div><br></div><div>-Levent.<br>
<div><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 9:43 AM, Alexander Foremny <span dir="ltr"><<a href="mailto:alexanderforemny@gmail.com" target="_blank">alexanderforemny@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Levent,<br>
<br>
unfortunately I am at a loss here. As far as I understand it this<br>
should be fixed in QuickCheck's .cabal file or on Hackage. But I am<br>
not experienced enough to decide.<br>
<br>
You best wait for someone else to comment on this. Depending on<br>
template-haskell in your .cabal file is not the way to go as far as I<br>
understand it. But maybe it's a possible work-around in case you<br>
depend on the package being available on Hackage timely.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Alexander Foremny<br>
<br>
2012/7/17 Levent Erkok <<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>>:<br>
> It builds fine locally on my box; but not on hackage. Here's the page:<br>
> <a href="http://hackage.haskell.org/package/sbv-2.2" target="_blank">http://hackage.haskell.org/package/sbv-2.2</a><br>
><br>
> Thanks for looking into this Alexander, I appreciate your help.<br>
><br>
> -Levent.<br>
><br>
><br>
> On Tue, Jul 17, 2012 at 9:09 AM, Alexander Foremny<br>
> <<a href="mailto:alexanderforemny@gmail.com">alexanderforemny@gmail.com</a>> wrote:<br>
>><br>
>> Which package are you trying to build? Is it a local package that<br>
>> fails to build or something on Hackage? Its .cabal file or at least<br>
>> full dependencies would be of interest.<br>
>><br>
>> Regards,<br>
>> Alexander Foremny<br>
>><br>
>> 2012/7/17 Levent Erkok <<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>>:<br>
>> > Thanks Alexander. However, I'm not sure how to use the workaround<br>
>> > described<br>
>> > so I can get hackage to properly compile my package. It sounds like I<br>
>> > have<br>
>> > to add a "template-haskell >= 2.7.0.0" dependency to my own cabal file,<br>
>> > which sounds like the wrong thing to do in the long-run.<br>
>> ><br>
>> > Is there something that can be done on the hackage/ghc side to avoid<br>
>> > this<br>
>> > issue? Or something less drastic than adding a template-haskell<br>
>> > dependency<br>
>> > on my own package's cabal file?<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > -Levent.<br>
>> ><br>
>> ><br>
>> > On Tue, Jul 17, 2012 at 7:31 AM, Alexander Foremny<br>
>> > <<a href="mailto:alexanderforemny@gmail.com">alexanderforemny@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Dear Levent,<br>
>> >><br>
>> >> I think this [1] could be related.<br>
>> >><br>
>> >> Regards,<br>
>> >> Alexander Foremny<br>
>> >><br>
>> >> PS. Sent this to Levent directly. Here's a copy for the mailing list.<br>
>> >> Sorry for the noise.<br>
>> >><br>
>> >> [1]<br>
>> >><br>
>> >> <a href="http://haskell.1045720.n5.nabble.com/Bad-interface-problem-td5714184.html" target="_blank">http://haskell.1045720.n5.nabble.com/Bad-interface-problem-td5714184.html</a><br>
>> >><br>
>> >> ---------- Forwarded message ----------<br>
>> >> From: Alexander Foremny <<a href="mailto:alexanderforemny@gmail.com">alexanderforemny@gmail.com</a>><br>
>> >> Date: 2012/7/17<br>
>> >> Subject: Re: [Haskell-cafe] hackage compile failure with QuickCheck 2.5<br>
>> >> To: Levent Erkok <<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>><br>
>> >><br>
>> >><br>
>> >> Dear Levent,<br>
>> >><br>
>> >> I think this [1] could be related.<br>
>> >><br>
>> >> Regards,<br>
>> >> Alexander Foremny<br>
>> >><br>
>> >> [1]<br>
>> >><br>
>> >> <a href="http://haskell.1045720.n5.nabble.com/Bad-interface-problem-td5714184.html" target="_blank">http://haskell.1045720.n5.nabble.com/Bad-interface-problem-td5714184.html</a><br>
>> >><br>
>> >> 2012/7/17 Levent Erkok <<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>>:<br>
>> >> > [This message is more appropriate for a hackage mailing list I<br>
>> >> > presume,<br>
>> >> > but<br>
>> >> > that doesn't seem to exist. Let me know if there's a better place to<br>
>> >> > send<br>
>> >> > it.]<br>
>> >> ><br>
>> >> > I'm having a hackage compile failure for a newly uplodaded package<br>
>> >> > that<br>
>> >> > has<br>
>> >> > a QuickCheck 2.5 dependence. The error message is:<br>
>> >> ><br>
>> >> > [13 of 13] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs,<br>
>> >> > dist/build/Test/QuickCheck/All.o )<br>
>> >> ><br>
>> >> > Test/QuickCheck/All.hs:15:1:<br>
>> >> > Bad interface file:<br>
>> >> ><br>
>> >> ><br>
>> >> > /usr/local/tmp/archive/install/lib/template-haskell-2.6.0.0/ghc-7.4.1/Language/Haskell/TH.hi<br>
>> >> > Something is amiss; requested module<br>
>> >> > template-haskell-2.6.0.0:<a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a> differs from name found<br>
>> >> > in<br>
>> >> > the<br>
>> >> > interface file template-haskell:<a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a><br>
>> >> ><br>
>> >> ><br>
>> >> > The full log file is at (search for "Something is a miss" in it):<br>
>> >> ><br>
>> >> > <a href="http://hackage.haskell.org/packages/archive/sbv/2.2/logs/failure/ghc-7.4" target="_blank">http://hackage.haskell.org/packages/archive/sbv/2.2/logs/failure/ghc-7.4</a><br>
>> >> ><br>
>> >> > Needless to say, I don't see this problem when I compile this package<br>
>> >> > at<br>
>> >> > home with the same compiler (ghc 7.4.1) as hackage is using; also<br>
>> >> > Hackage<br>
>> >> > has a successfully compiled QuickCheck 2.5 package.<br>
>> >> ><br>
>> >> > Could it be something related to the particular cabal/ghc<br>
>> >> > installation<br>
>> >> > on<br>
>> >> > the hackage server? In particular, I don't understand why it picks<br>
>> >> > template-haskell 2.6.0.0 when there's a newer version (2.7.0.0). As<br>
>> >> > far<br>
>> >> > as I<br>
>> >> > can see, QuickCheck doesn't put an upper limit on its template<br>
>> >> > haskell<br>
>> >> > version dependency.<br>
>> >> ><br>
>> >> > I'd appreciate any pointers with this. (Googling and questions on the<br>
>> >> > #haskell irc channel didn't help much, unfortunately.)<br>
>> >> ><br>
>> >> > -Levent.<br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Haskell-Cafe mailing list<br>
>> >> > <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> >> > <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
>> >> ><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Haskell-Cafe mailing list<br>
>> >> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> >> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div></div>