Thanks Alexander. However, I&#39;m not sure how to use the workaround described so I can get hackage to properly compile my package. It sounds like I have to add a &quot;template-haskell &gt;= 2.7.0.0&quot;  dependency to my own cabal file, which sounds like the wrong thing to do in the long-run.<div>
<br></div><div>Is there something that can be done on the hackage/ghc side to avoid this issue? Or something less drastic than adding a template-haskell dependency on my own package&#39;s cabal file?</div><div><br></div><div>
Thanks,</div><div><br></div><div>-Levent.<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 7:31 AM, Alexander Foremny <span dir="ltr">&lt;<a href="mailto:alexanderforemny@gmail.com" target="_blank">alexanderforemny@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Dear Levent,<br>
<br>
I think this [1] could be related.<br>
<br>
Regards,<br>
Alexander Foremny<br>
<br>
</div>PS. Sent this to Levent directly. Here&#39;s a copy for the mailing list.<br>
Sorry for the noise.<br>
<br>
[1] <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>
<div class="HOEnZb"><div class="h5"><br>
---------- Forwarded message ----------<br>
From: Alexander Foremny &lt;<a href="mailto:alexanderforemny@gmail.com">alexanderforemny@gmail.com</a>&gt;<br>
Date: 2012/7/17<br>
Subject: Re: [Haskell-cafe] hackage compile failure with QuickCheck 2.5<br>
To: Levent Erkok &lt;<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>&gt;<br>
<br>
<br>
Dear Levent,<br>
<br>
I think this [1] could be related.<br>
<br>
Regards,<br>
Alexander Foremny<br>
<br>
[1] <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 &lt;<a href="mailto:erkokl@gmail.com">erkokl@gmail.com</a>&gt;:<br>
&gt; [This message is more appropriate for a hackage mailing list I presume, but<br>
&gt; that doesn&#39;t seem to exist. Let me know if there&#39;s a better place to send<br>
&gt; it.]<br>
&gt;<br>
&gt; I&#39;m having a hackage compile failure for a newly uplodaded package that has<br>
&gt; a QuickCheck 2.5 dependence. The error message is:<br>
&gt;<br>
&gt; [13 of 13] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs,<br>
&gt; dist/build/Test/QuickCheck/All.o )<br>
&gt;<br>
&gt; Test/QuickCheck/All.hs:15:1:<br>
&gt;     Bad interface file:<br>
&gt; /usr/local/tmp/archive/install/lib/template-haskell-2.6.0.0/ghc-7.4.1/Language/Haskell/TH.hi<br>
&gt;         Something is amiss; requested module<br>
&gt; template-haskell-2.6.0.0:<a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a> differs from name found in the<br>
&gt; interface file template-haskell:<a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a><br>
&gt;<br>
&gt;<br>
&gt; The full log file is at (search for &quot;Something is a miss&quot; in it):<br>
&gt; <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>
&gt;<br>
&gt; Needless to say, I don&#39;t see this problem when I compile this package at<br>
&gt; home with the same compiler (ghc 7.4.1) as hackage is using; also Hackage<br>
&gt; has a successfully compiled QuickCheck 2.5 package.<br>
&gt;<br>
&gt; Could it be something related to the particular cabal/ghc installation on<br>
&gt; the hackage server? In particular, I don&#39;t understand why it picks<br>
&gt; template-haskell 2.6.0.0 when there&#39;s a newer version (2.7.0.0). As far as I<br>
&gt; can see, QuickCheck doesn&#39;t put an upper limit on its template haskell<br>
&gt; version dependency.<br>
&gt;<br>
&gt; I&#39;d appreciate any pointers with this. (Googling and questions on the<br>
&gt; #haskell irc channel didn&#39;t help much, unfortunately.)<br>
&gt;<br>
&gt; -Levent.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<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>