Your message dated Mon, 08 Jan 2024 22:49:16 +0000
with message-id <[email protected]>
and subject line Bug#1060239: Removed package(s) from unstable
has caused the Debian Bug report #878451,
regarding pstotext 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.)


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

pstotext fails to cross build from source, because debian/rules hard
codes the build architecture compiler "gcc". After passing a
triplet-prefixed compiler, pstotext cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru pstotext-1.9/debian/changelog pstotext-1.9/debian/changelog
--- pstotext-1.9/debian/changelog       2012-03-05 18:28:52.000000000 +0100
+++ pstotext-1.9/debian/changelog       2017-10-13 21:29:04.000000000 +0200
@@ -1,3 +1,10 @@
+pstotext (1.9-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a triplet-prefixed CC. (Closs: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 13 Oct 2017 21:29:04 +0200
+
 pstotext (1.9-6) unstable; urgency=low
 
   * [debian/rules] use dpkg-buildflags; fix "Please enabled hardened build
diff --minimal -Nru pstotext-1.9/debian/rules pstotext-1.9/debian/rules
--- pstotext-1.9/debian/rules   2012-03-05 18:28:52.000000000 +0100
+++ pstotext-1.9/debian/rules   2017-10-13 21:29:03.000000000 +0200
@@ -9,6 +9,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 CFLAGS = `dpkg-buildflags --get CFLAGS`
 CFLAGS += -Wall -DNEED_PROTO
 LDFLAGS = `dpkg-buildflags --get LDFLAGS`
@@ -25,7 +30,7 @@
 build-stamp:
        dh_testdir
 # The Makefile doesn't use CFLAGS, so we pass flags in an ugly way.
-       make CC="gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+       make CC="$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
 
        touch build-stamp
 

--- End Message ---
--- Begin Message ---
Version: 1.9-7+rm

Dear submitter,

as the package pstotext has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1060239

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to