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

ccache gcc not found #33285

Closed
Manishearth opened this issue Apr 30, 2016 · 1 comment
Closed

ccache gcc not found #33285

Manishearth opened this issue Apr 30, 2016 · 1 comment

Comments

@Manishearth
Copy link
Member

I'm building Rust with --enable-ccache, it fails at the miniz step:

compile: x86_64-unknown-linux-gnu/rt/miniz.o
make: ccache gcc: Command not found
/home/manishearth/Mozilla/rust/mk/rt.mk:90: recipe for target 'x86_64-unknown-linux-gnu/rt/miniz.o' failed
make: *** [x86_64-unknown-linux-gnu/rt/miniz.o] Error 127
@alexcrichton
Copy link
Member

This is due to #33093, specifically this line. The problem is that --enable-ccache exports CC="ccache gcc" and it's ambiguous whether that's a file name with a space in it or two arguments.

alexcrichton added a commit to alexcrichton/rust that referenced this issue May 5, 2016
We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 5, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 5, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 5, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 6, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue May 7, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 7, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
steveklabnik added a commit to steveklabnik/rust that referenced this issue May 7, 2016
…nkfelix

mk: Fix building with --enable-ccache

We will no longer use `ccache` in the makefiles for our local dependencies like
miniz, but they're so small anyway it doesn't really matter.

Closes rust-lang#33285
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

2 participants