rust-lang/crates-build-env

Missing library libhandy

floers opened this issue · 8 comments

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

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

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

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?

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

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?

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

I think this should be possible after #120 :)

closing this, assuming it's not needed any more.

we're on 24.04 now, #168 so adding should be easy