Skip to content

can't build from source using ghc-9.10.3 and cabal-3.12.1.0 #480

@oshyshko

Description

@oshyshko
$ git clone https://github.com/hamler-lang/hamler.git

$ git rev-parse HEAD
97e1e2f09c2c6e8ac5c7eb2637596dfceab3b788

$ cd hamler

$ cabal update

$ make
cabal run hamler build -- -l -e
HEAD is now at 765eb45 remove ShowErrorComponent
HEAD is now at 0c52ac5 deprecated build-tools, use build-tool-depends
HEAD is now at 7500c4d2 fix(Traversals): add ListBinder traver
Resolving dependencies...
Error: [Cabal-7107]
Could not resolve dependencies:
[__0] trying: CoreErlang-0.0.5 (user goal)
[__1] trying: base-4.20.2.0/installed-754f (dependency of CoreErlang)
[__2] next goal: Erlang (user goal)
[__2] rejecting: Erlang-0.1.0.0 (conflict: base==4.20.2.0/installed-754f, Erlang => base^>=4.14.1.0)
[__2] fail (backjumping, conflict set: Erlang, base)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, Erlang, CoreErlang

make: *** [build] Error 1

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.10.3

$ cabal --version
cabal-install version 3.12.1.0

$ make --version
GNU Make 3.81

$ sw_vers
ProductName:		macOS
ProductVersion:		15.7.2
BuildVersion:		24G325

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions