Your message dated Tue, 12 Sep 2023 15:51:42 +0000
with message-id <[email protected]>
and subject line Bug#901469: fixed in mah-jong 1.16-1
has caused the Debian Bug report #901469,
regarding mah-jong FTCBFS: uses the build architecture toolchain
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.)


-- 
901469: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901469
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mah-jong
Version: 1.11-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

mah-jong fails to cross build from source, because it uses the build
architecture toolchain. Using dh_auto_build mostly fixes that except for
bare pkg-config invocations in the upstream Makefile. After making them
substitutable as well, mah-jong cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru mah-jong-1.11/debian/changelog 
mah-jong-1.11/debian/changelog
--- mah-jong-1.11/debian/changelog      2012-01-03 00:31:10.000000000 +0100
+++ mah-jong-1.11/debian/changelog      2018-06-13 20:10:04.000000000 +0200
@@ -1,3 +1,12 @@
+mah-jong (1.11-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + cross.patch: Make pkg-config substitutable.
+
+ -- Helmut Grohne <[email protected]>  Wed, 13 Jun 2018 20:10:04 +0200
+
 mah-jong (1.11-2) unstable; urgency=low
 
   * Switch to dpkg-source 3.0 (quilt) format.
diff --minimal -Nru mah-jong-1.11/debian/patches/cross.patch 
mah-jong-1.11/debian/patches/cross.patch
--- mah-jong-1.11/debian/patches/cross.patch    1970-01-01 01:00:00.000000000 
+0100
+++ mah-jong-1.11/debian/patches/cross.patch    2018-06-13 20:09:42.000000000 
+0200
@@ -0,0 +1,31 @@
+--- mah-jong-1.11.orig/Makefile
++++ mah-jong-1.11/Makefile
+@@ -67,6 +67,7 @@
+ 
+ # It's best to use gcc if you can.
+ CC = gcc
++PKG_CONFIG ?= pkg-config
+ 
+ # C debugging and optimization flags. 
+ # In development, we turn on all reasonable warnings.
+@@ -141,9 +142,9 @@
+ ifdef Win32
+ ifdef Gtk
+ # should be the same as unix, if it can find pkg-config
+-EXTRA_INCLUDES=$(shell pkg-config --cflags gtk+-$(Gtk))
++EXTRA_INCLUDES=$(shell $(PKG_CONFIG) --cflags gtk+-$(Gtk))
+ # We also add the flag that makes xmj.exe be a GUI program
+-GUILIBS=$(shell pkg-config --libs gtk+-$(Gtk)) -mwindows
++GUILIBS=$(shell $(PKG_CONFIG) --libs gtk+-$(Gtk)) -mwindows
+ else
+ # You'll need to say explicitly where they are, as here, which is
+ # a bit of a mess in my setup
+@@ -154,7 +155,7 @@
+ else
+ # Not Windows. If gtk+ is properly installed, this is all that's needed.
+ ifdef Gtk
+-EXTRA_INCLUDES=`pkg-config --cflags gtk+-$(Gtk)`
++EXTRA_INCLUDES=`$(PKG_CONFIG) --cflags gtk+-$(Gtk)`
+ GUILIBS=-lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lm
+ else
+ EXTRA_INCLUDES=`gtk-config --cflags`
diff --minimal -Nru mah-jong-1.11/debian/patches/series 
mah-jong-1.11/debian/patches/series
--- mah-jong-1.11/debian/patches/series 2012-01-03 00:12:02.000000000 +0100
+++ mah-jong-1.11/debian/patches/series 2018-06-13 20:09:18.000000000 +0200
@@ -3,3 +3,4 @@
 extra_gui_libraries
 manpage_cleanup
 autogenerated_files
+cross.patch
diff --minimal -Nru mah-jong-1.11/debian/rules mah-jong-1.11/debian/rules
--- mah-jong-1.11/debian/rules  2012-01-03 00:29:08.000000000 +0100
+++ mah-jong-1.11/debian/rules  2018-06-13 20:10:02.000000000 +0200
@@ -25,7 +25,7 @@
 build-arch: build-stamp
 build-stamp:
        dh_testdir
-       $(MAKE) CCOPTIONS=$(CCOPTIONS) CDEBUGFLAGS="-g" 
TILESETPATH=\""/usr/share/mah-jong"\"
+       dh_auto_build -- CCOPTIONS=$(CCOPTIONS) CDEBUGFLAGS="-g" 
TILESETPATH=\""/usr/share/mah-jong"\"
        touch build-stamp
 
 clean:

--- End Message ---
--- Begin Message ---
Source: mah-jong
Source-Version: 1.16-1
Done: xiao sheng wen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mah-jong, 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.
xiao sheng wen <[email protected]> (supplier of updated mah-jong 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: Tue, 12 Sep 2023 21:41:15 +0800
Source: mah-jong
Architecture: source
Version: 1.16-1
Distribution: unstable
Urgency: medium
Maintainer: xiao sheng wen <[email protected]>
Changed-By: xiao sheng wen <[email protected]>
Closes: 737970 815329 901469 1050172
Changes:
 mah-jong (1.16-1) unstable; urgency=medium
 .
   * New Maintainer: xiao sheng wen (Closes: #1050172)
   * New upstream version (Closes: #815329)
   * routine-update
     - Standards-Version: 4.6.2
     - debhelper-compat 13
     - Rules-Requires-Root: no
     - Trim trailing whitespace.
     - Use secure URI in Homepage field.
     - watch file standard 4
   * debian/patches
     - update manpages_section_6 and add Forwarded: not-needed
     - add cross.patch: Make pkg-config substitutable,
       Fix FTCBFS: (Closes: #901469)
     - add Makefile.in.Hardening.patch
     - add gui.c-fix-typo.patch
     - refresh for new upstream version
   * add d/clean for clean debian/mah-jongbin/
   * add d/install
   * add d/u/metadata
   * add d/lintian-overrides
   * add d/mah-jong.xpm icon (Closes: #737970)
   * d/mah-jong.desktop: add Keywords
   * d/README.Debian: update to use upstream homepage as donation url
   * d/control: add Vcs-Browser Vcs-Git url
   * d/copyright: update format to Machine-readable dep5
   * d/rules: update to debhelper-compat 13
   * d/watch: fix debian-watch-uses-insecure-uri
   * remove d/menu, useless
   * Run wrap-and-sort -asbkt
Checksums-Sha1:
 f1f864b198af863980bdcd4075805628a8a4142b 1708 mah-jong_1.16-1.dsc
 a1da4a6953d4d1d5fe3af8671328065e24510ed6 403981 mah-jong_1.16.orig.tar.gz
 d85c9e6fb603f2dfc41b84f8771505c5e074af89 7404 mah-jong_1.16-1.debian.tar.xz
 26045503798f9056fb50499e73faf5e4a1c1bf59 5489 mah-jong_1.16-1_source.buildinfo
Checksums-Sha256:
 6ef168594c9292a2c98c420826f89cada9724a805c04691f8eb8db99c756bc22 1708 
mah-jong_1.16-1.dsc
 c25e9848f49f70635e5e3ba0cb59799e5bc149a95f786621b99696b66787a29d 403981 
mah-jong_1.16.orig.tar.gz
 78f541ebf2fbe2df0296a2f7f63e70803cdd0088ee819ad16ec689a418baa9a2 7404 
mah-jong_1.16-1.debian.tar.xz
 01480f836c462bcf1eae2a26b14b21c237cac579c4f642851920a5774b9520a6 5489 
mah-jong_1.16-1_source.buildinfo
Files:
 cb82be6149c00974a164b5169673bb1a 1708 games optional mah-jong_1.16-1.dsc
 0b10ae8a20f16b31eedb5d20e11473a5 403981 games optional 
mah-jong_1.16.orig.tar.gz
 d9971c09e771fe152d6924d6a485a5d6 7404 games optional 
mah-jong_1.16-1.debian.tar.xz
 a560ddf4436f21555690c49ce5c07457 5489 games optional 
mah-jong_1.16-1_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmUAggoQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFKeTC/9t5+7+OR2o5dqXR51H475zyfCD2ckWFu0o
Hk/wI2u0lcKE7qvIQ0NCrcEj3ZHFdR/brNaD0xJQIl75+wovCfmDACUNa5SvdRd9
UTwrum9D8xKH93YYQ2J4z7HQ5RsoByxo2R2X6er3LZSPOSKeBBfQ9mchP3Ljculn
aUHaZIM6hmzju1se0sygPI+Z7lxKOqCoEdB2LfXd+5HJVgLN+NRhfVc7e57WxR/5
PWeUGxNA8qP5bdqV2RyEpMaM82srLZHhrq++4guIUGO4cXZsr1oVmIkEl0+Zn7u8
6HNwfgk/Hilml3Vu/YVciHex5Wkux/LOEJYxGQ54fNi58wWtm/jtcHRnTu20WuHd
jMs0FA6GFVN1MhgRRKDRuKZliVIXX5AWXaPLCK5YQfdQcEfHrLCWkBswjDZaKoXc
vemKA0n6zWwwXwprszUo/bV7CnT7H3AkoNpI7bdFOfpDbGm20qvuM+d/ibdysxpU
wRmqClFqavAELlwWVm7yukuXXXKp6g8=
=z7Vp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to