-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Compiler told me to report bug: "can't determine value for sysroot" #16229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Triage bump. @logicchains , does this still ICE in this situation? |
Unfortunately I don't have that ARM system setup now. I could test it in an On 21 April 2015 at 10:22, Steve Klabnik [email protected] wrote:
|
It depends. This was filed a long time ago, and we haven't heard of anything from anyone since, so maybe just giving it a close is appropriate, since it no longer affects you? |
Sure, closing it would be fine with me. I only opened it because the On 23 April 2015 at 00:56, Steve Klabnik [email protected] wrote:
|
Just as a bump, I still see this on an x86_64 in a chroot without proc, sys and dev mounted trying to build 1.3.0. thread 'rustc' panicked at 'can't determine value for sysroot', ../src/librustc/metadata/filesearch.rs:206 |
rust-lang/rust#16229 This issue happens on a chroot without proc, sys and dev mounted. So this scripts sets up a debian chroot using debootstrap and copies the rustc into the jail.
rust-lang/rust#16229 This issue happens on a chroot without proc, sys and dev mounted. So this scripts sets up a debian chroot using debootstrap and copies the rustc into the jail. Installs deboostrap on the testing machine Use the container stack on travis Revert "Use the container stack on travis" Containers without priviledged mode cannot chroot. The test must run on a Linux with priveledges. Creates the target bin directory and chroot using sudo Chroot has root permissions Silence the build
I am also receiving this error... I was running 1.11.0 (stable) with no issue but after using rustup to upgrade to 1.14.0 (stable). I have also changed to 1.12.0 with the same panic. I am running this on a Ubuntu 14.04 LXC container inside a smartos (solaris) host. edit: |
1.14.0 error string: thread 'rustc' panicked at '../src/librustc/session/filesearch.rs:164: can't determine value for sysroot', ../src/librustc/session/mod.rs:771 |
I managed to get all working again after upgrading my container host os and rebooting. Not sure which part of the two fixed it. Thanks, and sorry for wasting time. |
Not a waste of time! Seems like this isn't really reproducible in most cases; closing. |
I encountered the following output when trying to compile a simple program (well, any simple program) with rustc:
And so I'm duly reporting it. My OS is the latest ARMv7 ArchLinux build, running on a Galaxy SIII (in a chroot). It was working previously, but then I rebooted the phone and attempted to run rustc before I had properly mounted sysfs, proc and devpts. If I mount those, it works fine. So the bug isn't an actual hindrance, but nevertheless I'm reporting it as requested by the compiler.
The text was updated successfully, but these errors were encountered: