--- Begin Message ---
Source: pnm2ppa
Version: 1.13-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
pnm2ppa fails to cross build from source, because it compiles the build
tool make_hash_ink with the host architecture compiler and then fails
executing it. The cause for this is 00_use_env_buildflags.patch, which
reverts upstream's careful choice of the build architecture compiler.
Reverting 00_use_env_buildflags.patch makes the package cross build.
The goal of that patch is beyond my understanding. The make_hash_ink is
not installed into any package, so it does not matter what build flags
are used. If you really want to force build flags for that tool, you can
use:
export CFLAGS_FOR_BUILD=$(shell dpkg-architecture -a$(DEB_BUILD_ARCH) -c dpkg-buildflags --get CFLAGS)
Please consider applying the attached patch (i.e. reverting
00_use_env_buildflags.patch).
Helmut
diff --minimal -Nru pnm2ppa-1.13/debian/changelog pnm2ppa-1.13/debian/changelog
--- pnm2ppa-1.13/debian/changelog 2016-02-26 17:23:49.000000000 +0100
+++ pnm2ppa-1.13/debian/changelog 2016-11-08 20:31:41.000000000 +0100
@@ -1,3 +1,10 @@
+pnm2ppa (1.13-7.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Revert 00_use_env_buildflags.patch (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 08 Nov 2016 20:31:41 +0100
+
pnm2ppa (1.13-7) unstable; urgency=medium
* Add patch to remove CPP timestamps usage, for reproducibility
diff --minimal -Nru pnm2ppa-1.13/debian/patches/00_use_env_buildflags.patch pnm2ppa-1.13/debian/patches/00_use_env_buildflags.patch
--- pnm2ppa-1.13/debian/patches/00_use_env_buildflags.patch 2014-03-06 14:58:37.000000000 +0100
+++ pnm2ppa-1.13/debian/patches/00_use_env_buildflags.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-Description: Build make_hash_ink natively, hence use the buildflags
-Author: Didier Raboud <odyx@debian.org>
-Last-Update: 2014-03-06
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -128,5 +128,5 @@
- LDFLAGS_FOR_BUILD =
- LDLIBS_FOR_BUILD =
-
--make_hash_ink: make_hash_ink.c
-- $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $< $(LDLIBS_FOR_BUILD)
-+noinst_PROGRAMS = make_hash_ink
-+make_hash_ink_SOURCES = make_hash_ink.c
diff --minimal -Nru pnm2ppa-1.13/debian/patches/series pnm2ppa-1.13/debian/patches/series
--- pnm2ppa-1.13/debian/patches/series 2016-02-26 17:19:35.000000000 +0100
+++ pnm2ppa-1.13/debian/patches/series 2016-11-08 20:31:38.000000000 +0100
@@ -1,4 +1,3 @@
-00_use_env_buildflags.patch
10_177295-fix_signedness.patch
99-examples_shbangs.patch
99-pnm2ppa_manpage.patch
--- End Message ---
--- Begin Message ---
Source: pnm2ppa
Source-Version: 1.13-8
We believe that the bug you reported is fixed in the latest version of
pnm2ppa, 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 843695@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated pnm2ppa 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: Tue, 08 Nov 2016 22:37:39 +0100
Source: pnm2ppa
Binary: printer-driver-pnm2ppa
Architecture: source
Version: 1.13-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
printer-driver-pnm2ppa - printer driver for HP-GDI printers
Closes: 843695
Changes:
pnm2ppa (1.13-8) unstable; urgency=medium
.
[ Didier Raboud ]
* Bump Standards-Version to 3.9.8 without changes needed
.
[ Helmut Grohne ]
* Fix FTCBFS: Revert 00_use_env_buildflags.patch (Closes: #843695)
Checksums-Sha1:
123049a24d1b09cffae60b83d3cd2206eff67522 1742 pnm2ppa_1.13-8.dsc
6a11f03064c99eb06796c0376ea9bc7a89b570bc 27580 pnm2ppa_1.13-8.debian.tar.xz
Checksums-Sha256:
298e8e8485c8d8747f9444a3aa87b25ec35b416b4ed229d8c2328e9a9d88ee81 1742 pnm2ppa_1.13-8.dsc
15fb007510f5882458a0c7efd8808c2a1d3925d2983f407c8e873af038268c99 27580 pnm2ppa_1.13-8.debian.tar.xz
Files:
329564c6764cafb9838011236e7c555b 1742 text optional pnm2ppa_1.13-8.dsc
839f2adb59781411d40da099225217cc 27580 text optional pnm2ppa_1.13-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGcBAEBCgAGBQJYIkXDAAoJEIvPpx7KFjRV4j4L/2y4j0tHfv+Xx2e0Ap6ftyfI
ozPt3IYbHrluHbEv75LH9srST/uVVJwUCVc+lpF0yRnYc0iQhg1nvHj9mN+2Cyl3
Z+GMO1OnsmpZ186Kc9gaLfLd+7G4F0a/c0AZKuNREfBkIEq8LcVPH1Jb1OdDqjDj
p2WyEAaqXjgiz0BUw6zIDYAOUduwY/VS2sXDblK+9L7HZvo5x63719RDWGJb1aLy
H1h+bdtKIHeqHS9aF4eblv/uooNZ3ynHjvTKRhSiir7J0HCBh1gF51rJLTmPjFtV
NJR/BTY1A8o8MJXmEA62OpGQys1Y1xMnO0oekoVKZI8xbOG6LYVFNffuHKn6tBoR
O3gUA7twGbFfNPTKymt99NwawCgEKDFP/LjCyxT/iBt6rDlThgISiC57A8M1Mjc/
Ogyf6ZQZ20xwA5b0sRu5FHsVe8n2bkqzAJ0NKoxVrbokmew2yqEnwWbrvhU/GCVg
CZrPUAQm3cXu/hxUQrVS2SWzHgBu/XX35GwMgzLfyA==
=zr1E
-----END PGP SIGNATURE-----
--- End Message ---