-
Notifications
You must be signed in to change notification settings - Fork 59
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
Travis build fails: "Read-only file system" #46
Comments
This is because Build scripts shouldn't modify the The "proper" way to pass version information is to write to a file in the target directory ( |
Thanks, this saved me a lot of time. I noticed that |
They don't. I think they should, to support this pattern. |
I am getting the same error but mine is due to the integration test I am running which produces a file as the output. I have tried writing outside of the source directory using |
You should be writing this file to a temporary directory with delete-on-drop semantics. That's the standard-ish practice. Check the tempdir crate. |
Thanks for that. Will give that a go. |
hey, do we want to add git to the Dockerfiles? I kinda already did the work hoodie/cross@a6eed71 |
Heatseeker has a build script that collects some build-time metadata and writes a version.rs file. After migrating to trust, Travis builds (except for builds targeting Darwin) are failing with the following error:
The custom build command never caused any problems before, and somehow it's still not causing problems for Darwin builds. I'm not sure if the problem is in the trust template, my adaptation of it, or Travis itself.
The text was updated successfully, but these errors were encountered: