Skip to content

Build failure on Debian 12 #2

@polski-g

Description

@polski-g

Apologies, but I have no experience with Rust/Cargo/etc... But it looks like an upstream package changed something?

Input commands:

docker run --name deb12-fuse-zstd -it -d debian:12 /bin/bash

docker exec -it deb12-fuse-zstd /bin/bash

apt-get update
apt-get install fuse3 libfuse3-3 libfuse3-dev
apt-get install cargo git

git clone https://github.com/Big-Dig-Data/fuse-zstd.git
cd fuse-zstd/
cargo -vv build --release

Output:

    Updating crates.io index
error: failed to select a version for `env_logger`.
    ... required by package `fuse-zstd v1.2.0 (/root/fuse-zstd)`
versions that meet the requirements `^0.11` (locked to 0.11.1) are: 0.11.1

the package `fuse-zstd` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


failed to select a version for `env_logger` which could resolve this conflict

Metadata

Metadata

Assignees

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