Your message dated Mon, 13 Apr 2020 18:03:32 +0000
with message-id <e1jo3qi-00035l...@fasolo.debian.org>
and subject line Bug#946572: fixed in abcm2ps 8.14.7-0.1
has caused the Debian Bug report #946572,
regarding abcm2ps FTCBFS: builds for the build architecture
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 ow...@bugs.debian.org
immediately.)


-- 
946572: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946572
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: abcm2ps
Version: 8.14.5-0.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

abcm2ps fails to cross build from source, because it uses build
architecture build tools. The hand-written configure script ignores the
--host flag passed by dh_auto_configure. Instead, one is supposed to
pass --CC=... For pkg-config, it doesn't even provide a method for
substitution. The attached patch makes abcm2ps cross buildable. Please
consider applying it.

Helmut
diff --minimal -Nru abcm2ps-8.14.5/debian/changelog 
abcm2ps-8.14.5/debian/changelog
--- abcm2ps-8.14.5/debian/changelog     2019-09-03 12:07:16.000000000 +0200
+++ abcm2ps-8.14.5/debian/changelog     2019-12-11 06:09:58.000000000 +0100
@@ -1,3 +1,12 @@
+abcm2ps (8.14.5-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass cross tools CC and PKG_CONFIG to ./configure.
+    + cross.patch: Make pkg-config substitutable.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 11 Dec 2019 06:09:58 +0100
+
 abcm2ps (8.14.5-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru abcm2ps-8.14.5/debian/patches/cross.patch 
abcm2ps-8.14.5/debian/patches/cross.patch
--- abcm2ps-8.14.5/debian/patches/cross.patch   1970-01-01 01:00:00.000000000 
+0100
+++ abcm2ps-8.14.5/debian/patches/cross.patch   2019-12-11 06:09:57.000000000 
+0100
@@ -0,0 +1,27 @@
+--- abcm2ps-8.14.5.orig/configure
++++ abcm2ps-8.14.5/configure
+@@ -5,6 +5,7 @@
+ VDATE=2019-07-17
+ 
+ CC=gcc
++PKG_CONFIG=pkg-config
+ CFLAGS="-g -O2 -Wall -pipe"
+ 
+ srcdir=.
+@@ -57,11 +58,11 @@
+       DEFAULT_FDIR="$prefix/share/abcm2ps"
+ fi
+ 
+-if which pkg-config > /dev/null ; then
+-      if pkg-config --exists freetype2 ; then
+-              if pkg-config --exists pangocairo ; then
+-                      CPPFLAGS="$CPPFLAGS -DHAVE_PANGO=1 `pkg-config pango 
cairo freetype2 --cflags`"
+-                      LDLIBS="$LDLIBS `pkg-config pangocairo pangoft2 
freetype2 --libs`"
++if which $PKG_CONFIG > /dev/null ; then
++      if $PKG_CONFIG --exists freetype2 ; then
++              if $PKG_CONFIG --exists pangocairo ; then
++                      CPPFLAGS="$CPPFLAGS -DHAVE_PANGO=1 `$PKG_CONFIG pango 
cairo freetype2 --cflags`"
++                      LDLIBS="$LDLIBS `$PKG_CONFIG pangocairo pangoft2 
freetype2 --libs`"
+               else
+                       echo "pangocairo not found - no pango support"
+               fi
diff --minimal -Nru abcm2ps-8.14.5/debian/patches/series 
abcm2ps-8.14.5/debian/patches/series
--- abcm2ps-8.14.5/debian/patches/series        1970-01-01 01:00:00.000000000 
+0100
+++ abcm2ps-8.14.5/debian/patches/series        2019-12-11 06:09:24.000000000 
+0100
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru abcm2ps-8.14.5/debian/rules abcm2ps-8.14.5/debian/rules
--- abcm2ps-8.14.5/debian/rules 2019-09-03 12:01:08.000000000 +0200
+++ abcm2ps-8.14.5/debian/rules 2019-12-11 06:09:58.000000000 +0100
@@ -2,6 +2,7 @@
 
 DEB_BUILD_MAINT_OPTIONS := hardening=+all
 DEB_CFLAGS_MAINT_APPEND := -Wall
+include /usr/share/dpkg/buildtools.mk
 include /usr/share/dpkg/buildflags.mk
 
 %:
@@ -10,4 +11,4 @@
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
        dh_auto_configure -- \
-         $(foreach v,CFLAGS CPPFLAGS LDFLAGS,'--$(v)=$($(v))')
+         $(foreach v,CC PKG_CONFIG CFLAGS CPPFLAGS LDFLAGS,'--$(v)=$($(v))')

--- End Message ---
--- Begin Message ---
Source: abcm2ps
Source-Version: 8.14.7-0.1
Done: Nicolas Boulenguez <nico...@debian.org>

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

Debian distribution maintenance software
pp.
Nicolas Boulenguez <nico...@debian.org> (supplier of updated abcm2ps 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 29 Mar 2020 18:51:47 +0200
Source: abcm2ps
Architecture: source
Version: 8.14.7-0.1
Distribution: unstable
Urgency: medium
Maintainer: Anselm Lingnau <ling...@debian.org>
Changed-By: Nicolas Boulenguez <nico...@debian.org>
Closes: 946572
Changes:
 abcm2ps (8.14.7-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream release closes: #946572.
   * Standards-Version: 4.5.0.
Checksums-Sha1:
 c4242419876c7fd5a879bab99de8a5c5500b55ed 1827 abcm2ps_8.14.7-0.1.dsc
 dc3d2e0da22290a45a6e314b96da70821314bf00 259017 abcm2ps_8.14.7.orig.tar.gz
 5934cb74ac6c119ddfe24b109d211af82f012e76 4084 abcm2ps_8.14.7-0.1.debian.tar.xz
Checksums-Sha256:
 9f07827e2a13aa0576e7400b5f9945b21e850f614eca034cd1887839e2ebb7d9 1827 
abcm2ps_8.14.7-0.1.dsc
 2ebc81cabb5303da3d9a172b87005c42e88933e7e7378d84ce8f1a2463760249 259017 
abcm2ps_8.14.7.orig.tar.gz
 29508ca573dfa7633ee3052492a3c701e39eee194ef064f73d4a6a2854e4b2c9 4084 
abcm2ps_8.14.7-0.1.debian.tar.xz
Files:
 3ce6d451c2664b7025cd69ef08ed30a0 1827 text optional abcm2ps_8.14.7-0.1.dsc
 589d01854059449d6b3be201aeb667f3 259017 text optional 
abcm2ps_8.14.7.orig.tar.gz
 b41d0ebbcda1599fa0cd1b43d461289f 4084 text optional 
abcm2ps_8.14.7-0.1.debian.tar.xz

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

iQJHBAEBCAAxFiEEYtlNMqmXIhEvWffytSqc9EkN/I0FAl6A05QTHG5pY29sYXNA
ZGViaWFuLm9yZwAKCRC1Kpz0SQ38jTJ5D/0bnZb2Uvs1uZ4V9N6GucnVuj4R+ift
GDGHYkFpNj/iHwdZ0Nz9zfJbT57Ev/k/jyfawo3uaCTncXvGuQ1g5TZfI6WBWDb8
JWisZZq6xOYB8RHIbfNd3yAPWiWoJNV/MOFCoy8JWyitCoMsbY8ydV+Jq3fdpIFr
NGZg2zVR4LJcZrRw5lSIGJmpYVhOBPKAVSWQYr54fOAL4q8C7NoaYylJVU17ilal
6zDBQnACUTHy7Lln9JkrjOaUciC6SlmL/kPJTVklZF7zyDWVAqN6GJKaZmsuoXo3
/WMnKm7RFUgnTAr5+Z6Z/lhBR0IT7bIcPABViKSKL5q6qnvCGka7saeTsBc1eMHo
14SaGTaDQnEZZYz4RaJxgcSJ1S5wymlBRe0ZBQ3/t8eV8xtw5jooq7asBG3NFMs6
snSzKOyRaEiMLQlZeLh4PCPau9Ceods1OmUa4PBzqhqyitFfVQy6LkOVY0XmBVIC
dOLskbSIqTIP4Vf8rXbqy/MaPvXcGs5Qk/mahTu42AfHJyXBrZNiP8cRHYGECRWY
Hp73utv+AHcjFzipFGT09SPj7YEJCkK0jKOyvJrkwfVKyshrtA1O3XqWaJ6VgJsu
/ndZJN54cRVHxngLgCB/Op4BJ1nDyh+fDVUaauIihf68kaRwhkPAEtezb5E015SB
jeH+5wYCqn1k0Q==
=LEIB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to