The nofib master branch has updated bounds. It's just ghcs
submodule that's lagging behind.
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.
Rodrigo
On 12 Jul 2023, at 12:48, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:
Thanks. That is very unfortunate: ./configure does not issue any complaint.
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.
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!
Simon
On Wed, 12 Jul 2023 at 12:41, Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> wrote:
From the error message it looks like you’re using ghc-9.6(and base 4.18) while nofib requires base < 4.17.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?
Rodrigo
On 12 Jul 2023, at 12:38, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:
_______________________________________________Friends
With a clean HEAD I can't build nofib. See below. What should I do?
Thanks
Simon
(cd nofib; cabal v2-run -- nofib-run --compiler=`pwd`/../_build/stage1/bin/ghc --output=`date -I`)
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: nofib-0.1.0.0 (user goal)
[__1] next goal: base (dependency of nofib)
[__1] rejecting: base-4.18.0.0/installed-4.18.0.0 (conflict: nofib =>
base>=4.5 && <4.17)
[__1] skipping: base-4.18.0.0, base-4.17.1.0, base-4.17.0.0 (has the same
characteristics that caused the previous version to fail: excluded by
constraint '>=4.5 && <4.17' from 'nofib')
[__1] rejecting: base-4.16.4.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0,
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,
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,
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,
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,
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,
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,
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,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: base, nofib)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, nofib
make: *** [/home/simonpj/code/Makefile-spj:39: nofib] Error 1
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs