Summary: | dev-lang/rust-1.60.0: unresolved import `crate::sys::cvt` (during stage2) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Luke-Jr <luke-jr+gentoobugs> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | jstein, navi, randy, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info |
Description
Luke-Jr
2022-07-03 03:20:22 UTC
Created attachment 789671 [details]
emerge --info
you seem to modify ebuild with bashrc or other portage hooks - please investigate your code yourself. probably has to do with modifying vendor jsons. stock ebuild works fine. USE='-doc -clippy -rustfmt' succeeded (FWIW using 136 GB total in /var/tmp). However, trying to build my normal USE flags, starting from rust 1.60.0 still fails with the same error. (In reply to Georgy Yakovlev from comment #2) > you seem to modify ebuild with bashrc or other portage hooks - please > investigate your code yourself. probably has to do with modifying vendor > jsons. > > stock ebuild works fine. There is no indication my deblobbing is related. Google finds other reports of this issue with upstream. eg https://cgit.freebsd.org/ports/commit/?id=ea3a1c8a6eff20c7a4c9ed8032d396769a5ec188 Found the upstream bugfix: https://github.com/rust-lang/rust/pull/94352 (In reply to Luke-Jr from comment #5) > Found the upstream bugfix: https://github.com/rust-lang/rust/pull/94352 This didn't fix it either :( Adding the "owned.rs" part of https://github.com/rust-lang/rust/pull/95900 (the other part is n/a to this version) in addition to 94352, appears to fix this issue. it seems all related fixes for this have landed in rust-1.62.0? (In reply to tt_1 from comment #8) > it seems all related fixes for this have landed in rust-1.62.0? But that's not a solution since building 1.62.0 requires 1.61.0 and that requires 1.60.0 - so this still needs to get fixed in 1.60 and 1.61. dev-lang/rust-1.61.0-r2 still affected by this (In reply to Luke-Jr from comment #10) > dev-lang/rust-1.61.0-r2 still affected by this Also has new errors: error[E0432]: unresolved import `crate::os::unix::io` --> library/std/src/os/fd/raw.rs:9:22 | 9 | use crate::os::unix::io::AsFd; | ^^ could not find `io` in `unix` Just going to disable wasm for now on my end... Sorry for the long wait time for this report. Since a long time have passed, and many rust versions, I prefer to close this bug with a request from reporter to retest and report if broken. If it still reproduces with latest versions, please reopen :) |