-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Git tip fails to build for me on Fedora 24 (using Rust 1.10.0) #2929
Comments
Could you gist the logs of strace? Also enabling This works locally for me :( |
I've put up a gist of both 'strace -f' and the 'RUST_LOG=debug' output here: https://gist.github.com/siebenmann/656b1a1ff1a89adc0df47e65a40f5cba |
It looks like there may be something intercepting calls to the rustc binary and something is inserting the byte 0x1b (esc) in the output stream maybe? (something seems to be calling Does that sound familiar? |
Oh. That would be the wrapper script that I had to put around rustc because Rust 1.10.0 doesn't turn off bold quite correctly (or at least it doesn't turn it off in a way that xterm likes). I've fixed my wrapper script to only do that when standard output is a terminal and now the 'make' works. ( I think that the error message that's produced here is at best unhelpful, but that's probably another bug. |
Yeah we could definitely have a better error message here! Tagging as such. |
Better error messages when `rustc` discovery parsing fails. This adds a little extra info to help debug when cargo fails to parse the output from `rustc` when querying it for information. Closes #2929
I'm trying to build Rust and Cargo from source because I want to put them in a non-standard (non-system) location, and building Cargo fails on my 64-bit Fedora 24 system with an error in the 'make' phase. Here is a full transcript of the make (with the prequel steps included because why not, it reproduces easily).
On further testing, this appears to be something in my $HOME that Cargo doesn't like. It is not telling me what, and it is not $HOME/.cargo (because I just deleted that entire directory hierarchy). strace is not particularly revealing about what what file or configuration cargo dislikes.
The text was updated successfully, but these errors were encountered: