Package: src:freeipmi
Followup-For: Bug #829085

  Hi,

  Due to this bug, other packages are marked for removal. So, I prepared a
quick fix (switching packages from arch:all to arch:any) that avoid too
invasive modifications (such as removing --link-doc and doing a symlink
transition).
  I intend to upload this NMU to delayed-7 today. Feel free to upload
another fix if you wish (I'm really *not* sure my proposal is the good one
as it means that data will be duplicated in the archive) but I would really
avoid conman to be removed from the archive (we need it on some specific
hardware)

  Regards,
    Vincent

PS: the patch in attachment is created on top of your git tree, not on
top of the current sources (ie "Remove myself (Ferenc) from Uploaders"
was present).

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From 3f280220d3ea2b714c6b2e1d65b023c028e84f2e Mon Sep 17 00:00:00 2001
From: Vincent Danjean <[email protected]>
Date: Mon, 5 Sep 2016 10:29:45 +0200
Subject: [PATCH] Fix "not binNMU safe" (Closes: #829085)

freeipmi-common and freeipmi are now arch:any instead of arch:all
A better fix can be found later if required
Removing --link-doc would require a symlink transition, that is too invasive for an NMU
---
 debian/changelog |  8 ++++++++
 debian/control   | 30 +++++++++++++++---------------
 2 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cd286a1..2c7d179 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+freeipmi (1.4.11-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "not binNMU safe" (Closes: #829085) by making freeipmi-common
+    arch:any instead of arch:all. A better fix can be found later if required.
+
+ -- Vincent Danjean <[email protected]>  Mon, 05 Sep 2016 09:55:48 +0200
+
 freeipmi (1.4.11-1) unstable; urgency=medium
 
   * [186d83b] Merge tag 'upstream/1.4.11'
diff --git a/debian/control b/debian/control
index 27b2b01..508aa32 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-freeipmi/pkg-freeipmi.git
 Vcs-git: git://anonscm.debian.org/pkg-freeipmi/pkg-freeipmi.git
 
 Package: freeipmi-common
-Architecture: all
+Architecture: any
 Depends: ${misc:Depends}
 Pre-Depends: dpkg (>=1.15.7.2~)
 Suggests: freeipmi-tools
@@ -28,7 +28,7 @@ Description: GNU implementation of the IPMI protocol - common files
 
 Package: freeipmi-tools
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Suggests: freeipmi-ipmidetect, freeipmi-bmc-watchdog
 Description: GNU implementation of the IPMI protocol - tools
  FreeIPMI is a collection of Intelligent Platform Management IPMI
@@ -57,7 +57,7 @@ Description: GNU implementation of the IPMI protocol - tools
 Package: freeipmi-bmc-watchdog
 Architecture: any
 Pre-Depends: dpkg (>=1.15.7.2~)
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-tools, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-tools, freeipmi-common (= ${binary:Version})
 Description: GNU implementation of the IPMI protocol - BMC watchdog
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -68,7 +68,7 @@ Description: GNU implementation of the IPMI protocol - BMC watchdog
 
 Package: freeipmi-ipmidetect
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Pre-Depends: dpkg (>=1.15.7.2~)
 Description: GNU IPMI - IPMI node detection tool
  FreeIPMI is a collection of Intelligent Platform Management IPMI
@@ -81,7 +81,7 @@ Description: GNU IPMI - IPMI node detection tool
 Package: freeipmi-ipmiseld
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends},
- freeipmi-common (= ${source:Version}),
+ freeipmi-common (= ${binary:Version}),
  sysvinit-utils (>= 2.88dsf-50~),
 Pre-Depends: dpkg (>=1.15.7.2~)
 Description: GNU IPMI - IPMI node detection tool
@@ -96,7 +96,7 @@ Description: GNU IPMI - IPMI node detection tool
 Package: libfreeipmi16
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - libraries
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -108,7 +108,7 @@ Description: GNU IPMI - libraries
 Package: libfreeipmi-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libfreeipmi16 (= ${binary:Version}), freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libfreeipmi16 (= ${binary:Version}), freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - development package
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -120,7 +120,7 @@ Description: GNU IPMI - development package
 Package: libipmidetect0
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - IPMI node detection library
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -132,7 +132,7 @@ Description: GNU IPMI - IPMI node detection library
 Package: libipmidetect-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libipmidetect0 (= ${binary:Version}), freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libipmidetect0 (= ${binary:Version}), freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - ipmidetect development package
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -144,7 +144,7 @@ Description: GNU IPMI - ipmidetect development package
 Package: libipmimonitoring5a
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - Sensor monitoring library
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -156,7 +156,7 @@ Description: GNU IPMI - Sensor monitoring library
 Package: libipmimonitoring-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libipmimonitoring5a (= ${binary:Version}), freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libipmimonitoring5a (= ${binary:Version}), freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - ipmimonitoring development package
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -168,7 +168,7 @@ Description: GNU IPMI - ipmimonitoring development package
 Package: libipmiconsole2
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - Serial-over-Lan library
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -180,7 +180,7 @@ Description: GNU IPMI - Serial-over-Lan library
 Package: libipmiconsole-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libipmiconsole2 (= ${binary:Version}), freeipmi-common (= ${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libipmiconsole2 (= ${binary:Version}), freeipmi-common (= ${binary:Version})
 Description: GNU IPMI - ipmiconsole development package
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
@@ -190,8 +190,8 @@ Description: GNU IPMI - ipmiconsole development package
  This is the development package for libipmiconsole.
 
 Package: freeipmi
-Architecture: all
-Depends: ${misc:Depends}, freeipmi-tools, freeipmi-ipmidetect, freeipmi-bmc-watchdog, freeipmi-common (= ${source:Version})
+Architecture: any
+Depends: ${misc:Depends}, freeipmi-tools, freeipmi-ipmidetect, freeipmi-bmc-watchdog, freeipmi-common (= ${binary:Version})
 Description: GNU implementation of the IPMI protocol
  FreeIPMI is a collection of Intelligent Platform Management IPMI
  system software. It provides in-band and out-of-band software and a
-- 
2.9.3

Reply via email to