[Pkg-rust-maintainers] Bug#1038135: rust-diesel: librust-diesel-dev uninstallable on 32-bit archs

Steve Langasek steve.langasek at canonical.com
Thu Jun 15 21:32:41 BST 2023


Package: rust-diesel
Version: 2.0.3-1
Severity: serious
Tags: patch
Justification: uninstallable
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu mantic ubuntu-patch

Dear maintainers,

rust-diesel is not migrating to Debian testing because it depends on
librust-pq-sys-dev and librust-mysqlclient-sys-dev, neither of which is
buildable on 32-bit archs; but it does not build-depend on these packages,
so librust-diesel-dev builds uninstallable binary packages.

Either rust-diesel should build-depend on these packages so that binaries
are not built on architectures where they're unavailable, or the
dependencies should be relaxed so that the packages are installable.

For the moment, I've opted for the first of these in Ubuntu.  See attached
patch.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru rust-diesel-2.0.3/debian/control rust-diesel-2.0.3/debian/control
--- rust-diesel-2.0.3/debian/control	2023-02-10 03:05:35.000000000 -0800
+++ rust-diesel-2.0.3/debian/control	2023-06-15 13:22:18.000000000 -0700
@@ -8,7 +8,9 @@
  libstd-rust-dev <!nocheck>,
  librust-diesel-derives-2.0+32-column-tables-dev <!nocheck>,
  librust-diesel-derives-2.0+default-dev <!nocheck>,
- librust-diesel-derives-2.0+with-deprecated-dev <!nocheck>
+ librust-diesel-derives-2.0+with-deprecated-dev <!nocheck>,
+ librust-pq-sys-dev,
+ librust-mysqlclient-sys-dev
 Maintainer: Debian Rust Maintainers <pkg-rust-maintainers at alioth-lists.debian.net>
 Uploaders:
  kpcyrd <git at rxv.cc>,


More information about the Pkg-rust-maintainers mailing list