Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Seeing a compilation error when compiling a crate. It seems to be related to incremental compilation (i.e. doesn't happen if compiling fresh, only if a file is touched then recompiled. Version-Release number of selected component (if applicable): rust-1.51.0-3.fc34.x86_64 How reproducible: always Steps to Reproduce: 1. git clone https://github.com/cloudflare/boringtun 2. cd boringtun 3. cargo build 4. touch src/main.rs 5. cargo build Actual results: recompiles Expected results: Compiling boringtun v0.3.0 (/home/agrover/temp/boringtun) error: could not copy "/home/agrover/temp/boringtun/target/debug/deps/boringtun-d2060d88b0553562.1mbfoibdawt1x325.rcgu.s" to "/home/agrover/temp/boringtun/target/debug/deps/boringtun-d2060d88b0553562.s": No such file or directory (os error 2) error: failed to remove /home/agrover/temp/boringtun/target/debug/deps/boringtun-d2060d88b0553562.1mbfoibdawt1x325.rcgu.s: No such file or directory (os error 2) error: aborting due to 2 previous errors error: could not compile `boringtun` Additional info: Hi, just wanted to report this issue here, to make sure it's not a Fedora-specific issue. (I see no mention of it upstream.) workaround: Disable incremental compilation.
You might be interested in the Rust 1.52.1 release notes: https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html TL;DR: There are bugs in incremental compilation mode and it's now disabled by default as of Rust 1.52.1.
(In reply to Fabio Valentini from comment #1) > TL;DR: There are bugs in incremental compilation mode and it's now disabled > by default as of Rust 1.52.1. Right, and these surfaced in 1.52.0 because some verification was added that turned those bugs into internal compiler errors (ICE) rather than silent miscompilations. The bugs were already there though, so it's "interesting" that you're now running into that with 1.51.0. I built 1.52.1 yesterday, so I'll get that into bodhi today. I'll add this bug in the update -- testing appreciated.
FEDORA-2021-1e144658cb has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1e144658cb
FEDORA-EPEL-2021-130c9b8560 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-130c9b8560
FEDORA-2021-84c090cf2c has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-84c090cf2c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-84c090cf2c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-130c9b8560 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-130c9b8560 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-1e144658cb has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1e144658cb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1e144658cb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-f8430900fa has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f8430900fa` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f8430900fa See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-84c090cf2c has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-f8430900fa has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-1e144658cb has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2021-130c9b8560 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.