rust-lang / crates-build-env

Build environment for third-party Rust crates
MIT License
67 stars 89 forks source link

Missing library libhandy #71

Open floers opened 3 years ago

floers commented 3 years ago

Building a crate with a dependency to the libhandy crate fails on docs.rs: https://docs.rs/crate/gstore/0.2.4/builds/358169

Affected crates: gstore Ubuntu 20.04 packages to install: libhandy-1-0

jyn514 commented 3 years ago

@floers are you interested in adding it yourself? https://forge.rust-lang.org/docs-rs/add-dependencies.html

floers commented 3 years ago

Actually I am! I will try it this weekend :)

floers commented 3 years ago

I just realized the libhandy package is not available in 20.04 focal which the dockerfile is based on. I guess that means I have to wait for the next LTS release?

jyn514 commented 3 years ago

Yes, unfortunately. You could try changing your build.rs so it doesn't link to libhandy, or vendoring it and building from source.

floers commented 3 years ago

Ok I'll try to build it from source. Thank you for your help :). Should I close this issue now? Is there a place to keep track of libraries to add when the docs.rs machine is upgraded?

jyn514 commented 3 years ago

This issue works fine to track upgrades that need a new OS version.

jyn514 commented 1 year ago

I think this should be possible after https://github.com/rust-lang/crates-build-env/pull/120 :)