Your message dated Thu, 08 Jan 2026 10:50:48 +0000
with message-id <[email protected]>
and subject line Bug#1103271: fixed in z88 15+dfsg-2
has caused the Debian Bug report #1103271,
regarding z88 FTCBFS: attempts to build 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 [email protected]
immediately.)


-- 
1103271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103271
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: z88
Version: 15+dfsg-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

z88 fails to cross build from source, because it attempts to build for
the build architecture instead. debian/rules makes no attempt to pass
cross tools to make. Using dh_auto_build is a simple way to enable such
passing. Even when doing so, the upstream build system hard codes the
build architecture pkg-config. I'm attaching a patch to fix both
aspects. Please consider applying it.

Helmut
diff --minimal -Nru z88-15+dfsg/debian/changelog z88-15+dfsg/debian/changelog
--- z88-15+dfsg/debian/changelog        2024-12-05 22:57:47.000000000 +0100
+++ z88-15+dfsg/debian/changelog        2025-04-14 22:16:34.000000000 +0200
@@ -1,3 +1,10 @@
+z88 (15+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use host tools. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 14 Apr 2025 22:16:34 +0200
+
 z88 (15+dfsg-1) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru z88-15+dfsg/debian/patches/cross.patch 
z88-15+dfsg/debian/patches/cross.patch
--- z88-15+dfsg/debian/patches/cross.patch      1970-01-01 01:00:00.000000000 
+0100
+++ z88-15+dfsg/debian/patches/cross.patch      2025-04-14 22:16:06.000000000 
+0200
@@ -0,0 +1,29 @@
+--- z88-15+dfsg.orig/make/make_unix_64/z88com.mk.gcc64
++++ z88-15+dfsg/make/make_unix_64/z88com.mk.gcc64
+@@ -10,8 +10,9 @@
+ DIROUT = $(DIRECA)/bin/unix64
+ 
+ CC = gcc
++PKG_CONFIG = pkg-config
+ CFLAGS = -I$(DIRCOM) -DFR_UNIX -DFR_XDOUB -DFR_XLONG -DFR_LINUX -O2 \
+-         `pkg-config --cflags --libs gtk+-2.0`
++         `$(PKG_CONFIG) --cflags --libs gtk+-2.0`
+ 
+ OBJECTSC = z88com.o cb88c.o ale88c.o lan88c.o wlog88c.o rcol88c.o
+ 
+--- z88-15+dfsg.orig/make/make_unix_64/z88o.mk.gcc64
++++ z88-15+dfsg/make/make_unix_64/z88o.mk.gcc64
+@@ -10,11 +10,12 @@
+ DIROUT = $(DIRECA)/bin/unix64
+ 
+ CC = gcc
++PKG_CONFIG = pkg-config
+ 
+ CFLAGS = -I$(DIRCOM) -I$(DIRUNI) -O2 -fomit-frame-pointer \
+          -DFR_UNIX -DFR_LINUX -DFR_XDOUB -DFR_XLONG -DFR_LINUX \
+          -lm -Wl,--copy-dt-needed-entries \
+-         `pkg-config --cflags --libs gtk+-2.0` -lGL 
++         `$(PKG_CONFIG) --cflags --libs gtk+-2.0` -lGL 
+ 
+ OBJECTSO = z88o.o cb88o.o lan88o.o dyn88o.o wlog88o.o ale88o.o rcoo88.o \
+  m9.o m10.o m12.o m15.o oc88.o m16.o man88o.o gdkgl.o gtkglarea.o 
fr_gltext3d.o 
diff --minimal -Nru z88-15+dfsg/debian/patches/series 
z88-15+dfsg/debian/patches/series
--- z88-15+dfsg/debian/patches/series   2024-12-05 22:57:47.000000000 +0100
+++ z88-15+dfsg/debian/patches/series   2025-04-14 22:15:12.000000000 +0200
@@ -2,3 +2,4 @@
 20_missing_include.patch
 50_all_changes.patch
 60_fix_spelling_errors.patch
+cross.patch
diff --minimal -Nru z88-15+dfsg/debian/rules z88-15+dfsg/debian/rules
--- z88-15+dfsg/debian/rules    2024-12-05 22:57:47.000000000 +0100
+++ z88-15+dfsg/debian/rules    2025-04-14 22:16:31.000000000 +0200
@@ -6,9 +6,9 @@
        dh $@ --buildsystem=none
 
 override_dh_auto_build-arch:
-       $(MAKE) -f make/make_unix_64/z88com.mk.gcc64 DIRECA=$(CURDIR)
-       $(MAKE) -f make/make_unix_64/z88g.mk.gcc64 DIRECA=$(CURDIR)
-       $(MAKE) -f make/make_unix_64/z88h.mk.gcc64 DIRECA=$(CURDIR)
-       $(MAKE) -f make/make_unix_64/z88n.mk.gcc64 DIRECA=$(CURDIR)
-       $(MAKE) -f make/make_unix_64/z88o.mk.gcc64 DIRECA=$(CURDIR)
-       $(MAKE) -f make/make_unix_64/z88x.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88com.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88g.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88h.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88n.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88o.mk.gcc64 DIRECA=$(CURDIR)
+       dh_auto_build --buildsystem=makefile -- -f 
make/make_unix_64/z88x.mk.gcc64 DIRECA=$(CURDIR)

--- End Message ---
--- Begin Message ---
Source: z88
Source-Version: 15+dfsg-2
Done: Santiago Vila <[email protected]>

We believe that the bug you reported is fixed in the latest version of
z88, 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.
Santiago Vila <[email protected]> (supplier of updated z88 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: Thu, 08 Jan 2026 11:10:00 +0100
Source: z88
Architecture: source
Version: 15+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1103271
Changes:
 z88 (15+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Fix clean target.
   * Allow cross build. Closes: #1103271.
   * d/control: Drop "Rules-Requires-Root: no" (default).
   * d/control: Drop "Priority: optional" (default).
   * d/control: Update standards-version.
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 a2c73c669653b4e13873e6b6f589b8fee840aec4 1685 z88_15+dfsg-2.dsc
 9516f75796450e3f8aab302b1def1d9a2f010fb1 7932 z88_15+dfsg-2.debian.tar.xz
 1c97fa9d38a45dade6dac815f4394257a539d8cf 6403 z88_15+dfsg-2_source.buildinfo
Checksums-Sha256:
 795b5a8694424371b40623dd6328a25e71f04576291fa2bad2887790a90ffc18 1685 
z88_15+dfsg-2.dsc
 1011fba5937c401850199b91b5956ee798d8f7408a8716c235c872c366df17fb 7932 
z88_15+dfsg-2.debian.tar.xz
 87419347d7487b2c893a75391cb20fd7b48b1d6117659c590e121169a7a29e70 6403 
z88_15+dfsg-2_source.buildinfo
Files:
 42e4b622aa9fb40609449f778a380165 1685 science optional z88_15+dfsg-2.dsc
 f5e7192ae00d71b96d8a99e929268c68 7932 science optional 
z88_15+dfsg-2.debian.tar.xz
 55f1aca2eeb7f4f7ca971d2cfb7ff44f 6403 science optional 
z88_15+dfsg-2_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmlfhqsACgkQQc5/C58b
izLJcgf9He79E/gP3rrA61qKhwpaidj4Wa8CoH+pEdDgvp3d6fPLQFI61Fe9UHtq
dlw9ZqmiFsdqXNFMfmpJsh8YSiA/gWHlDV2fMam9TGpqk4KJmftekMlQjYmSRSQI
jSidiwPihQJIB+kXoI94df5KtwRZXwN5GWhQiuuWhcPLYphZjKnqoOVU/Na2C2IZ
o4uNbEGkpgIfe+Kz0WvqetawtqYDDMUeaHs/noNqwPOyQ9yEXr5WkkvKNKfMJ0hi
Dqv0rdtCVorAovxdagKMcbisxKj145e7t3tB0tovaW54AlFq4Xdv9TFkq8WoREMQ
ADarrES+w2wlNokj9s0xqQE8ywPJOA==
=NMbZ
-----END PGP SIGNATURE-----

Attachment: pgpeKyFE3is1V.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to