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

Bug#888037: marked as done (scsitools FTCBFS: does not use cross tools)



Your message dated Fri, 26 Sep 2025 23:50:23 +0000
with message-id <E1v2ICl-002Los-2l@fasolo.debian.org>
and subject line Bug#888037: fixed in scsitools 0.14
has caused the Debian Bug report #888037,
regarding scsitools FTCBFS: does not use cross tools
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
888037: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888037
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: scsitools
Version: 0.12-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

scsitools fails to cross build from source, because it generally uses
build architecture tools. In most cases deferring to dh_auto_* fixes.
The explicit gcc invocations can be fixed with buildtools.mk. After
doing so, scsitools cross builds successfully. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru scsitools-0.12/debian/changelog scsitools-0.12/debian/changelog
--- scsitools-0.12/debian/changelog	2018-01-17 15:11:13.000000000 +0100
+++ scsitools-0.12/debian/changelog	2018-01-22 21:12:24.000000000 +0100
@@ -1,3 +1,12 @@
+scsitools (0.12-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_* pass cross flags along.
+    + Use host CC from buildtools.mk.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 22 Jan 2018 21:12:24 +0100
+
 scsitools (0.12-3) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru scsitools-0.12/debian/rules scsitools-0.12/debian/rules
--- scsitools-0.12/debian/rules	2018-01-17 14:54:00.000000000 +0100
+++ scsitools-0.12/debian/rules	2018-01-22 21:12:22.000000000 +0100
@@ -2,6 +2,7 @@
 # Derived from debhelper/dh_make example, and Cristoph Lameter's file. -joy
 
 #export DH_VERBOSE=1
+-include /usr/share/dpkg/buildtools.mk
 CFLAGS = -g -O2 -Wall -fsigned-char
 
 #architecture := $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -15,12 +16,12 @@
 	svn export svn+ssh://delaunay@svn.debian.org/svn/collab-maint/deb-maint/scsitools/branches/upstream/current/ .
 
 override_dh_auto_build:
-	cd scsiinfo && $(MAKE) KERNEL_INCLUDES="-fsigned-char" LDFLAGS=
-	cd scsidev && CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
-          --mandir='${prefix}'/share/man && $(MAKE)
-	cd sraw && gcc $(CFLAGS) -o sraw srawread.c
-	gcc $(CFLAGS) -o scsi-spin debian/scsi-spin.c
-	#dh_auto_build
+	dh_auto_build --buildsystem=makefile --builddirectory=scsiinfo -- \
+		KERNEL_INCLUDES="-fsigned-char" LDFLAGS=
+	dh_auto_configure --sourcedirectory=scsidev
+	dh_auto_build --sourcedirectory=scsidev
+	cd sraw && $(CC) $(CFLAGS) -o sraw srawread.c
+	$(CC) $(CFLAGS) -o scsi-spin debian/scsi-spin.c
 
 override_dh_auto_clean:
 	for i in scsiinfo scsidev ; do $(MAKE) -C $$i clean || true ; done

--- End Message ---
--- Begin Message ---
Source: scsitools
Source-Version: 0.14
Done: Chris Hofstaedtler <zeha@debian.org>

We believe that the bug you reported is fixed in the latest version of
scsitools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 888037@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated scsitools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 27 Sep 2025 01:36:11 +0200
Source: scsitools
Architecture: source
Version: 0.14
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 888037
Changes:
 scsitools (0.14) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Chris Hofstaedtler ]
   * Complete sraw removal
   * Complete scsifmt removal
   * Complete scsistop removal
   * Remove patch for kernel 2.2.14
   * Remove unnecessary dirs from debian/dirs
 .
   [ Helmut Grohne ]
   * Fix FTCBFS.
     Let dh_auto_* pass cross flags along.
     Use host CC from buildtools.mk. (Closes: #888037)
Checksums-Sha1:
 db3e4106289d293b4d011cc8493f03075b55bff2 1525 scsitools_0.14.dsc
 bf0ea63faab1081ea42d0319da5728fe71939acc 62840 scsitools_0.14.tar.xz
 9f935b87f87677f4a5cbacd2a063af7bbf6def01 6473 scsitools_0.14_arm64.buildinfo
Checksums-Sha256:
 be6497a2c1b000b58be8912766393aef1d4973f396ca39d51298f68e9d72d920 1525 scsitools_0.14.dsc
 67fb21d6c3dab2126f528146cc24c6ca49c85ef461e603dfb73a1828c62e75c2 62840 scsitools_0.14.tar.xz
 4e750c4013b3f27ac35de8e7883713f0319fa56bb087cb251443f0b52bbe777c 6473 scsitools_0.14_arm64.buildinfo
Files:
 ccc5c385653eed7f2c1600512b13c1bd 1525 utils optional scsitools_0.14.dsc
 da1dd019651670e307001c10ea6bb2f7 62840 utils optional scsitools_0.14.tar.xz
 d659e3eb6941d9e040485b6a094ab2cc 6473 utils optional scsitools_0.14_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmjXI8YACgkQXBPW25MF
LgNqxQ//b96hcSjTlPp42ngDPVknHvWZQ78JVOxSQhbJWIJXHRNUPV9PcT/sBZhJ
BbYspFbCgd3ExwHquTfhsED4ug4yOhcsHtHOdo3sb7h2zNnViQIwi6E33gmT7wby
3TxBQUG0LGWLvY0ATbGgv0fBek4vg4h6L2vn9bQHdMn0j/ONQM+BT/qvOT1NWfhE
GeHT2ZHGLgZRY0sLdXnISmCSIVgYwT/n45zTTYcitOMubIhHAL+oUIBNJZ3qKJst
eNWkKDbRAHNjX5PdGht0HjF/7G7aRwMZLxtgoJBDRMb8eo3b1FVojp1Vot8CvhUh
qFPQWi476rR46H2Sv35V+RbUYPHbhzdw+9wvjvTPk1LClFzdn3g/yJ+YadV5oUVZ
GBf2RngJj0nU7hBT2QYE0V7HwrWqYscCHjfo7k78oDh8WQidNc5yhe4AFIcLZK0K
THCR8Vijp85WRN52Bdp/tvVoFPmTnGzeKlfJiSSqZRD/SULN4UW0rbpmKjuIXj04
h2PbdG6DHQUziHVAYu2Pjp3mYiLAry6cJtlkZGflxkT6FTSgXF31iCOV64hOT1tE
mvxuRf3V+3/SAJxHzi0ssiUz/SvyYFQd3Uey9Lax4FNXhl49uiYkgMu4g9rPn7+y
OUePFt3bl7NdgXyKgjrT1Oq/pMTmcb6kHNHHmx1AlrQ13SqM7Nk=
=wjrT
-----END PGP SIGNATURE-----

Attachment: pgpjCkUSN0Lag.pgp
Description: PGP signature


--- End Message ---

Reply to: