Skip to content

flock in compiling vendoring libraries failed for NFS #116

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

Open
SidongYang opened this issue Apr 14, 2025 · 0 comments
Open

flock in compiling vendoring libraries failed for NFS #116

SidongYang opened this issue Apr 14, 2025 · 0 comments

Comments

@SidongYang
Copy link

Hi,
Thanks for a great crate.
We're using this crate with vendored feature in NFS. But it failed to compile libelf.
It seems that flock in build.rs returns EBADF and it needs write permission in NFS.
I temporary fixed the code to give write permission in openning, I see it works.

https://man7.org/linux/man-pages/man2/flock.2.html

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

1 participant