<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br></div><div class="gmail_quote">On 13 January 2015 at 13:20, Johan Tibell <span dir="ltr"><<a href="mailto:johan.tibell@gmail.com" target="_blank">johan.tibell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Already fixed on the 1.22 branch: <a href="https://github.com/haskell/cabal/issues/2313" target="_blank">https://github.com/haskell/cabal/issues/2313</a></div></blockquote><div><br></div><div>Great, thanks!</div><div><br></div><div>The fix seems to be allowing the use of the old flag (--disable-executable-profiling).</div><div>Using the new flag (--disable-profiling) with an older ghc also apparently works, but requires Cabal-1.22.0.0 (as well as cabal-install-1.22.0.0)</div><div><br></div><div>So I wonder: why doesn't cabal-install-1.22.0.0 require Cabal-1.22.0.0?</div><div><br></div><div>Ozgur</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Jan 13, 2015 at 5:13 AM, Ozgur Akgun <span dir="ltr"><<a href="mailto:ozgurakgun@gmail.com" target="_blank">ozgurakgun@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_extra"><span><br><div class="gmail_quote">On 13 January 2015 at 13:00, Erik Hesselink <span dir="ltr"><<a href="mailto:hesselink@gmail.com" target="_blank">hesselink@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">I've had this problem as well. I think the issue is that 'cabal' now<br>
expects '--disable-profiling', but if you have a custom Setup.hs, it<br>
can be compiled with an older version of the Cabal library, and then<br>
it expects '--disable-executable-profiling' again. What is the output<br>
of 'ghc-pkg list Cabal'?<br></div></blockquote></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I have 3 versions of Cabal as reported by "ghc-pkg list Cabal".</div><div class="gmail_extra">Cabal-1.16.0 in the global package db, Cabal-1.18.1 and Cabal-1.20.0.0 in the user db.</div><div class="gmail_extra">Do you think I should be hiding the old ones?</div><span><font color="#888888"><div class="gmail_extra"><br></div>Ozgur
</font></span></div><div class="gmail_extra"><br></div></div>
<br></div></div><span>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">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></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Ozgur Akgun</div>
</div></div>