-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
"make" on OSX fails #11862
Comments
Do you have the full log of a session? I just tried to reproduce this but was unable to. |
Here's the output of "make": https://github.com/rstout/misc/blob/master/make_output.txt and the output of "make --print-data-base": https://raw2.github.com/rstout/misc/master/make_print_data_base.txt |
Do you have some symlinks in your path? It looks like it's using |
The issue still occurs after getting rid of all the "alias" declarations in my .bash_profile |
Oh sorry, by path I mean the path to the rust source code. |
No, there aren't any symlinks in my path (I used ls -l to determine this) |
This issue has gone away when building from master today (2/4/14) |
got same issue ... today |
It seems very unlikely this is the same root cause, so can you open a new issue with the full build log? |
llvm[2]: Constructing LLVMBuild project information. the Makefile path is repeating something... |
I still somewhat doubt that this is the same issue. Could you post a full build log in a new issue? |
new issue #24887 |
…t-loop-over-range, r=llogiq suggest alternatives to iterate an array of ranges works towards rust-lang#7125 changelog: [`single_element_loop`]: suggest better syntax when iterating over an array of a single range `@thinkerdreamer` and myself worked on this issue during a workshop by `@llogiq` at the RustLab 2023 conference. It is our first contribution to clippy. When iterating over an array of only one element, _which is a range_, our change suggests to replace the array with the contained range itself. Additionally, a hint is printed stating that the user probably intended to iterate over the range and not the array. If the single element in the array is not a range, the previous suggestion in the form of `let {pat_snip} = {prefix}{arg_snip};{block_str}`is used. This change lints the array with the single range directly, so any prefixes or suffixes are covered as well.
OSX 10.9.1
Commands I ran leading up to the issue:
"make install" outputs the following error message:
The issue is that the path "home/rust/x86_64-apple-darwin/llvm/Makefile" has been appended to the path "/home/rust/src/llvm", and I imagine that the path should just be "home/rust/x86_64-apple-darwin/llvm/Makefile". Looking at the output of "make --print-data-base", I found:
There are other variables that are assigned the same broken path that PROJ_SRC_DIR is, but after my preliminary debugging I think PROJ_SRC_DIR might be the culprit. On line 55 of rust/x86_64-apple-darwin/llvm/Makefile.config:
I've only ever written the most trivial of Makefiles, so I don't really know how to continue here.
The text was updated successfully, but these errors were encountered: