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

librclone-sys fails due to golang build dependency #1515

Closed
trevyn opened this issue Oct 5, 2021 · 4 comments
Closed

librclone-sys fails due to golang build dependency #1515

trevyn opened this issue Oct 5, 2021 · 4 comments

Comments

@trevyn
Copy link

trevyn commented Oct 5, 2021

Crate name

librclone-sys

Build failure link

https://docs.rs/crate/librclone-sys/0.1.0/builds/444138

Additional details

This -sys crate runs a golang build, which fails at:

failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied

@jyn514
Copy link
Member

jyn514 commented Oct 6, 2021

See also #1303.

@trevyn
Copy link
Author

trevyn commented Oct 6, 2021

Ah. Due to the way Go does builds, I do not expect that this will work with a network restriction. Is there a way to get self-built docs onto docs.rs?

@jyn514
Copy link
Member

jyn514 commented Oct 6, 2021

@trevyn no, see #93

@jyn514
Copy link
Member

jyn514 commented Oct 6, 2021

If there's a way to vendor your dependencies into the published crate so Go doesn't try to download them, that could work.

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