someodd / waffle

Haskell Gopher Protocol TUI Client 🧇
https://www.someodd.zip/showcase/waffle/
GNU General Public License v3.0
21 stars 1 forks source link

Build is failing #143

Closed m-col closed 3 years ago

m-col commented 3 years ago

Hi there!

I'm trying to build waffle but it is failing. With a fresh clone, I run cabal build per the readme, and this is the full output:

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: waffle-0.24.0.0 (user goal)
[__1] next goal: brick (dependency of waffle)
[__1] rejecting: brick-0.64.1 (conflict: waffle => brick>=0.53 && <0.54)
[__1] skipping: brick-0.64, brick-0.63, brick-0.62, brick-0.61, brick-0.60.2,
brick-0.60.1, brick-0.60, brick-0.59, brick-0.58.1, brick-0.58, brick-0.57.1,
brick-0.57, brick-0.56, brick-0.55, brick-0.54 (has the same characteristics
that caused the previous version to fail: excluded by constraint '>=0.53 &&
<0.54' from 'waffle')
[__1] trying: brick-0.53
[__2] next goal: base (dependency of waffle)
[__2] rejecting: base-4.14.2.0/installed-4.14.2.0 (conflict: brick =>
base<=4.14.0.0)
[__2] skipping: base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0
(has the same characteristics that caused the previous version to fail:
excluded by constraint '<=4.14.0.0' from 'brick')
[__2] rejecting: 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)
[__2] fail (backjumping, conflict set: base, brick, waffle)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: brick, base, waffle
hyperrealgopher commented 3 years ago

I'm working on better constraints in waffle which should resolve this issue. Thank you for writing this up. I also got this error when trying to cabal build. I'll make sure to note of which ghc I am using.

hyperrealgopher commented 3 years ago

Resolved in https://github.com/hyperrealgopher/waffle/commit/68b3cfd7b4236d0222b1bfb46072082fe133ecca

Try using GHC 8.10.7.

m-col commented 3 years ago

Nice, thanks!