2019-08-23 14:30:20 |
Olivier Tilloy |
bug |
|
|
added bug |
2019-08-23 14:31:41 |
Olivier Tilloy |
description |
Upstream issue: https://github.com/rust-lang/cargo/issues/7147
This breaks firefox and thunderbird builds in eoan:
export CARGO_HOME=/<<BUILDDIR>>/thunderbird-68.0+build4/third_party/cbindgen/.cargo; \
cargo install --path . --bin cbindgen --root ../../cbindgen
error: failed to acquire package cache lock
Caused by:
failed to open: /sbuild-nonexistent/.cargo/.package-cache
Caused by:
Permission denied (os error 13)
The following commit needs to be backported as a distro patch: https://github.com/rust-lang/cargo/commit/2b21fa68368f13b43f4c34886116df2e1b9d276e
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: cargo (not installed)
ProcVersionSignature: Ubuntu 5.0.0-25.26-generic 5.0.18
Uname: Linux 5.0.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Fri Aug 23 14:24:46 2019
SourcePackage: cargo
UpgradeStatus: No upgrade log present (probably fresh install) |
Upstream issue: https://github.com/rust-lang/cargo/issues/7147
This breaks firefox and thunderbird builds in eoan:
export CARGO_HOME=/<<BUILDDIR>>/thunderbird-68.0+build4/third_party/cbindgen/.cargo; \
cargo install --path . --bin cbindgen --root ../../cbindgen
error: failed to acquire package cache lock
Caused by:
failed to open: /sbuild-nonexistent/.cargo/.package-cache
Caused by:
Permission denied (os error 13)
The following commit needs to be backported as a distro patch: https://github.com/rust-lang/cargo/commit/2b21fa68368f13b43f4c34886116df2e1b9d276e
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: cargo 0.37.0-3ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-25.26-generic 5.0.18
Uname: Linux 5.0.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Fri Aug 23 14:24:46 2019
SourcePackage: cargo
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-08-27 21:49:18 |
Olivier Tilloy |
cargo (Ubuntu): status |
New |
Fix Released |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
nominated for series |
|
Ubuntu Disco |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
bug task added |
|
cargo (Ubuntu Disco) |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
nominated for series |
|
Ubuntu Xenial |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
bug task added |
|
cargo (Ubuntu Xenial) |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
nominated for series |
|
Ubuntu Bionic |
|
2019-08-27 21:49:35 |
Olivier Tilloy |
bug task added |
|
cargo (Ubuntu Bionic) |
|
2019-08-27 21:49:50 |
Olivier Tilloy |
cargo (Ubuntu Xenial): assignee |
|
Canonical Foundations Team (canonical-foundations) |
|
2019-08-27 21:50:00 |
Olivier Tilloy |
cargo (Ubuntu Bionic): assignee |
|
Canonical Foundations Team (canonical-foundations) |
|
2019-08-27 21:50:06 |
Olivier Tilloy |
cargo (Ubuntu Disco): assignee |
|
Canonical Foundations Team (canonical-foundations) |
|
2019-10-07 07:33:39 |
Olivier Tilloy |
cargo (Ubuntu Xenial): status |
New |
Fix Committed |
|
2019-10-07 07:33:43 |
Olivier Tilloy |
cargo (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-10-07 07:33:46 |
Olivier Tilloy |
cargo (Ubuntu Disco): status |
New |
Fix Committed |
|
2019-12-03 06:19:42 |
Olivier Tilloy |
attachment added |
|
debdiff for xenial https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309499/+files/cargo-xenial.debdiff |
|
2019-12-03 06:20:03 |
Olivier Tilloy |
attachment added |
|
debdiff for disco https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309500/+files/cargo-disco.debdiff |
|
2019-12-03 06:20:04 |
Olivier Tilloy |
attachment added |
|
debdiff for disco https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309501/+files/cargo-disco.debdiff |
|
2019-12-03 06:21:55 |
Olivier Tilloy |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2019-12-03 06:22:01 |
Olivier Tilloy |
cargo (Ubuntu Xenial): status |
Fix Committed |
In Progress |
|
2019-12-03 06:22:05 |
Olivier Tilloy |
cargo (Ubuntu Disco): status |
Fix Committed |
In Progress |
|
2019-12-03 09:18:42 |
Olivier Tilloy |
description |
Upstream issue: https://github.com/rust-lang/cargo/issues/7147
This breaks firefox and thunderbird builds in eoan:
export CARGO_HOME=/<<BUILDDIR>>/thunderbird-68.0+build4/third_party/cbindgen/.cargo; \
cargo install --path . --bin cbindgen --root ../../cbindgen
error: failed to acquire package cache lock
Caused by:
failed to open: /sbuild-nonexistent/.cargo/.package-cache
Caused by:
Permission denied (os error 13)
The following commit needs to be backported as a distro patch: https://github.com/rust-lang/cargo/commit/2b21fa68368f13b43f4c34886116df2e1b9d276e
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: cargo 0.37.0-3ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-25.26-generic 5.0.18
Uname: Linux 5.0.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Fri Aug 23 14:24:46 2019
SourcePackage: cargo
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
All packages using cargo (rust's package manager) to build in Launchpad will FTBFS because cargo tries to acquire a lock on $HOME/.cargo, but $HOME is set to /sbuild-nonexistent in sbuild.
This includes the thunderbird 60.9.1+build1 SRU tracked by bug #1850651.
[Test Case]
In a xenial/disco virtual machine:
sudo apt install cargo
cd `mktemp -d`
export HOME=/nonexistent
cargo init --name foobar
cargo build
This should succeed. With the unpatched version currently in xenial/disco, it fails with "error: failed to acquire package cache lock".
[Regression Potential]
Low. This cherry-picks one single upstream commit that addresses only this bug.
[Original Description]
Upstream issue: https://github.com/rust-lang/cargo/issues/7147
This breaks firefox and thunderbird builds in eoan:
export CARGO_HOME=/<<BUILDDIR>>/thunderbird-68.0+build4/third_party/cbindgen/.cargo; \
cargo install --path . --bin cbindgen --root ../../cbindgen
error: failed to acquire package cache lock
Caused by:
failed to open: /sbuild-nonexistent/.cargo/.package-cache
Caused by:
Permission denied (os error 13)
The following commit needs to be backported as a distro patch: https://github.com/rust-lang/cargo/commit/2b21fa68368f13b43f4c34886116df2e1b9d276e
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: cargo 0.37.0-3ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-25.26-generic 5.0.18
Uname: Linux 5.0.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Fri Aug 23 14:24:46 2019
SourcePackage: cargo
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-12-03 09:23:27 |
Olivier Tilloy |
attachment removed |
debdiff for xenial https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309499/+files/cargo-xenial.debdiff |
|
|
2019-12-03 09:24:13 |
Olivier Tilloy |
attachment removed |
debdiff for disco https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309501/+files/cargo-disco.debdiff |
|
|
2019-12-03 09:24:28 |
Olivier Tilloy |
attachment removed |
debdiff for disco https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309500/+files/cargo-disco.debdiff |
|
|
2019-12-03 09:24:54 |
Olivier Tilloy |
attachment added |
|
debdiff for xenial https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309515/+files/cargo-xenial.debdiff |
|
2019-12-03 09:25:19 |
Olivier Tilloy |
attachment added |
|
debdiff for disco https://bugs.launchpad.net/ubuntu/+source/cargo/+bug/1841191/+attachment/5309516/+files/cargo-disco.debdiff |
|
2019-12-03 17:34:45 |
Łukasz Zemczak |
cargo (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-12-03 17:34:47 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-12-03 17:34:49 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-12-03 17:34:51 |
Łukasz Zemczak |
tags |
amd64 apport-bug eoan |
amd64 apport-bug eoan verification-needed verification-needed-disco |
|
2019-12-03 17:42:09 |
Łukasz Zemczak |
cargo (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2019-12-03 17:42:14 |
Łukasz Zemczak |
tags |
amd64 apport-bug eoan verification-needed verification-needed-disco |
amd64 apport-bug eoan verification-needed verification-needed-disco verification-needed-xenial |
|
2019-12-03 17:44:55 |
Łukasz Zemczak |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2019-12-03 20:19:42 |
Olivier Tilloy |
tags |
amd64 apport-bug eoan verification-needed verification-needed-disco verification-needed-xenial |
amd64 apport-bug eoan verification-done-xenial verification-needed verification-needed-disco |
|
2019-12-03 20:26:48 |
Olivier Tilloy |
tags |
amd64 apport-bug eoan verification-done-xenial verification-needed verification-needed-disco |
amd64 apport-bug eoan verification-done-disco verification-done-xenial verification-needed |
|
2019-12-07 17:58:42 |
Gre0 |
cargo (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-12-07 20:45:06 |
Olivier Tilloy |
cargo (Ubuntu Bionic): status |
Fix Released |
Fix Committed |
|
2020-07-02 20:02:05 |
Steve Langasek |
cargo (Ubuntu Disco): status |
Fix Committed |
Won't Fix |
|
2022-08-17 10:37:02 |
Rico Tzschichholz |
cargo (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2022-08-17 10:37:05 |
Rico Tzschichholz |
cargo (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|