#1019570 librust-cbindgen-dev has been removed from Bullseye

#1019570#5
Date:
2022-09-12 09:21:45 UTC
From:
To:
 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?

#1019570#10
Date:
2023-09-17 09:39:45 UTC
From:
To:
Hi Nick,

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