Skip to content

Conversation

sgillespie
Copy link
Contributor

Add the lmdb dev library to IOG profile, since it is required by ouroboros-consensus and cardano-lmdb. It fixes the GitHub build failure:

[__2] next goal: cardano-lmdb (dependency of ouroboros-consensus)
[__2] rejecting: cardano-lmdb; 0.4.0.3, 0.4.0.2, 0.4.0.1, 0.4.0.0 (conflict: pkg-config package lmdb>=0.9 && <0.10, not found in the pkg-config database)
[__2] rejecting: cardano-lmdb-0.3.0.0 (conflict: ouroboros-consensus => cardano-lmdb>=0.4)
[__2] fail (backjumping, conflict set: cardano-lmdb, ouroboros-consensus)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ouroboros-consensus, cardano-chain-gen, cardano-node, cardano-db-sync, cardano-lmdb
Try running with --minimize-conflict-set to improve the error message.

Note that I had to copy the postPatch from nixpkgs, since musl64 is not considered a static platform.

Add the lmdb dev library to IOG profile, since it is required by
ouroboros-consensus and cardano-lmdb. It fixes the GitHub build failure:

    [__2] next goal: cardano-lmdb (dependency of ouroboros-consensus)
    [__2] rejecting: cardano-lmdb; 0.4.0.3, 0.4.0.2, 0.4.0.1, 0.4.0.0 (conflict: pkg-config package lmdb>=0.9 && <0.10, not found in the pkg-config database)
    [__2] rejecting: cardano-lmdb-0.3.0.0 (conflict: ouroboros-consensus => cardano-lmdb>=0.4)
    [__2] fail (backjumping, conflict set: cardano-lmdb, ouroboros-consensus)
    After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ouroboros-consensus, cardano-chain-gen, cardano-node, cardano-db-sync, cardano-lmdb
    Try running with --minimize-conflict-set to improve the error message.

Note that I had to copy the postPatch from nixpkgs, since musl64 is not
considered a static platform.
@sgillespie sgillespie changed the title Add liblmdb to IOG profiles WIP: Add liblmdb to IOG profiles Sep 17, 2025
@sgillespie sgillespie changed the title WIP: Add liblmdb to IOG profiles Add liblmdb to IOG profiles Sep 17, 2025
@sgillespie sgillespie marked this pull request as ready for review September 17, 2025 21:21
This fixes the error:

    error: hash mismatch in fixed-output derivation '/nix/store/...-head.hackage.ghc.haskell.org.drv':
    specified: sha256-+hzciiQqWb5oOzQ2JZ2lzJGfGuwA3ZigeWgAQ8Dz+kk=
          got:    sha256-YVcHIBJ8qo2fCBkuRM+vCVVoEEzGcFqNPMukSCBbcJw=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant