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

Bug#859304: unblock: sra-sdk/2.8.1-2+dfsg-2



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

Please unblock package sra-sdk

Just applied the patch by Graham Inggs to fix #859261

(include/attach the debdiff against the package in testing)

unblock sra-sdk/2.8.1-2+dfsg-2

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru sra-sdk-2.8.1-2+dfsg/debian/changelog sra-sdk-2.8.1-2+dfsg/debian/changelog
--- sra-sdk-2.8.1-2+dfsg/debian/changelog	2017-01-24 09:05:43.000000000 +0100
+++ sra-sdk-2.8.1-2+dfsg/debian/changelog	2017-04-01 23:06:00.000000000 +0200
@@ -1,3 +1,11 @@
+sra-sdk (2.8.1-2+dfsg-2) unstable; urgency=medium
+
+  * Fix install dir by using DEB_HOST_MULTIARCH instead of DEB_BUILD_GNU_TYPE
+    (thanks for the patch to Graham Inggs <ginggs@debian.org>)
+    Closes: #859261
+
+ -- Andreas Tille <tille@debian.org>  Sat, 01 Apr 2017 23:06:00 +0200
+
 sra-sdk (2.8.1-2+dfsg-1) unstable; urgency=medium
 
   * New upstream bugfix release
diff -Nru sra-sdk-2.8.1-2+dfsg/debian/rules sra-sdk-2.8.1-2+dfsg/debian/rules
--- sra-sdk-2.8.1-2+dfsg/debian/rules	2017-01-24 09:05:43.000000000 +0100
+++ sra-sdk-2.8.1-2+dfsg/debian/rules	2017-04-01 23:06:00.000000000 +0200
@@ -9,7 +9,7 @@
 	dh $@
 
 OUTDIR=$(CURDIR)/debian/tmp
-BUILDTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_auto_clean:
 
@@ -23,14 +23,14 @@
 override_dh_auto_configure:
 	# output dir will be checked so create it before
 	mkdir -p debian/tmp/usr/lib
-	ln -s /usr/lib/$(BUILDTYPE) debian/tmp/usr/lib
+	ln -s /usr/lib/$(MULTIARCH) debian/tmp/usr/lib
 	#
         # that's no standard configure script lacking support of default options
 	#
 	# --with-debug sets some options that require header files like compiler.h which
 	# is internal to ncbi-vcb and not installed into the package - so this option
 	# should not be used.
-	./configure --build=$(BUILDTYPE) --prefix=$(CURDIR)/debian/tmp/usr --build-prefix=$(CURDIR)/debian/tmp/usr --with-ngs-sdk-prefix=/usr
+	./configure --build=$(MULTIARCH) --prefix=$(CURDIR)/debian/tmp/usr --build-prefix=$(CURDIR)/debian/tmp/usr --with-ngs-sdk-prefix=/usr
 
 override_dh_auto_build:
 	export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(OUTDIR)/lib"; export OUTDIR=$(OUTDIR) ; make DEB_CFLAGS="$(CFLAGS)" DEB_LDFLAGS="$(LDFLAGS)"

Reply to: