<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;">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 <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">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>ghc-devs@haskell.org<br>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<br></div></blockquote></div><br></div></div></body></html>