[Pkg-rust-maintainers] Bug#1019570: librust-cbindgen-dev has been removed from Bullseye

Emilio Pozuelo Monfort pochu at debian.org
Sun Sep 17 10:39:45 BST 2023


Hi Nick,

On 12/09/2022 11:21, Nick Brown wrote:
> Package: rust-cbindgen
> Version:  0.23.0-1~deb11u1
> Severity: important
> 
>   The NMU of 0.23.0-1~deb11u1 replaced 0.20.0-1~deb11u1 in Debian Bullseye
> and in doing so removed librust-cbindgen-dev and librust-cbindgen+clap-dev
> 
> https://tracker.debian.org/news/1345484/accepted-rust-cbindgen-0230-1deb11u1-source-into-proposed-updates-stable-new-proposed-updates/
> 
> https://sources.debian.org/src/rust-cbindgen/0.23.0-1~deb11u1/debian/control/#L35
> 
> This means that any debian packages (or 3rd party debian packaged) that were built using librust-cbindgen-dev will no longer do so.
> 
> I had 3rd party debian packages that were being built against ibrust-cbindgen-dev that no longer builds, and only work around is now vendor ibrust-cbindgen-dev.
> 
> Why was ibrust-cbindgen-dev removed? Can it be restored?

Sorry for the delay in answering this. I'm in the process of updating cbindgen 
again, and remembered that you asked about this. The reason I disabled it is 
that cbindgen is now embedding all the build-dependencies, since newer versions 
and new dependencies are added that are not found in bullseye. That means that 
librust-cbindgen-dev can't depend on those packages, and I'm not sure if we 
could ship those extra sources in that package and how that would interact with 
other packages in the ecosystem.

If you know of a package that is doing the same thing and still providing a -dev 
package, I can take a look.

Cheers,
Emilio



More information about the Pkg-rust-maintainers mailing list