[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unmet build dependencies in alloy



On Wed, 23 Jul 2025 18:34, Leonardo Arias Fonseca <agami@riseup.net> wrote:

Hello,

I want to package the https://github.com/alloy-rs/alloy libraries, to then package reth, rbuilder and lighthouse, and other Ethereum software written in rust.

I followed the team book and when I try to build it, I get:

```

dpkg-checkbuilddeps: error: unmet build dependencies: rustc:native (>= 1.86) librust-alloy-consensus-1+serde-dev (>= 1.0.23-~~) librust-alloy-consensus-1+std-dev (>= 1.0.23-~~) librust-alloy-consensus-1-dev (>= 1.0.23-~~) librust-alloy-contract-1-dev (>= 1.0.23-~~) librust-alloy-core-1+default-dev (>= 1.2.0-~~) librust-alloy-core-1+dyn-abi-dev (>= 1.2.0-~~) librust-alloy-core-1+json-abi-dev (>= 1.2.0-~~) librust-alloy-core-1+json-dev (>= 1.2.0-~~) librust-alloy-core-1+serde-dev (>= 1.2.0-~~) librust-alloy-core-1+sol-types-dev (>= 1.2.0-~~) librust-alloy-core-1+std-dev (>= 1.2.0-~~) librust-alloy-core-1-dev (>= 1.2.0-~~) librust-alloy-eips-1+serde-dev (>= 1.0.23-~~) librust-alloy-eips-1+std-dev (>= 1.0.23-~~) librust-alloy-eips-1-dev (>= 1.0.23-~~) librust-alloy-genesis-1+std-dev (>= 1.0.23-~~) librust-alloy-network-1-dev (>= 1.0.23-~~) librust-alloy-provider-1+reqwest-dev (>= 1.0.23-~~) librust-alloy-provider-1-dev (>= 1.0.23-~~) librust-alloy-rpc-client-1+reqwest-dev (>= 1.0.23-~~) librust-alloy-rpc-client-1-dev (>= 1.0.23-~~) librust-alloy-rpc-types-1+eth-dev (>= 1.0.23-~~) librust-alloy-rpc-types-1-dev (>= 1.0.23-~~) librust-alloy-serde-1+std-dev (>= 1.0.23-~~) librust-alloy-serde-1-dev (>= 1.0.23-~~) librust-alloy-signer-1-dev (>= 1.0.23-~~) librust-alloy-signer-local-1-dev (>= 1.0.23-~~) librust-alloy-transport-1-dev (>= 1.0.23-~~) librust-alloy-transport-http-1+reqwest-default-tls-dev (>= 1.0.23-~~) librust-alloy-transport-http-1+reqwest-dev (>= 1.0.23-~~) librust-alloy-transport-http-1-dev (>= 1.0.23-~~) ./build.sh: abort: Missing build dependencies, possibly due to one of these reasons: ./build.sh: abort: - Version mismatch, which could be worked around ("relaxed") by patching Cargo.toml ./build.sh: abort: - Disabled feature, which requires either enabling in the dependency or disabling locally
```

From here I don't know where to go. Can somebody help me? I would appreciate a mentor and a sponsor too ^_^
Hi,

this is dpkg-buildpackage telling you that some build-dependencies are not met. Since all the alloy-* crates are under the crates/* directory in the root repository (assuming you based your package off of that), you need to drop the alloy* crates from debian/control and let cargo work its magic. A package that also uses internal crates is texlab or prs. You can look at them to see how things are built there. Feel free to reach out here or on the #debian-rust IRC channel in case you run into any more issues.

best,

werdahias


Reply to: