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

Sandbox script doesn't work with newer versions of ccache #4079

Closed
lpw25 opened this issue Jan 31, 2020 · 2 comments · Fixed by #4087
Closed

Sandbox script doesn't work with newer versions of ccache #4079

lpw25 opened this issue Jan 31, 2020 · 2 comments · Fixed by #4087
Milestone

Comments

@lpw25
Copy link
Contributor

lpw25 commented Jan 31, 2020

It seems that ccache 3.7 changed the name of its --print-config argument to --show-config. This means that the sandboxing script is now broken if you use ccache with a customized ccache_dir. It seems that --print-config/--show-config is available as -p both before and after the rename -- so the easiest fix is probably to use that.

@lpw25
Copy link
Contributor Author

lpw25 commented Jan 31, 2020

The symptoms of this are that any package that uses the C compiler in its build will fail with weird errors. In particular, the OCaml's configure script will fail in very strange ways.

@rjbou
Copy link
Collaborator

rjbou commented Jan 31, 2020

Thanks for the report!
It can be convenient to also also an environment variable, to prevent future changes, like that no need to go change the sandbox script in case of ccache dir misdetection.

@rjbou rjbou added this to the 2.1.0 milestone Mar 3, 2020
@rjbou rjbou modified the milestones: 2.1.0~alpha, 2.0.8 Jan 6, 2021
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

Successfully merging a pull request may close this issue.

2 participants