-
Notifications
You must be signed in to change notification settings - Fork 209
Closed
Labels
C-build-failureCategory: This is a crate that failed to buildCategory: This is a crate that failed to build
Description
Crate name: nannou
Build failure link: https://docs.rs/crate/nannou/0.12.0/builds/196525
Additional details:
The build seems to fail on the xcb dependency version 0.8.2, however this build has succeeded in the past and is currently available on docs.rs. This leads me to wonder if the cause is a bug in the latest rustdoc nightly. Is it possible to get the documentation re-built with stable?
Metadata
Metadata
Assignees
Labels
C-build-failureCategory: This is a crate that failed to buildCategory: This is a crate that failed to build
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
jyn514 commentedon Nov 8, 2019
Related: #229, #228
jyn514 commentedon Nov 8, 2019
Your build error doesn't seem to be related to the version of rust, though. cc @pietroalbini, do you intentionally make
/opt/rustwide/cargo-home
read-only?jyn514 commentedon Nov 8, 2019
It looks like
xcb
is a new dependency innannou 0.12
, I wonder if it's trying to write to part of the filesystem it's not supposed to. I know we changed the sandboxing pretty significantly about a month ago in the switch to rustwide: #407,xcb
hasn't been rebuilt since 2018: https://docs.rs/crate/xcb/0.8.2/builds/87332pietroalbini commentedon Nov 10, 2019
Yeah, otherwise a malicious crate could've messed up the state for other crates.
alberdingk-thijm commentedon Nov 21, 2019
I just tried building
xcb 0.8.2
myself usingdocker-compose run web build crate xcb 0.8.2
, and this appears to be what caused the problem.The crate has a python script
rs_client.py
which it uses to create some FFI files. The exact line it fails at isrs_client.py:114
.The good news is,
xcb 0.9.0
works fine, so I think ifx11-clipboard
(the dependency ofcopypasta
, the dependency ofconrod_core
, the dependency ofnannou
) upgrades to0.9.0
, this should be fixed.jyn514 commentedon Nov 21, 2019
Looks like this isn't a bug in docs.rs, going to close this.
mitchmindtree commentedon Nov 23, 2019
Thanks for digging into this @alberdingk-thijm!
alberdingk-thijm commentedon Dec 4, 2019
@jyn514, do you happen to know when docs.rs will try to build
nannou
(and the other crates related to this error inxcb
) again?jyn514 commentedon Dec 5, 2019
Rebuilding automagically is #464 . Currently someone has to schedule a manual build.
jyn514 commentedon Dec 5, 2019
This particular crate won't be helped by rebuilding however because it tries to write to a read only filesystem.
4 remaining items