Help with build failure #778

Open
opened 2020-05-27 09:55:37 +00:00 by jpotier · 1 comment
jpotier commented 2020-05-27 09:55:37 +00:00 (Migrated from github.com)

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): https://github.com/NixOS/nixpkgs/pull/84088

<!-- Describe your bug, explaining how to reproduce it, and what was expected --> 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. <!-- Please fill the following information when relevant (or remove them if not) --> - **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): https://github.com/NixOS/nixpkgs/pull/84088
elegaanz commented 2020-06-17 16:38:40 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#778
No description provided.