You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All currently existing releases of the aws-lc-fips-sys crate failed to build their documentation on docs.rs. The error seems to indicate that it is trying to create a /.cache/go-build, and getting file permission denied issues.
The docs.rs "Diagnosing failed builds" / "Write attempt on read-only directories" [documentation] recommends configuring build.rs to get the cargo output directory via the OUT_DIR env var and using that as a place to write files.
Relevant details
AWS-LC for Rust versions or commit: 0.12.14, and all previous releases.
rust-lang/docs.rs#1303 is another reference for this: the docs.rs build environment has a golang installation, but does not set any of the environment variables that would make it usable.
I put up a PR that follows your suggestion of setting the GOCACHE environment variable in the build script. Once this gets merged, we'll post a patch release for aws-lc-fips-sys that (hopefully) gets our documentation properly built on docs.rs.
Problem:
All currently existing releases of the
aws-lc-fips-sys
crate failed to build their documentation on docs.rs. The error seems to indicate that it is trying to create a/.cache/go-build
, and getting file permission denied issues.This seems related to quinn-rs/quinn#2045
The docs.rs "Diagnosing failed builds" / "Write attempt on read-only directories" [documentation] recommends configuring
build.rs
to get the cargo output directory via theOUT_DIR
env var and using that as a place to write files.Relevant details
AWS-LC for Rust versions or commit: 0.12.14, and all previous releases.
System information: Ubuntu 22.04, allegedly.
Build log: [Build log for 0.12.14]
Build log
The text was updated successfully, but these errors were encountered: