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

compilation process stuck on OS X #9590

Closed
lhatsk opened this issue Sep 28, 2013 · 2 comments
Closed

compilation process stuck on OS X #9590

lhatsk opened this issue Sep 28, 2013 · 2 comments

Comments

@lhatsk
Copy link

lhatsk commented Sep 28, 2013

OS: OS X 10.8.5
I was able to compile rust on 8-9-2013.
The problem seems to be twofold:
After upgrading the command line tools to xcode 5 (september '13) and executing

git clone https://github.com/mozilla/rust.git && cd rust/ && ./configure

configure is stuck at: configure: CFG_CCACHE with xcrun running at about 90% CPU utilization. I killed it after about 10min- rerunning it doesn't change anything.
I then installed xcode462_cltools_10_86938259a and was able to run ./configure successfully. The compilation process progressed up until libuv and was stuck again with xcrun running at about 90% CPU utilization. I killed it after 50min.
In the end I was able to compile rust after doing

sudo xcode-select -switch /usr/bin

The problem seems to be caused by a misconfiguration, but still, xcrun shouldn't just block (infinitely(?)).

rust 0.8 (01313a1 2013-09-27 06:21:22 -0700)
@samnardoni
Copy link

I have just run into this problem too. Running sudo xcode-select -switch /usr/bin fixed it for me.

@erickt
Copy link
Contributor

erickt commented May 1, 2014

We've been compiling on OS-X / XCode 5 for a bit now, so I'm going to close this ticket. If you see this again, please file a new bug. Thanks!

@erickt erickt closed this as completed May 1, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 20, 2022
Fix to_string_in_format_args in parens

Fix suggestions like

```
print!("error: something failed at {}", (Location::caller().to_string()));
```

where the parenthesis enclose some portion of the value.

Fixes rust-lang#9540

changelog: [`to_string_in_format_args`]: fix incorrect fix when value is enclosed in parenthesis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants