[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779701: unblock: multipath-tools/0.5.0-6



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package multipath-tools

There was a bug reported in multipath-tools udeb package, which affect
in the debian installer. Please see 779579 for details. This upload
fixes the udeb version.

The upload also fixes a documentation change, which was held back for
the next upload. It just deletes some old NEWS entry. For details,
please see 760189

unblock multipath-tools/0.5.0-6

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -Nru multipath-tools-0.5.0/debian/changelog multipath-tools-0.5.0/debian/changelog
--- multipath-tools-0.5.0/debian/changelog	2014-09-16 14:59:29.000000000 +0530
+++ multipath-tools-0.5.0/debian/changelog	2015-03-04 14:23:28.000000000 +0530
@@ -1,3 +1,10 @@
+multipath-tools (0.5.0-6) unstable; urgency=medium
+
+  [ Mauricio Faria de Oliveira ]
+  * Build multipath-udeb with static libgcc (Closes: #779579)
+
+ -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>  Tue, 03 Mar 2015 15:52:58 -0300
+
 multipath-tools (0.5.0-5) unstable; urgency=medium
 
   * [5f967eb] Better daemon status in init's status action.
diff -Nru multipath-tools-0.5.0/debian/NEWS multipath-tools-0.5.0/debian/NEWS
--- multipath-tools-0.5.0/debian/NEWS	2014-09-05 18:05:17.000000000 +0530
+++ multipath-tools-0.5.0/debian/NEWS	2014-09-18 13:44:59.000000000 +0530
@@ -12,19 +12,6 @@
 
  -- Ritesh Raj Sarraf <rrs@debian.org>  Fri, 05 Sep 2014 18:03:12 +0530
 
-multipath-tools (0.5.0-2) unstable; urgency=medium
-
-  multipath-tools closely relied on udev for manyu of its task.
-  With udev merging with systemd, the close dependency on systemd is
-  stronger.
-
-  In this release, we ship the upstream systemd service and socket
-  file in its pristine format. If you wish to use the traditional
-  init scripts, please disable the systemd service file and then
-  enable the init script
-
- -- Ritesh Raj Sarraf <rrs@debian.org>  Mon, 01 Sep 2014 14:14:11 +0530
-
 multipath-tools (0.4.7-2) unstable; urgency=low
 
   udev, which provides scsi_id, moved the binary to /lib/udev.
diff -Nru multipath-tools-0.5.0/debian/rules multipath-tools-0.5.0/debian/rules
--- multipath-tools-0.5.0/debian/rules	2014-09-05 17:44:33.000000000 +0530
+++ multipath-tools-0.5.0/debian/rules	2015-03-04 14:22:35.000000000 +0530
@@ -27,7 +27,7 @@
 
 build: build-arch build-indep
 
-build-arch: build-stamp
+build-arch: build-multipath-udeb-stamp build-stamp
 build-indep: build-stamp
 
 build-stamp:
@@ -39,15 +39,30 @@
 
 	touch $@
 
+# multipath-udeb: build separately; don't reference dynamic libgcc at runtime (#779579)
+build-multipath-udeb-stamp:
+	dh_testdir
+
+	DEB_CFLAGS_MAINT_APPEND="-static-libgcc" $(MAKE) $(OPTFLAGS) LIB=lib
+	
+	# store files for install target
+	mkdir -p $(CURDIR)/debian/tmp-multipath-udeb/sbin
+	$(MAKE) install INSTALL_PROGRAM=$(INSTALL_PROGRAM) DESTDIR=$(CURDIR)/debian/tmp-multipath-udeb LIB=lib
+
+	$(MAKE) clean
+
+	touch $@
+
 clean-tree:
 	$(MAKE) clean
 
 clean: clean-tree
 	dh_testdir
-	rm -f build-stamp
+	rm -f build-stamp build-multipath-udeb-stamp
 	dh_prep
 	debconf-updatepo
 	rm -rf debian/*.debhelper.log
+	rm -rf debian/tmp-multipath-udeb
 
 install:
 	dh_testdir
@@ -58,7 +73,8 @@
 	mkdir -p $(CURDIR)/debian/tmp/sbin
 	$(MAKE) install INSTALL_PROGRAM=$(INSTALL_PROGRAM) DESTDIR=$(CURDIR)/debian/tmp LIB=lib
 	install -m 755 debian/dmsetup_env $(CURDIR)/debian/tmp/lib/udev/
-	dh_install -X.rules --fail-missing --sourcedir=$(CURDIR)/debian/tmp
+	dh_install -X.rules --fail-missing -Nmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp
+	dh_install -X.rules --fail-missing -pmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp-multipath-udeb
 	# initramfs stuff:
 	install -D -m 755 debian/initramfs/hooks $(INITRAMFS)/hooks/multipath
 	install -D -m 755 debian/initramfs/local-top \

Reply to: