Package: cdbs
Version: 0.4.142
Severity: normal
Tags: patch
Option --same-arch of debhleper is deprecated at compat level 10 [1].
The patch attached to this bug report fixes the code in buildvars.mk.
Rafael Laboissière
1.
https://anonscm.debian.org/git/debhelper/debhelper.git/commit/Debian/Debhelper/Dh_Getopt.pm?id=49656f59e5446c9707833bf81de351975cdedc3d
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (550, 'stable'), (500, 'proposed-updates'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.3.0-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
cdbs depends on no packages.
Versions of packages cdbs recommends:
ii autotools-dev 20160430.1
Versions of packages cdbs suggests:
ii devscripts 2.16.6
-- no debconf information
>From a4d4e22c8f14e8ef362bf95c0aae6d847edcb181 Mon Sep 17 00:00:00 2001
From: Rafael Laboissiere <raf...@debian.org>
Date: Mon, 22 Aug 2016 09:13:25 +0200
Subject: [PATCH] Avoid deprecated option --same-arch of debhelper
---
1/rules/buildvars.mk.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/1/rules/buildvars.mk.in b/1/rules/buildvars.mk.in
index d1995e0..61fd441 100644
--- a/1/rules/buildvars.mk.in
+++ b/1/rules/buildvars.mk.in
@@ -48,7 +48,7 @@ ifdef _cdbs_rules_debhelper
dh_listpackages -i))
DEB_ARCH_PACKAGES := $(filter-out $(DEB_INDEP_PACKAGES),\
$(strip $(shell \
- dh_listpackages -s)))
+ dh_listpackages -a)))
else
DEB_INDEP_PACKAGES := $(strip $(shell \
$(_cdbs_scripts_path)/list-packages indep))
--
2.8.1