build directory empty with rust plugin
Bug #1654721 reported by
Mark Shuttleworth
This bug report is a duplicate of:
Bug #1654764: The rust plugin is not using the Cargo.toml from the part dir.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Incomplete
|
High
|
Sergio Schvezov |
Bug Description
Using the rust plugin and snapcraft 2.24 the build directory was empty. 'cd parts/foo/build; cp -ar ../src/*' fixed the issue manually.
Changed in snapcraft: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
importance: | Undecided → Medium |
importance: | Medium → High |
milestone: | none → next |
status: | New → Triaged |
Changed in snapcraft: | |
milestone: | 2.25 → none |
To post a comment you must log in.
I am not seeing this issue. Is this the same yaml as for rust revision.
sergiusens@ snapcraft: ~/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision$ ls snapcraft: ~/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision$ snapcraft build sh'[=== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==] 100% s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/rust/ rustup. sh --prefix= /home/sergiusen s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/rust --disable-sudo --save --revision=1.13.0 sergiusens/ .rustup. sh/dl/a48639c80 1ec5abc20d9/ rust-1. 13.0-x86_ 64-unknown- linux-gnu. tar.gz' s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/rust/ lib/rustlib/ uninstall. sh x86_64- unknown- linux-gnu'
Cargo.toml snapcraft.yaml src
sergiusens@
"grade" property not specified: defaulting to "stable"
Preparing to pull simple-rust
Pulling simple-rust
Downloading 'rustup.
/home/sergiusen
rustup: gpg available. signatures will be verified
rustup: downloading manifest for '1.13.0'
rustup: downloading toolchain for '1.13.0'
gpg: assuming signed data in '/home/
gpg: Signature made Tue 08 Nov 2016 05:30:31 PM UTC using RSA key ID 7B3B09DC
gpg: Good signature from "Rust Language (Tag and Release Signing Key) <email address hidden>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE
Subkey fingerprint: C134 66B7 E169 A085 1886 3216 5CB4 A934 7B3B 09DC
rustup: installing toolchain for '1.13.0'
rustup: extracting installer
install: creating uninstall script at /home/sergiusen
install: installing component 'rustc'
install: installing component 'rust-std-
install: installing component 'rust-docs'
install: installing component 'cargo'
install: WARNING: failed to run ldconfig. this may happen when not installing as root. run with --verbose to see the error
Rust is ready to roll.
/home/sergiusen s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/rust/ bin/cargo fetch /github. com/rust- lang/crates. io-index` s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/rust/ bin/cargo install -j4 --root /home/sergiusen s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/install /github. com/rust- lang/crates. io-index` //home/ sergiusens/ snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/build) s/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision/ parts/simple- rust/install/ bin/simple- rust snapcraft: ~/snapcraft/ integration_ tests/snaps/ simple- rust-with- revision$ ls parts/simple- rust/build/ snapcraft: ~/snapcraft/ integration_ tests/snaps/ simple- rust-with- revisio. ..
Updating registry `https:/
Preparing to build simple-rust
Building simple-rust
/home/sergiusen
Updating registry `https:/
Compiling log v0.3.6
Compiling simple-rust v0.1.0 (file:/
Finished release [optimized] target(s) in 1.13 secs
Installing /home/sergiusen
sergiusens@
Cargo.lock Cargo.toml src target
sergiusens@