Your message dated Sun, 11 Jan 2026 14:34:04 +0000
with message-id <[email protected]>
and subject line Bug#1099441: fixed in xcolors 1.5a-13
has caused the Debian Bug report #1099441,
regarding xcolors FTCBFS: uses xmkmf
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.)


-- 
1099441: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099441
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xcolors
Version: 1.5a-10.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

xcolors fails to cross build from source, because it uses xmkmf and that
is architecturally incompatible with cross compilation. Rather than
bolting on a new build system, I suggest embedding the few build steps
into debian/rules and calling it a day. Doing so also causes the CFLAGS
to be taken into account for real. I'm attaching a patch for your
convenience.

Helmut
diff --minimal -Nru xcolors-1.5a/debian/changelog xcolors-1.5a/debian/changelog
--- xcolors-1.5a/debian/changelog       2024-12-31 12:29:06.000000000 +0100
+++ xcolors-1.5a/debian/changelog       2025-02-27 10:20:13.000000000 +0100
@@ -1,3 +1,10 @@
+xcolors (1.5a-10.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Stop using xmkmf. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 27 Feb 2025 10:20:13 +0100
+
 xcolors (1.5a-10.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru xcolors-1.5a/debian/clean xcolors-1.5a/debian/clean
--- xcolors-1.5a/debian/clean   1970-01-01 01:00:00.000000000 +0100
+++ xcolors-1.5a/debian/clean   2025-02-27 10:19:28.000000000 +0100
@@ -0,0 +1 @@
+xcolors
diff --minimal -Nru xcolors-1.5a/debian/rules xcolors-1.5a/debian/rules
--- xcolors-1.5a/debian/rules   2024-12-31 12:29:00.000000000 +0100
+++ xcolors-1.5a/debian/rules   2025-02-27 10:20:13.000000000 +0100
@@ -14,29 +14,25 @@
 # are obsolete.
 
 
-CFLAGS = -g -O2 -DRGB_TXT="\\\"/etc/X11/rgb.txt\\\""
-LDFLAGS = -s 
-STRIP=strip
-CC = gcc
+DEB_CFLAGS_APPEND = -g -O2 -DRGB_TXT="\\\"/etc/X11/rgb.txt\\\""
+DEB_LDFLAGS_APPEND = -s 
 
 package=xcolors
 
 DPKG_EXPORT_BUILDFLAGS=1
 include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/buildtools.mk
 
 build: build-arch build-indep
 build-arch: build-stamp
 build-indep: build-stamp
 build-stamp:
        $(checkdir)
-       xmkmf
-       make CC="$(CC)" CFLAGS="$(CFLAGS)" EXTRA_LDOPTIONS="$(LDFLAGS)"
+       $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) xcolors.c -lX11 -lXaw -lXt -lm 
-o xcolors
        touch build-stamp
 
 clean:
        $(checkdir)
-       if test -f Makefile; then make clean; fi
-       rm -f build Makefile.bak Makefile
        rm -rf *~ debian/xcolors debian/*~ debian/files*
        dh_clean
 
@@ -49,9 +45,9 @@
 binary-arch:   build
        $(checkdir)
        -rm -rf debian/tmp
-       test -f build || make -f debian/rules build
-       make install install.man DESTDIR=debian/xcolors
-       mv debian/xcolors/usr/share/man/man1/xcolors.1x 
debian/xcolors/usr/share/man/man1/xcolors.1
+       install -D -m755 xcolors debian/usr/bin/xcolors
+       install -D -m644 xcolors.man debian/xcolors/usr/share/man/man1/xcolors.1
+       install -D -m644 Xcolors.ad debian/xcolors/etc/X11/app-defaults/Xcolors
        dh_installdocs
        dh_installchangelogs
        dh_installmenu

--- End Message ---
--- Begin Message ---
Source: xcolors
Source-Version: 1.5a-13
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xcolors, 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.
Alexandre Detiste <[email protected]> (supplier of updated xcolors 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: Sun, 11 Jan 2026 14:38:03 +0100
Source: xcolors
Architecture: source
Version: 1.5a-13
Distribution: unstable
Urgency: medium
Maintainer: Alexandre Detiste <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1099441
Changes:
 xcolors (1.5a-13) unstable; urgency=medium
 .
   * Rewrite d/copyright in machine-parsable format
   * Bump Standards-Version to 4.7.3, drop Priority: tag
   * Disable useless Salsa CI jobs
 .
   [ Helmut Grohne ]
   * replace xmkmf build with minimalistic short DH build (Closes: #1099441)
Checksums-Sha1:
 b56c0d7bff99e6b53437a8442be311e431c3a4bb 1817 xcolors_1.5a-13.dsc
 90ca40f2ca00c844b709b0326abc215bd9f44148 4748 xcolors_1.5a-13.debian.tar.xz
 405a47d6432ea98395d7e511a856022d491a5b9a 6859 xcolors_1.5a-13_source.buildinfo
Checksums-Sha256:
 1541a37de75fd548f8ba551e18416d8d3604fc67c4d8032c118d8e5854df8ee9 1817 
xcolors_1.5a-13.dsc
 a53dadd7c5ff49eb4638883e4357b9b35e5f3d5cbf82c97eb06f5d32e8f3b678 4748 
xcolors_1.5a-13.debian.tar.xz
 6a8d66a24919362a0f69bbb3549d18fcabadd043dbde376e8e97b627c1d87234 6859 
xcolors_1.5a-13_source.buildinfo
Files:
 74b1c45e802c06443090e5126cfd2d39 1817 x11 optional xcolors_1.5a-13.dsc
 f55de096d0048a278895584ece62a606 4748 x11 optional 
xcolors_1.5a-13.debian.tar.xz
 0225248a7b25794c8ae26f7cb1014945 6859 x11 optional 
xcolors_1.5a-13_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmljqt8RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoGbQ//UamWR2Qc1ke/SBbM33ao+s1s3D33T2L+
rG6T2P8UylAEen+Hh/u3XSce8nzHW/x11s1qvh/Hs7dPs08irkRZQd+twiWGymZn
u6SFLhtDsfJ2awFcUN0RL5sDcU3QLlZ2c0+mDk+zZBvOg+hZ7ljJD4MEcJ6uGiP+
DVIZnUEAhTyv0mknVolN/VeZzhG1ENzOPAkI69yIb7sVoXuH8iRrX737hxyjcw+V
Rfe0H2AylRgGanQW0KTE0zML/QEtkoeRX9maXJ/CS6rzUSelJg20/a9//fxBVqbl
lopN40zq4Es2qCWKiUjPZtBYf+FvyEqcCEmu0jNw+ixOB6wIIt95kTrUe8lmJc5D
Exu9kaWkXWKAeoaii+xZ8FCte5CSLT50CH2lWHmJFYEnSj4O0XeB7n8LWaVV+YI5
ze+d9ZnJJpAIKGNuQRD8E/izz6TQlVxA2btTodkoiGgN8Sk/91U0/si+Wf74eDse
ApvMORgMewFTGUqE++JypIz1Gol8YbBCUocjpxlDMjDW2EZJZk5H+VyMPSpjBls0
ZnTfao1aA4rKJ1mHHrRNjXzZTyeqX8jDpqs0lEJe/lyeOsxCyneAH0ojJEyvEfXc
tYj31CkAShgFypWQQASr6FiXUsrHETk6oxsNxY9GH/J2z2Ro9kgAbchzuLu769/x
1wNle8CLriM=
=4bog
-----END PGP SIGNATURE-----

Attachment: pgpZbQmylGEBE.pgp
Description: PGP signature


--- End Message ---

Reply via email to