Skip to content

Cannot build hadolint  #1038

@Aleridia

Description

@Aleridia
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Hello,

I want to add some features in Hadolint but I'm blocked at the first step.
Pretty new to Haskell development, I tried to fix the problem without success.

Expected behavior

Running cabal configure and cabal build must build the project.

Actual behavior

cabal build returns error :

HEAD est maintenant à dba56a7 upgrade to latest GHC version
HEAD est maintenant à 2482739 fix merge conflicts
HEAD est maintenant à 61a9af3 Merge pull request #34 from phadej/ghc-9.8
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: ShellCheck-0.10.0 (user goal)
[__1] next goal: base (dependency of ShellCheck)
[__1] rejecting: base-4.17.2.1/installed-4.17.2.1 (constraint from project
config [REDACTED]/hadolint/cabal.project.freeze requires ==4.19.1.0)
[__1] rejecting: base-4.19.1.0 (constraint from non-upgradeable package
requires installed instance)
[__1] rejecting: base-4.19.0.0, base-4.18.2.1, base-4.18.2.0, base-4.18.1.0,
base-4.18.0.0, base-4.17.2.1, base-4.17.2.0, base-4.17.1.0, base-4.17.0.0,
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 project config
[REDACTED]/hadolint/cabal.project.freeze requires ==4.19.1.0)
[__1] fail (backjumping, conflict set: ShellCheck, base)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, ShellCheck

Steps to reproduce the behavior

  • git clone --recursive https://github.com/hadolint/hadolint.git
  • cd hadolint
  • cabal configure
  • cabal build

Additional environment details (OS, stack version, etc.)
OS : Manjaro 24.0.8
Stack version : 3.1.1
GHC version : 9.4.8
Cabal version : 3.10.3.0

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