Source: rustc
Severity: normal

The packages libstd-rust-dev and libstd-rust-${soname} have a hardcoded
Pre-Depends on multiarch-support which is only useful for partial
upgrades from Squeeze and should not be used these days, in fact
debhelper has stopped from injecting it in version 9.20150501 (see
#783898).

Normally I would not report this problem since there is already a
lintian error for it, but you chose to override rather than fix in
commit 4b15ddbb78b2646a6eb7adca28d935ef27446d13.  Attached is a patch
against git master which removes the Pre-Depends and the lintian
override.

>From 67507707eae7a19c4492d4549cdafd496a1b850b Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Sat, 25 Feb 2017 09:10:19 +0100
Subject: [PATCH] Drop Pre-Depends on multiarch-support

---
 debian/control                  | 3 +--
 debian/source/lintian-overrides | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)
 delete mode 100644 debian/source/lintian-overrides

diff --git a/debian/control b/debian/control
index cd5d7471a..a7d6f6471 100644
--- a/debian/control
+++ b/debian/control
@@ -73,7 +73,7 @@ Package: libstd-rust-1.15
 Section: libs
 Architecture: any
 Multi-Arch: same
-Pre-Depends: multiarch-support, ${misc:Pre-Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Rust standard libraries
  Rust is a curly-brace, block-structured expression language.  It
@@ -94,7 +94,6 @@ Package: libstd-rust-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Pre-Depends: multiarch-support
 Depends: ${misc:Depends}, libstd-rust-1.15 (= ${binary:Version})
 Description: Rust standard libraries - development files
  Rust is a curly-brace, block-structured expression language.  It
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 100644
index 531d04718..000000000
--- a/debian/source/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-rustc source: pre-depends-directly-on-multiarch-support libstd-rust-dev
-rustc source: pre-depends-directly-on-multiarch-support libstd-rust-1.15
-- 
2.11.0

Reply via email to