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

cxxbridge error: Failed to create symlink #938

Closed
jwinarske opened this issue Sep 24, 2021 · 2 comments · Fixed by #939
Closed

cxxbridge error: Failed to create symlink #938

jwinarske opened this issue Sep 24, 2021 · 2 comments · Fixed by #939

Comments

@jwinarske
Copy link

jwinarske commented Sep 24, 2021

Seeing the following intermittent build failure in our pipeline builds. Ubuntu 20 based container. It occasionally fails.

cxxbridge error: Failed to create symlink `/builds/-F39GCyv/2/.../target/cxxbridge/rust/cxx.h` pointing to `/builds/-F39GCyv/2/.../.cargo/registry/src/github.com-1ecc6299db9ec823/cxx-1.0.49/include/cxx.h`

 Caused by:

File exists (os error 17)

Could be file is not synchronized to disk, and the create symlink call is reading through to disk?

@dtolnay
Copy link
Owner

dtolnay commented Sep 24, 2021

Sounds like a race condition! Sorry about the flakiness. I've published a fix in cxx-build 1.0.55.

@jwinarske
Copy link
Author

Thanks! We'll see how it goes and re-open if it pops up again.

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