clux/muslrust

Unable to build prost due to old version of cmake on ubuntu:xenial

luke-biel opened this issue · 3 comments

Cmake-rs (rust-lang/cmake-rs#131) and by dependency prost has recently bumped cmake dependency to 3.12 (with use of --parallel cmd line flag). As muslrust uses ubuntu 16.04, it's apt repositories only support downloading 3.5.1.

An os version bump would be nice there.

clux commented

Ah, damn. Thanks for the heads up.
Last I checked that was actually quite complicated due to #21, and I won't have time to experiment with the next two weeks.

I think there might be some cmake backports available. If you are able, I can take a PR doing something like that because that's likely to be a lot simpler.

There's no rush in this case, I wanted to inform about this because cmake-rs seems like dependency that is used by many crates.

Workaround in my case was to fetch the repo and manually change ubuntu to jammy. Build went fine and all crates compiled. It's weird, because we have ring in Cargo.lock. No rocket though, as servers run on axum.

clux commented

have upgraded today, new images are built with jammy.

admittedly this is a bit of a sharp break because we have no tagging scheme to distinguish between xenial andjammy, but hopefully it's something that's not too hard to work around.