Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with build failure #778

Open
jpotier opened this issue May 27, 2020 · 2 comments
Open

Help with build failure #778

jpotier opened this issue May 27, 2020 · 2 comments
Labels
C: Bug Something isn't working

Comments

@jpotier
Copy link

jpotier commented May 27, 2020

Plume build fails to complete, may be a packaging mistake, may be something else. As I'm not familiar with Rust, I'd really like if someone could give a hand about what's going on here.

  • Plume version: 0.4.0
  • Operating system: NixOS
  • Web Browser: N/A
 % nix-build -I nixpkgs=. -A pkgs.plume          /tmp/nixpkgs-add-plume kktdr
these derivations will be built:
  /nix/store/1x93yfq585p5wq6pljw8fycd77m6fc7d-plume-0.4.0-alpha-4.drv
building '/nix/store/1x93yfq585p5wq6pljw8fycd77m6fc7d-plume-0.4.0-alpha-4.drv'...
unpacking sources
unpacking source archive /nix/store/vj9a5lgiw69rrcyp8s96zlaryxb0fv2d-source
source root is source
unpacking source archive /nix/store/ma7k64s9l01llfbpqs3q7gv30rkkxk04-plume-0.4.0-alpha-4-vendor.tar.gz
patching sources
Validating consistency between /build/source/Cargo.lock and /build/plume-0.4.0-alpha-4-vendor.tar.gz/Cargo.lock
configuring
building
++ env CC_x86_64-unknown-linux-gnu=/nix/store/1wb31gzrjw055xl6d3igzj1gnajzlwbk-gcc-wrapper-9.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/1wb31gzrjw055xl6d3igzj1gnajzlwbk-gcc-wrapper-9.2.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/1wb31gzrjw055xl6d3igzj1gnajzlwbk-gcc-wrapper-9.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/1wb31gzrjw055xl6d3igzj1gnajzlwbk-gcc-wrapper-9.2.0/bin/c++ cargo build --release --target x86_64-unknown-linux-gnu --frozen
error: failed to select a version for `conv`.
    ... required by package `chomp v0.3.1`
    ... which is depended on by `guid-create v0.1.1`
    ... which is depended on by `plume v0.4.0 (/build/source)`
versions that meet the requirements `= 0.3.3` are: 0.3.3

the package `chomp` depends on `conv`, with features: `std` but `conv` does not have these features.


failed to select a version for `conv` which could resolve this conflict
builder for '/nix/store/1x93yfq585p5wq6pljw8fycd77m6fc7d-plume-0.4.0-alpha-4.drv' failed with exit code 101
error: build of '/nix/store/1x93yfq585p5wq6pljw8fycd77m6fc7d-plume-0.4.0-alpha-4.drv' failed

while testing this package (currently in PR to nixpkgs): NixOS/nixpkgs#84088

@jpotier jpotier added the C: Bug Something isn't working label May 27, 2020
@elegaanz
Copy link
Member

Sorry for the late reply. It looks like one of our dependency is broken, but it is weird, since you seems to be the first to encounter this issue. We should have seen it too. Maybe the way Nix builds Rust packages does something that changes the dependencies (like cargo update-ing them), but that would be surprising.

@astro
Copy link

astro commented Jan 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants