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

Bug#843910: marked as done (cups-pdf FTCBFS: uses build architecture compiler)



Your message dated Sun, 27 Nov 2016 19:20:20 +0000
with message-id <E1cB4zs-0008U0-R0@fasolo.debian.org>
and subject line Bug#843910: fixed in cups-pdf 2.6.1-22
has caused the Debian Bug report #843910,
regarding cups-pdf FTCBFS: uses 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 owner@bugs.debian.org
immediately.)


-- 
843910: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843910
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: cups-pdf
Version: 2.6.1-21
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

cups-pdf fails to cross build from source, because it uses the build
architecture compiler. Defaulting CC to a triplet-prefixed compiler
fixes the build. Please consider applying the attached patch.

Helmut
diff --minimal -Nru cups-pdf-2.6.1/debian/changelog cups-pdf-2.6.1/debian/changelog
--- cups-pdf-2.6.1/debian/changelog	2016-02-23 14:18:02.000000000 +0100
+++ cups-pdf-2.6.1/debian/changelog	2016-11-10 17:07:31.000000000 +0100
@@ -1,3 +1,10 @@
+cups-pdf (2.6.1-21.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use triplet-prefixed CC (Closes: #-1).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 10 Nov 2016 17:07:31 +0100
+
 cups-pdf (2.6.1-21) unstable; urgency=medium
 
   * Fixed Lintian "W: spelling-error-in-readme-debian: debuging debugging"
diff --minimal -Nru cups-pdf-2.6.1/debian/rules cups-pdf-2.6.1/debian/rules
--- cups-pdf-2.6.1/debian/rules	2015-05-06 13:31:56.000000000 +0200
+++ cups-pdf-2.6.1/debian/rules	2016-11-10 17:07:28.000000000 +0100
@@ -7,6 +7,11 @@
 # LICENSE
 # GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
 #
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 export CFLAGS   := $(shell dpkg-buildflags --get CFLAGS)
 export LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)

--- End Message ---
--- Begin Message ---
Source: cups-pdf
Source-Version: 2.6.1-22

We believe that the bug you reported is fixed in the latest version of
cups-pdf, 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 843910@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin-Éric Racine <martin-eric.racine@iki.fi> (supplier of updated cups-pdf 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: SHA256

Format: 1.8
Date: Wed, 16 Nov 2016 16:37:40 +0200
Source: cups-pdf
Binary: printer-driver-cups-pdf cups-pdf
Architecture: source amd64
Version: 2.6.1-22
Distribution: unstable
Urgency: medium
Maintainer: Debian CUPS Maintainers <debian-printing@lists.debian.org>
Changed-By: Martin-Éric Racine <martin-eric.racine@iki.fi>
Description:
 cups-pdf   - PDF writer backend for CUPS (dummy transitional package)
 printer-driver-cups-pdf - printer driver for PDF writing via CUPS
Closes: 843910
Changes:
 cups-pdf (2.6.1-22) unstable; urgency=medium
 .
   * Fix "cups-pdf FTCBFS: uses build architecture compiler" (Closes: #843910)
     + Added [debian/rules] fragment:
       export CC := $(shell dpkg-architecture --query DEB_HOST_GNU_TYPE)-gcc
     = Thanks to Helmut Grohne for the alternate patch.
   * Updated the Copyright years in [debian/rules] and [debian/copyright].
   * Bumped Standards-Version to 3.9.8 (no change required).
Checksums-Sha1:
 2bb78f936994857b5b82d36c3787967835fd8563 1834 cups-pdf_2.6.1-22.dsc
 1a95c8e1bd4ad2f5b654438e1db3b6dc7b95852a 14076 cups-pdf_2.6.1-22.debian.tar.xz
 bd975aff98da8891daadf88977861221ad96fdfa 5001 cups-pdf_2.6.1-22_amd64.buildinfo
 3e65e7dceb80df1f9934a3e0dd4ef16c8b9d56a0 1064 cups-pdf_2.6.1-22_amd64.deb
 e5b8aaac800d055efcf735de86578aba8ac4e89b 27310 printer-driver-cups-pdf-dbgsym_2.6.1-22_amd64.deb
 e6e64d1f865b2cab916583f4878604405f8d8473 45772 printer-driver-cups-pdf_2.6.1-22_amd64.deb
Checksums-Sha256:
 4845fc5ba6cef6cf6a338139913869687dde092c2b9ae10df406a97298637c02 1834 cups-pdf_2.6.1-22.dsc
 0f899527ee6fd37f51ebc4dea9fc3a4e6db4c3882db9eb01c71c7e1ced776b09 14076 cups-pdf_2.6.1-22.debian.tar.xz
 32251047d019e5669bca44e4f6181f87ea8291f0b9ae34f8e474bbaecea00a0e 5001 cups-pdf_2.6.1-22_amd64.buildinfo
 5e71fb98c8304b09514f405238f202b13c58cdce63afd47ecc8e2faa728f98a3 1064 cups-pdf_2.6.1-22_amd64.deb
 0431b58c58684983e8d28452bc0ae69faac1961d9bf3198c5a24553f46a9709f 27310 printer-driver-cups-pdf-dbgsym_2.6.1-22_amd64.deb
 c3421f94c3b8217c6317cce444d59ccb68897fb8ffd1d7d95057f73c11c66702 45772 printer-driver-cups-pdf_2.6.1-22_amd64.deb
Files:
 6ce0e3e675a3c2ce830c8c1678101bb7 1834 graphics optional cups-pdf_2.6.1-22.dsc
 6a3a0410c29f4f049dbabbf83b3d5255 14076 graphics optional cups-pdf_2.6.1-22.debian.tar.xz
 a39b2b53acdab11f00068f8a2df74705 5001 graphics optional cups-pdf_2.6.1-22_amd64.buildinfo
 b00db383c440f4f6a1d9685cdbd07ab1 1064 oldlibs extra cups-pdf_2.6.1-22_amd64.deb
 5ead471d3815ee97aac34b33d692c9ab 27310 debug extra printer-driver-cups-pdf-dbgsym_2.6.1-22_amd64.deb
 4fe878c9d1742670b9e0e8d7b7e683f0 45772 graphics optional printer-driver-cups-pdf_2.6.1-22_amd64.deb

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

iQIcBAEBCAAGBQJYOy1dAAoJENFO8V2v4RNHBPkP/16iGvtaE8QhD5sB9qJiRNmH
EyboMgFiX/sqeUO2FdHu+L4xmarff3Lhxmhd4X54mYCcKsCPV/PAvJYrMvuihj4K
52mTvq//veSOGltAQ2hFVP1d4RA6E1NugTgaMitmo1o8FZUaUy960kDrIQ/zKDpU
Xlh0cR1nZdS/jBQJKmoYpO//V10T8JSDx9dqJt+I8j1+YxRLoGxkIrgddlHRSLOL
dZWuXBbY7rdZpnj6mB2Xkel+DRHPfBNJp4Spk2mpine49pzDtVg8IWY7O90sjos7
q3eHvqdYonBcBG9uDmTC/l+RKbYIATM8N4e1pxkQYsMzDfrAjGVzHU8h7AyBpZg6
UoRgOdDf/rDAtRWlgPWp6tjTC/6qN7r/AI2VrMPYoGKqZK3lozZ4CEQBR2TWSVS5
bBzR/ZV65hVrpnQgk5Vv9rjyeNqJW8JWgWMf6fTZMeWX7LxBq1znE8zbONABOmJA
HK5HyLh8e2xjx5RlyocSxlr5S6TqDRGrdXtEBWJE3NbXfvMdCgb2eiaj1TJzOzxA
b7GtcWfkc2KvXCaqCmjo/xW6BLg2MJEIbFNIogMhASFvj8HNsL+f0Fc7TP/BRPzW
KGV86cFaLmJZmirFQyr0DctiKw4tIub+hjv+OMy/9QoBl53/E1edWpggjxru0Ob1
BXWFI5K7yYoSjJcuZ2e6
=aWxP
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: