Your message dated Sun, 26 Sep 2021 09:54:18 +0000
with message-id <[email protected]>
and subject line Bug#928898: fixed in t2n 0.6-7
has caused the Debian Bug report #928898,
regarding t2n FTCBFS: multiple reasons
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 [email protected]
immediately.)


-- 
928898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928898
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: t2n
Version: 0.6-6
Tags: patch
User: [email protected]
Usertags: rebootstrap

t2n fails to cross build from source, because it does not pass cross
tools to make. The easiest way to fix that - using dh_auto_build - is
not sufficient here, because the Makefile hard codes gcc in one place
and uses a non-standard compiler variable name "LK". The attached patch
fixes all of that. Please consider applying it.

Helmut
diff --minimal -Nru t2n-0.6/debian/changelog t2n-0.6/debian/changelog
--- t2n-0.6/debian/changelog    2017-08-01 10:15:56.000000000 +0200
+++ t2n-0.6/debian/changelog    2019-05-12 20:22:00.000000000 +0200
@@ -1,3 +1,13 @@
+t2n (0.6-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Also pass the C++ compiler as LK.
+    + cross.patch: Don't hardcode gcc.
+
+ -- Helmut Grohne <[email protected]>  Sun, 12 May 2019 20:22:00 +0200
+
 t2n (0.6-6) unstable; urgency=medium
 
   * Corrected section in d/gbp.conf.
diff --minimal -Nru t2n-0.6/debian/patches/cross.patch 
t2n-0.6/debian/patches/cross.patch
--- t2n-0.6/debian/patches/cross.patch  1970-01-01 01:00:00.000000000 +0100
+++ t2n-0.6/debian/patches/cross.patch  2019-05-12 20:22:00.000000000 +0200
@@ -0,0 +1,11 @@
+--- t2n-0.6.orig/Makefile
++++ t2n-0.6/Makefile
+@@ -41,7 +41,7 @@
+      $(OBJDIR)/ezargs.o 
+ 
+ $(OBJDIR)/usbscan: $(SRCDIR)/usbscan.c
+-      gcc $(CFLAGS) $(LDFLAGS) $(SRCDIR)/usbscan.c $(LIBS) -o 
$(OBJDIR)/usbscan
++      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCDIR)/usbscan.c $(LIBS) -o 
$(OBJDIR)/usbscan
+ 
+ $(OBJDIR)/$(MAIN) : $(OBJS)
+       $(LK) $(LDFLAGS) $(OBJS) $(LIBS) -o $(OBJDIR)/$(MAIN)
diff --minimal -Nru t2n-0.6/debian/patches/series t2n-0.6/debian/patches/series
--- t2n-0.6/debian/patches/series       2016-09-12 09:18:29.000000000 +0200
+++ t2n-0.6/debian/patches/series       2019-05-12 20:22:00.000000000 +0200
@@ -1 +1,2 @@
 01-readme-typo.patch
+cross.patch
diff --minimal -Nru t2n-0.6/debian/rules t2n-0.6/debian/rules
--- t2n-0.6/debian/rules        2016-07-09 09:17:40.000000000 +0200
+++ t2n-0.6/debian/rules        2019-05-12 20:22:00.000000000 +0200
@@ -9,4 +9,4 @@
 
 override_dh_auto_build:
 #      post hardenning options to Makefile
-       make LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)"
+       dh_auto_build -- LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get 
CPPFLAGS)" LK='$$(CXX)'

--- End Message ---
--- Begin Message ---
Source: t2n
Source-Version: 0.6-7
Done: Petter Reinholdtsen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
t2n, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated t2n 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 25 Sep 2021 22:05:03 +0200
Source: t2n
Architecture: source
Version: 0.6-7
Distribution: unstable
Urgency: medium
Maintainer: Debian LEGO Team <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Closes: 928898
Changes:
 t2n (0.6-7) unstable; urgency=medium
 .
   * Updated Standards-Version from 4.0.0 to 4.6.0.
   * Updated Vcs info in d/control with new salsa location.
   * Switch appstream metadata ID to reverse domain-name.
   * Fix cross building problems (Closes: #928898)
   * Updated debhelper level from 10 to 13.
   * Corrected package priority from extra to optional.
   * Mark package to not need root access during build.
Checksums-Sha1:
 87affe834a3d15c2fdfc99dcff0071e7c9ce4c23 1873 t2n_0.6-7.dsc
 d2b5a80a30a96f17090fc49d5e7e7941cb59ca32 4484 t2n_0.6-7.debian.tar.xz
 4a2e9017b1146e36d599715c3fd561499a45cee9 6158 t2n_0.6-7_source.buildinfo
Checksums-Sha256:
 02ab1a196fb4325efcbc619fa58187536bb11ee20aa7585ac19240f52e0f15a6 1873 
t2n_0.6-7.dsc
 b4b32ada3c68f6da8acd766059b3718cec9aa4a84e85ecfc133e9b163622bd0d 4484 
t2n_0.6-7.debian.tar.xz
 db031ee75ebd1592df1042857fc78650e248e5491b99bbf8facd1cec729b6bee 6158 
t2n_0.6-7_source.buildinfo
Files:
 4b70b85de0a84a1f01cb213e812093d3 1873 electronics optional t2n_0.6-7.dsc
 df50d4c1bdd4f9b744291c7d8a5bc760 4484 electronics optional 
t2n_0.6-7.debian.tar.xz
 7f0d8279b7cc1e7c56e672a8412cd30c 6158 electronics optional 
t2n_0.6-7_source.buildinfo

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

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmFPgTwACgkQgSgKoIe6
+w5FZQ//Q7K+X91kSfyntDny7I+PHvnQvn6OGb7NnGCnTQDiz7rsQLYjjwF3To3r
R7QvmVeYBt3CZr16VzGKPHeuX1A6GO4YmpopLml3C0kIbx7kFa4Je8GTHZx2C/Ev
Jt4MQibXZjHxwVG4zXkFg7rVGQE7XVtpW2UMqzNuDuSp4QWZJVJ/BBMI50IN7NPV
XqQ1R4/XBotwaoXBDyg7dcYpwPd4ophUKH+BraOjbAbYf3fNNm4PbQ/BjvNVMrrL
kNqRxJ8E6tiJSzHN4pz3Ka/xL0D+FTD3nsqfpohb4H+Gu6tBAGNwAEFmbKuqAwiZ
U2e2B8V3Hk6cXzwM3484oqNa2YXB8TlmkYVmR80ApomFBoBVdxIfFeY3A+ZOzEqU
ilxBKNll177TOlCKUeLp5CUXbrBpLI2k8FsDGKfGklkbLI+angFrC9CxnpjdHYVn
U3ucIn06yzA+bV0lUl5Oy8mr/ogFPVPtuUEBrSOi1LbM/SGc7i4OBfoSJqY7+MEv
gHRs6vcwSv/W+xsT5ceqJQybCWkjz48nmhhmLUFBK0WHpHnwY1JzXrmkvXOjSq0M
uBIXtY1mAW20c5xQcmPTorBwLJcBsyEz14mKsB4qY0Fb+b9dBp+C8IjhAnVNdlOG
dU8kmOy8LTKPZO/jAkhAA3c7dkXNmHtbeENw5Say9WJaXx3lqS4=
=q3el
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to