<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I would recommend —allow-newer rather than rebuilding with 9.4. In retrospect, 9.4 implies base == 4.17, but nofib seems to only allow < 4.17, which would leave 9.4 out.<div><br></div><div>Rodrigo<br><div><br><blockquote type="cite"><div>On 12 Jul 2023, at 12:48, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks.  That is very unfortunate: ./configure does not issue any complaint.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I upgraded from 9.2 because GHC won't compile with 9.2 any more.  But now you are saying that nofib won't build with 9.6?  So that leaves 9.4 only.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Well I can install 9.4 and rebuild everything.  But really, it would be good if configure complained if you are using a boot compiler that won't work.  That's what configure is for!</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 12 Jul 2023 at 12:41, Rodrigo Mesquita <<a href="mailto:rodrigo.m.mesquita@gmail.com">rodrigo.m.mesquita@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>From the error message it looks like you’re using ghc-9.6(and base 4.18) while nofib requires base < 4.17.<div>I’d say as a temporary workaround you can likely run your invocation additionally with —allow-newer, and hope that doesn’t break. Otherwise you could downgrade to 9.4 or bump the version manually in the cabal file of nofib?</div><div><br></div><div>Rodrigo<br><div><div><br><blockquote type="cite"><div>On 12 Jul 2023, at 12:38, Simon Peyton Jones <<a href="mailto:simon.peytonjones@gmail.com" target="_blank">simon.peytonjones@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Friends</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">With a clean HEAD I can't build nofib.  See below.  What should I do?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">(cd nofib; cabal v2-run -- nofib-run --compiler=`pwd`/../_build/stage1/bin/ghc --output=`date -I`)<br>Resolving dependencies...<br>Error: cabal: Could not resolve dependencies:<br>[__0] trying: nofib-0.1.0.0 (user goal)<br>[__1] next goal: base (dependency of nofib)<br>[__1] rejecting: base-4.18.0.0/installed-4.18.0.0 (conflict: nofib =><br>base>=4.5 && <4.17)<br>[__1] skipping: base-4.18.0.0, base-4.17.1.0, base-4.17.0.0 (has the same<br>characteristics that caused the previous version to fail: excluded by<br>constraint '>=4.5 && <4.17' from 'nofib')<br>[__1] rejecting: base-4.16.4.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0,<br>base-4.16.0.0, base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,<br>base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,<br>base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,<br>base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,<br>base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,<br>base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,<br>base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,<br>base-3.0.3.1 (constraint from non-upgradeable package requires installed<br>instance)<br>[__1] fail (backjumping, conflict set: base, nofib)<br>After searching the rest of the dependency tree exhaustively, these were the<br>goals I've had most trouble fulfilling: base, nofib<br><br>make: *** [/home/simonpj/code/Makefile-spj:39: nofib] Error 1<br><br></div></div>
_______________________________________________<br>ghc-devs mailing list<br><a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br></div></blockquote></div><br></div></div></div></blockquote></div>
</div></blockquote></div><br></div></body></html>