[Debian-med-packaging] Bug#984890: assembly-stats FTCBFS: uses DEB_BUILD_GNU_TYPE

Nilesh Patra nilesh at debian.org
Tue Mar 9 19:09:24 GMT 2021


Package: assembly-stats
Version: 1.0.1+ds-2
Severity: normal
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: nilesh at debian.org

Dear Maintainer,

assembly-stats FTCBFS due to two reasons:

	* It forces compilation of test files, report with patch has
	  been submitted in #984889
	* It uses DEB_BUILD_GNU_TYPE for installing. Using this is never
	  right and it should and must be replaced with DEB_HOST_GNU_TYPE

Patch for the first reason is attached in the corresponding bug report #984889
The patch for the latter is attached below:

diff --git a/debian/rules b/debian/rules
index 9f13e4b..2a1e95a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,4 +15,4 @@ override_dh_auto_configure:
 	dh_auto_configure -- -DBUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)

 override_dh_auto_install:
-	dh_install obj-$(DEB_BUILD_GNU_TYPE)/assembly-stats usr/bin
+	dh_install obj-$(DEB_HOST_GNU_TYPE)/assembly-stats usr/bin

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages assembly-stats depends on:
ii  libc6       2.31-3
ii  libgcc-s1   11-20210220-1
ii  libstdc++6  11-20210220-1

assembly-stats recommends no packages.

assembly-stats suggests no packages.

-- no debconf information



More information about the Debian-med-packaging mailing list