Skip to content
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

[rustbuild] Should print what command it couldn’t execute #38228

Closed
nagisa opened this issue Dec 7, 2016 · 1 comment
Closed

[rustbuild] Should print what command it couldn’t execute #38228

nagisa opened this issue Dec 7, 2016 · 1 comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@nagisa
Copy link
Member

nagisa commented Dec 7, 2016

Rustbuild now prints

failed to execute command: No such file or directory (os error 2)

which is very not helpful.

@vadimcn
Copy link
Contributor

vadimcn commented Dec 7, 2016

I've hit this one too: When there's a stale config.mk in Rust's root directory, bootstrap reads paths from there and tries to convert them into windows format using cygpath (which it, of course, can't find since we are not running in msys shell).

The error message comes from this line in build_helper (called from here).

alexcrichton added a commit to alexcrichton/rust that referenced this issue Dec 8, 2016
Just ensure that we always print out the command line which should aid in
debugging.

Closes rust-lang#38228
@sanxiyn sanxiyn added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Dec 8, 2016
bors added a commit that referenced this issue Dec 10, 2016
rustbuild: Print out failing commands

Just ensure that we always print out the command line which should aid in
debugging.

Closes #38228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

3 participants