Your message dated Fri, 04 Dec 2020 13:21:14 +0000
with message-id <[email protected]>
and subject line Bug#900915: fixed in gpw 0.0.19940601-10
has caused the Debian Bug report #900915,
regarding gpw FTCBFS: uses the build architecture compiler
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.)


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

gpw fails to cross build from source, because it uses the build
architecture compiler. Fixing that is not that simple. The program
loadtris is only run during build and not installed. As such it actually
needs to use the build architecture compiler. More precisely, the
makefile needs to handle two compilers. The attached patch implements
that and makes gpw cross build. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru gpw-0.0.19940601/debian/changelog 
gpw-0.0.19940601/debian/changelog
--- gpw-0.0.19940601/debian/changelog   2016-03-06 13:18:53.000000000 +0100
+++ gpw-0.0.19940601/debian/changelog   2018-06-06 19:26:29.000000000 +0200
@@ -1,3 +1,13 @@
+gpw (0.0.19940601-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: use a build architecture compiler for loadtris
+    + Let dh_auto_build pass cross compilers to make.
+    + export CC_FOR_BUILD
+
+ -- Helmut Grohne <[email protected]>  Wed, 06 Jun 2018 19:26:29 +0200
+
 gpw (0.0.19940601-9) unstable; urgency=medium
 
   * Package revamped for current times.
diff --minimal -Nru gpw-0.0.19940601/debian/patches/cross.patch 
gpw-0.0.19940601/debian/patches/cross.patch
--- gpw-0.0.19940601/debian/patches/cross.patch 1970-01-01 01:00:00.000000000 
+0100
+++ gpw-0.0.19940601/debian/patches/cross.patch 2018-06-06 19:26:29.000000000 
+0200
@@ -0,0 +1,23 @@
+--- gpw-0.0.19940601.orig/Makefile.Debian
++++ gpw-0.0.19940601/Makefile.Debian
+@@ -6,6 +6,7 @@
+ 
+ DEBUGARGS = -g 
+ COMPILER = $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
++CC_FOR_BUILD ?= $(CC)
+ 
+ # Edited for Debian GNU/Linux
+ DESTDIR=
+@@ -24,10 +25,10 @@
+       $(COMPILER) $(DEBUGARGS) -o gpw.o -c gpw.c
+ 
+ loadtris : loadtris.o
+-      $(COMPILER) $(DEBUGARGS) -o loadtris loadtris.o
++      $(CC_FOR_BUILD) $(DEBUGARGS) -o loadtris loadtris.o
+ 
+ loadtris.o : loadtris.c
+-      $(COMPILER) $(DEBUGARGS) -o loadtris.o -c loadtris.c
++      $(CC_FOR_BUILD) $(DEBUGARGS) -o loadtris.o -c loadtris.c
+ 
+ clean : 
+       rm -f gpw loadtris loadtris.o gpw.o trigram.h
diff --minimal -Nru gpw-0.0.19940601/debian/patches/series 
gpw-0.0.19940601/debian/patches/series
--- gpw-0.0.19940601/debian/patches/series      2016-03-06 13:08:22.000000000 
+0100
+++ gpw-0.0.19940601/debian/patches/series      2018-06-06 19:26:29.000000000 
+0200
@@ -1,2 +1,3 @@
 makefile
 loadtris
+cross.patch
diff --minimal -Nru gpw-0.0.19940601/debian/rules gpw-0.0.19940601/debian/rules
--- gpw-0.0.19940601/debian/rules       2016-03-06 12:09:16.000000000 +0100
+++ gpw-0.0.19940601/debian/rules       2018-06-06 19:26:29.000000000 +0200
@@ -11,6 +11,9 @@
 # package maintainers to append LDFLAGS
 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+-include /usr/share/dpkg/buildtools.mk
+export CC_FOR_BUILD ?= cc
+
 
 %:
        dh $@ 
@@ -21,7 +24,7 @@
        $(MAKE) -f Makefile.Debian clean
 
 override_dh_auto_build:
-       $(MAKE) -f Makefile.Debian
+       dh_auto_build -- -f Makefile.Debian
 
 override_dh_auto_install:
        $(MAKE) -f Makefile.Debian install DESTDIR=debian/gpw

--- End Message ---
--- Begin Message ---
Source: gpw
Source-Version: 0.0.19940601-10
Done: Francesco Paolo Lovergine <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gpw, 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.
Francesco Paolo Lovergine <[email protected]> (supplier of updated gpw 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: SHA512

Format: 1.8
Date: Fri, 04 Dec 2020 11:30:48 +0000
Source: gpw
Binary: gpw gpw-dbgsym
Architecture: source amd64
Version: 0.0.19940601-10
Distribution: unstable
Urgency: medium
Maintainer: Francesco Paolo Lovergine <[email protected]>
Changed-By: Francesco Paolo Lovergine <[email protected]>
Description:
 gpw        - Trigraph Password Generator
Closes: 900915 975469
Changes:
 gpw (0.0.19940601-10) unstable; urgency=medium
 .
   * Policy updated. Debhelper level set to 10.
   * Now using debian/Makefile instead of the obsolete Makefile.Debian added to
     source, so removed a patch and simplified a bit structure of changes.
   * Fixed for cross-compiling the debian way.
     Thanks Helmut Grohne <[email protected]>.
     (closes: #900915)
   * Added randnum.o taken from pwgen to better randomize the initial seed.
     Thanks to Carles Pina i Estany <[email protected]>.
     (closes: #975469)
Checksums-Sha1:
 ca8a23d39efa0061c6158d79e7644e2f369f05b9 1773 gpw_0.0.19940601-10.dsc
 ffe6c105e31db5703fa3b73c0b628813a675350e 6736 gpw_0.0.19940601-10.debian.tar.xz
 e11bfa28b910564e228557b9e12aa91467dd4a82 7164 
gpw-dbgsym_0.0.19940601-10_amd64.deb
 18080554b4d3132189cb8d5689fddbc3f0971c5a 6031 
gpw_0.0.19940601-10_amd64.buildinfo
 fec4cd38eb5bead2b9cc969dc908d90c4a3aadd0 17756 gpw_0.0.19940601-10_amd64.deb
Checksums-Sha256:
 8626f2930e78746af44c9cfda0b9005d823a7d4f8a856996b9f41ca9951c6931 1773 
gpw_0.0.19940601-10.dsc
 200994173de203dcf01e1af278bb17d8a112bb47455dc1c53e66dcaba2ad0109 6736 
gpw_0.0.19940601-10.debian.tar.xz
 2b8ab5a9804beeb1c20cdf7f3df69d497ca21ce54a5e6f17ae9db954cdc0c09b 7164 
gpw-dbgsym_0.0.19940601-10_amd64.deb
 2dc55413d2a2bf69cf8d01cd8950ac49259a12b57e6e87ca940acf279ad7e70d 6031 
gpw_0.0.19940601-10_amd64.buildinfo
 8fa8c18b679cd7ad7d5dc75d6caa848d0ec8866f84025c82a95742adf2077a54 17756 
gpw_0.0.19940601-10_amd64.deb
Files:
 0362a9fde9fabd0c0a22faa47f95c3aa 1773 utils optional gpw_0.0.19940601-10.dsc
 28c17d758e87216d74993d561c4564d1 6736 utils optional 
gpw_0.0.19940601-10.debian.tar.xz
 a31bfe3585dd6880a15ade52e87e3e7b 7164 debug optional 
gpw-dbgsym_0.0.19940601-10_amd64.deb
 62e47e47753c47804dacc5667ccc05a5 6031 utils optional 
gpw_0.0.19940601-10_amd64.buildinfo
 ec9bb40deca49a752e4c2e01529ba992 17756 utils optional 
gpw_0.0.19940601-10_amd64.deb

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

iQJHBAEBCgAxFiEEBXmpeiI46/m+Ye0CDwKl4RY2hqQFAl/KNAUTHGZyYW5raWVA
ZGViaWFuLm9yZwAKCRAPAqXhFjaGpNS8D/9hrsn+1JlOqzfMj9aYgSJOzVfaby5I
64tkQZ7XZT+LFxrsenVzwE6mtmQJ6i9rCtaaIX+Kxy0LpCCirCWdUkUniWDImksP
XFx6VRl5lR4laLXF+sRrGCxwNo56k5VmYuHWyNo7UGd46XrUGzH+5Bz5nKpTEseC
AvTVojE/uJn6TFu+eyvh9HJlCze0ae0n+eXAc+DS7HxmWBAoWnn4/RFSO6RuI/F1
bzLZjWjRYBaByRbT79RaIGHcgA7P3ZbWmihbbG6EAuCynH9Rf/W///sX5GqwNFjS
Z7EFymcnBEXtYqZiI2vwO+zoOs2Emn0UoqZ+jaZXWls8JZ0+YbWPyasLtYG2yrod
QUeo5Jdb1zQkl1hmz0OnmyFP3uM+kaAUtW27L9dEfpksqZxSCKapaKrtj3dH5s6A
7dE8NJm/S+EyhhVYxwfMB72DbDSsw8qS+EmmLMb2CdOq0jlrgnw+QhqAFwiXefRf
/udVSw/xIMHcG3/qz1FWTIYU/VZ6AY3ZT1nv0zXm6jp2rMLaGZ3QI97aje4gVNhR
tKZsgDnPBzc+rTKyPsGC6JMxrAjR1OgZvTfRaqZuNkyw6exyn8TlqkaX5JfkrwVv
YQ1XRv5Kicxu0aC6O+lxEr2CL36IJG9ISWb64ZoTCIHh4nPH9qrXpv/gqkUdKdNi
p/lcTgLKuMlydA==
=9BDi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to