Your message dated Wed, 10 May 2017 09:04:00 +0000
with message-id <[email protected]>
and subject line Bug#861342: fixed in pfb2t1c2pfb 0.3-11
has caused the Debian Bug report #861342,
regarding pfb2t1c2pfb 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.)


-- 
861342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861342
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pfb2t1c2pfb
Version: 0.3-10
Tags: patch
User: [email protected]
Usertags: rebootstrap

pfb2t1c2pfb fails to cross build from source, because it hard codes the
build architecture compiler (gcc). Cross building succeeds, after
replacing it with a triplet-prefixed host architecture compiler. Please
consider applying the attached patch after stretch is released.

Helmut
diff --minimal -Nru pfb2t1c2pfb-0.3/debian/changelog 
pfb2t1c2pfb-0.3/debian/changelog
--- pfb2t1c2pfb-0.3/debian/changelog    2013-07-15 16:08:41.000000000 +0200
+++ pfb2t1c2pfb-0.3/debian/changelog    2017-04-27 19:58:00.000000000 +0200
@@ -1,3 +1,10 @@
+pfb2t1c2pfb (0.3-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a triplet-prefixed compiler. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 27 Apr 2017 19:58:00 +0200
+
 pfb2t1c2pfb (0.3-10) unstable; urgency=low
 
   * Patch by Péter Szabó for pfb2t1c (crash when invalid content
diff --minimal -Nru pfb2t1c2pfb-0.3/debian/patches/04_cross.patch 
pfb2t1c2pfb-0.3/debian/patches/04_cross.patch
--- pfb2t1c2pfb-0.3/debian/patches/04_cross.patch       1970-01-01 
01:00:00.000000000 +0100
+++ pfb2t1c2pfb-0.3/debian/patches/04_cross.patch       2017-04-27 
19:58:00.000000000 +0200
@@ -0,0 +1,27 @@
+From: Helmut Grohne <[email protected]>
+Subject: allow overriding the compiler via CC
+
+Index: pfb2t1c2pfb-0.3/pfb2t1c.c
+===================================================================
+--- pfb2t1c2pfb-0.3.orig/pfb2t1c.c
++++ pfb2t1c2pfb-0.3/pfb2t1c.c
+@@ -1,6 +1,6 @@
+ #define DUMMY \
+ set -ex; \
+-gcc -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \
++${CC:-gcc} -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \
+   -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \
+   -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \
+   -Wmissing-declarations "$0" -o pfb2t1c; \
+Index: pfb2t1c2pfb-0.3/t1c2pfb.c
+===================================================================
+--- pfb2t1c2pfb-0.3.orig/t1c2pfb.c
++++ pfb2t1c2pfb-0.3/t1c2pfb.c
+@@ -1,6 +1,6 @@
+ #define DUMMY \
+ set -ex; \
+-gcc -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \
++${CC:-gcc} -DNDEBUG=1 $CFLAGS $CPPFLAGS $LDFLAGS -O3 -ansi -pedantic \
+   -Wall -W -Wstrict-prototypes -Wnested-externs -Winline \
+   -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \
+   -Wmissing-declarations "$0" -o t1c2pfb; \
diff --minimal -Nru pfb2t1c2pfb-0.3/debian/patches/series 
pfb2t1c2pfb-0.3/debian/patches/series
--- pfb2t1c2pfb-0.3/debian/patches/series       2013-07-15 15:48:06.000000000 
+0200
+++ pfb2t1c2pfb-0.3/debian/patches/series       2017-04-27 19:57:00.000000000 
+0200
@@ -1,3 +1,4 @@
 #01_no_strip.patch
 02_use_dpkg_buildflags.patch
 03_crash.patch
+04_cross.patch
diff --minimal -Nru pfb2t1c2pfb-0.3/debian/rules pfb2t1c2pfb-0.3/debian/rules
--- pfb2t1c2pfb-0.3/debian/rules        2012-03-07 10:02:05.000000000 +0100
+++ pfb2t1c2pfb-0.3/debian/rules        2017-04-27 19:57:54.000000000 +0200
@@ -10,7 +10,12 @@
 #export DH_VERBOSE=1
 
 DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/architecture.mk
 include /usr/share/dpkg/buildflags.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+export CC
 
 configure: configure-stamp
 configure-stamp:

--- End Message ---
--- Begin Message ---
Source: pfb2t1c2pfb
Source-Version: 0.3-11

We believe that the bug you reported is fixed in the latest version of
pfb2t1c2pfb, 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.
Hilmar Preuße <[email protected]> (supplier of updated pfb2t1c2pfb 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: Thu, 27 Apr 2017 19:58:00 +0200
Source: pfb2t1c2pfb
Binary: pfb2t1c2pfb
Architecture: source amd64
Version: 0.3-11
Distribution: unstable
Urgency: medium
Maintainer: Hilmar Preuße <[email protected]>
Changed-By: Hilmar Preuße <[email protected]>
Description:
 pfb2t1c2pfb - convert pfb into more compressible format and back
Closes: 861342
Changes:
 pfb2t1c2pfb (0.3-11) unstable; urgency=medium
 .
   * Fix FTCBFS: Use a triplet-prefixed compiler. (Closes: #861342)
     Thanks to Helmut Grohne <[email protected]>.
   * Standards-Version: 3.9.8, no changes needed.
Checksums-Sha1:
 81b68615cf17863db492ec8e3cf5d25cf3b86e22 1350 pfb2t1c2pfb_0.3-11.dsc
 ac1ab660288048e0e57f40629adc8b88842904ef 3964 pfb2t1c2pfb_0.3-11.debian.tar.xz
 24393d0444acbe0f82012a9bfaf2fb6df71d296e 11884 
pfb2t1c2pfb-dbgsym_0.3-11_amd64.deb
 e060be97bc8dffc8d92913f511daa870639059b4 5570 
pfb2t1c2pfb_0.3-11_amd64.buildinfo
 fe57ccb8de249302a82a31f84f228e924453edab 10030 pfb2t1c2pfb_0.3-11_amd64.deb
Checksums-Sha256:
 cd6ae030072404971473807d795879e81ea08e9bfd1662d19a621f0c4c8ddd5a 1350 
pfb2t1c2pfb_0.3-11.dsc
 232b8a18cf713958ff627de7a780b12f38df8edd1ab6e001fc17d3b070e539f3 3964 
pfb2t1c2pfb_0.3-11.debian.tar.xz
 459da82d2ba242205ea73783fa337296914d5834f59cfcb568122d77dc9804a5 11884 
pfb2t1c2pfb-dbgsym_0.3-11_amd64.deb
 2ba0c3e28018632011a30003a8165e772e3ff2611886be6b4ce3c3f097d88003 5570 
pfb2t1c2pfb_0.3-11_amd64.buildinfo
 df8f379cfffdb0b2d391feb13d584089c8675c59440ff1c349778806d97b051b 10030 
pfb2t1c2pfb_0.3-11_amd64.deb
Files:
 d5a5764733966a76b15bd93ae2bdcd08 1350 tex optional pfb2t1c2pfb_0.3-11.dsc
 feb7f74a2cb8a224bf2c3fd18e8190a2 3964 tex optional 
pfb2t1c2pfb_0.3-11.debian.tar.xz
 e1e73936ba7d36d99ee4440a2a74fe48 11884 debug extra 
pfb2t1c2pfb-dbgsym_0.3-11_amd64.deb
 a71adf9391bd3e70743fc283a8f3c347 5570 tex optional 
pfb2t1c2pfb_0.3-11_amd64.buildinfo
 1f57ff2a100a3269c5154c66b4ca52fb 10030 tex optional 
pfb2t1c2pfb_0.3-11_amd64.deb

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

iQEzBAEBCgAdFiEEWHH4JC3MNmAjYr597AC42tMiZqoFAlkSx4MACgkQ7AC42tMi
ZqqR4wf/V5sOWeV3+Gn1lyz5MChU61GEHXIigfpN9FtOxlLzszhowy6ofkfP61xx
EbOxBPdQg3qOWUUh2mVXcv82zwVlZfItpE5RcV4E749OLpC0cf40o3yejde0X0e0
kUEr2ko8iefZJ5hGZeOWHOpOkwKKe1AmCJJXbAjAlMY9js5Mr0XycetNkVQ2J9oO
phrliryFeArE2ecrn+5z5GNq6rWlPm6Z0Nw9XwT2c/zxA99ZsqG2pLtkhIFD+xZI
sJpL3Ap274kOhAH1ufVgq6ZWZ4l7qckKdF3HJe+mfSOlb68lyv8Eg+8wGGOhxjlY
v9I/NoOOHLrN+F6qh67WzmV/NkX4sQ==
=oOJS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to