Your message dated Wed, 24 Dec 2025 09:38:18 +0000
with message-id <[email protected]>
and subject line Bug#1123906: fixed in perl-tk 1:804.036+dfsg1-6
has caused the Debian Bug report #1123906,
regarding perl-tk FTCBFS: multiple reasons
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.)


-- 
1123906: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123906
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: perl-tk
Version: 1:804.036+dfsg1-5
Tags: patch
User: [email protected]
Usertags: ftcbfs

perl-tk fails to cross build from source for several reasons.
Ultimately, the build dependency on perl requests a host architecture
interpreter, which cannot be installed. The recent addition of
perl-xs-dev is what is really needed for building a perl extension, so
perl can be dropped now. While at it, I also opted for annotated test
dependencies <!nocheck>. When actually building perl-dk, it fails
configuring the embedded jpeg library. This is due to a check for the
system copy that requires running host code. The failure is understood
as building the vendor copy. In the attached patch, I am demoting the
try_run to a try_compile check. This poses a weaker verification that
may be undesired on other platforms. It should be safe when building on
Debian, but discussing a compromise is likely needed when trying to
forward this upstream. Combining the aforementioned changes makes
perl-tk cross buildable and you may find them in the attached patch.

Helmut
diff -Nru perl-tk-804.036+dfsg1/debian/changelog 
perl-tk-804.036+dfsg1/debian/changelog
--- perl-tk-804.036+dfsg1/debian/changelog      2025-04-13 20:13:01.000000000 
+0200
+++ perl-tk-804.036+dfsg1/debian/changelog      2025-12-23 13:24:46.000000000 
+0100
@@ -1,3 +1,13 @@
+perl-tk (1:804.036+dfsg1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Drop implied perl Build-Dependency.
+    + Annotate test dependencies <!nocheck>.
+    + Avoid a check running host code.
+
+ -- Helmut Grohne <[email protected]>  Tue, 23 Dec 2025 13:24:46 +0100
+
 perl-tk (1:804.036+dfsg1-5) unstable; urgency=medium
 
   * added perl-xs-dev to build-dependencies. Closes: #1102833
diff -Nru perl-tk-804.036+dfsg1/debian/control 
perl-tk-804.036+dfsg1/debian/control
--- perl-tk-804.036+dfsg1/debian/control        2025-04-13 20:12:15.000000000 
+0200
+++ perl-tk-804.036+dfsg1/debian/control        2025-12-23 13:24:44.000000000 
+0100
@@ -4,7 +4,6 @@
 Maintainer: Georges Khaznadar <[email protected]>
 Uploaders: Michael C. Schultheiss <[email protected]>
 Build-Depends: debhelper-compat (=13),
- perl,
  perl-xs-dev,
  libx11-dev,
  libxft-dev,
@@ -14,8 +13,8 @@
  libjpeg-dev,
  libfreetype-dev,
  libxrender-dev,
- xvfb,
- xauth
+ xvfb <!nocheck>,
+ xauth <!nocheck>,
 Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/georgesk/perl-tk
 Vcs-Git: https://salsa.debian.org/georgesk/perl-tk.git
diff -Nru perl-tk-804.036+dfsg1/debian/patches/cross.patch 
perl-tk-804.036+dfsg1/debian/patches/cross.patch
--- perl-tk-804.036+dfsg1/debian/patches/cross.patch    1970-01-01 
01:00:00.000000000 +0100
+++ perl-tk-804.036+dfsg1/debian/patches/cross.patch    2025-12-23 
13:24:46.000000000 +0100
@@ -0,0 +1,11 @@
+--- perl-tk-804.036+dfsg1.orig/JPEG/Makefile.PL
++++ perl-tk-804.036+dfsg1/JPEG/Makefile.PL
+@@ -6,7 +6,7 @@
+ 
+ use Tk::MMtry;
+ 
+-if ($Tk::MMtry::VERSION ge '4.007' && 
try_run("config/has_jpeg.c",['-I/usr/local/include'],['-ljpeg']))
++if ($Tk::MMtry::VERSION ge '4.007' && 
try_compile("config/has_jpeg.c",['-I/usr/local/include'],['-ljpeg']))
+  {
+   push(@args, LIBS => ['-ljpeg'],
+               INC  => '-I/usr/local/include',
diff -Nru perl-tk-804.036+dfsg1/debian/patches/series 
perl-tk-804.036+dfsg1/debian/patches/series
--- perl-tk-804.036+dfsg1/debian/patches/series 2025-03-20 17:37:16.000000000 
+0100
+++ perl-tk-804.036+dfsg1/debian/patches/series 2025-12-23 13:24:46.000000000 
+0100
@@ -4,3 +4,4 @@
 80-Fix-STRLEN-vs-int-pointer-confusion-in-Tcl_GetByteAr.patch
 gcc-14.patch
 gcc-15.patch
+cross.patch

--- End Message ---
--- Begin Message ---
Source: perl-tk
Source-Version: 1:804.036+dfsg1-6
Done: Helmut Grohne <[email protected]>

We believe that the bug you reported is fixed in the latest version of
perl-tk, 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.
Helmut Grohne <[email protected]> (supplier of updated perl-tk 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, 23 Dec 2025 13:24:46 +0100
Source: perl-tk
Architecture: source
Version: 1:804.036+dfsg1-6
Distribution: unstable
Urgency: medium
Maintainer: Georges Khaznadar <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Closes: 1123906
Changes:
 perl-tk (1:804.036+dfsg1-6) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1123906)
     + Drop implied perl Build-Dependency.
     + Annotate test dependencies <!nocheck>.
     + Avoid a check running host code.
 .
   [ Georges Khaznadar ]
   * applied Helumt Grohne's changes, many thanks!
Checksums-Sha1:
 20e726ab84ff5b608e3ea96f382f8991e58c83bb 2050 perl-tk_804.036+dfsg1-6.dsc
 1294efa01d6a8a40d7c92b05c8c987568fa37752 18848 
perl-tk_804.036+dfsg1-6.debian.tar.xz
 d4ad41db6990521973372877bd882b31f1efecda 7644 
perl-tk_804.036+dfsg1-6_source.buildinfo
Checksums-Sha256:
 7d40413e441647cf5c081180c29bd531d21f64f103b1435d2eeee1d47500d969 2050 
perl-tk_804.036+dfsg1-6.dsc
 536daa213e5f30bd42382780b4a3feaa537d1b9f5a7c2bdadd65328d3dc7358e 18848 
perl-tk_804.036+dfsg1-6.debian.tar.xz
 f26e3d11e8ac13e6bf6cf3c4cd1e38520c3d436c2f897eaeb3777835657e53bd 7644 
perl-tk_804.036+dfsg1-6_source.buildinfo
Files:
 dd0ad10423cf64e4464bcf171e6c3e65 2050 perl optional perl-tk_804.036+dfsg1-6.dsc
 b3b21700c210bfb686754fc9127c7278 18848 perl optional 
perl-tk_804.036+dfsg1-6.debian.tar.xz
 f7613cba2c558cf7a3d61bb9fe30bff0 7644 perl optional 
perl-tk_804.036+dfsg1-6_source.buildinfo

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

iQIzBAEBCgAdFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmlLr5YACgkQHCgWkHE2
rjk09Q//cViVwbI1gnKDSRKQZL6YEG2GkHQB5h1bGUV4i+xIH00LOmazCS/tv0Fi
t173mYBA5RZpuMUB1zy5bl92GEI0zp1xTI52V+u7PfvwWYlEg06BBDbPI95m8Tuq
4HKJ/nAywXLouXGCMtPrcJjydpihhRVfvsUcJiP0kWEpI8XaJRkThwVjaxZnkdl/
Kh4FGu4ZyM+R0RsciNUpHVAMF2z0O6ThQuOViVUmHN5mR6iM1UFVQ5+f+SOJOo9j
T79ktgbeFpx+mYfQ8r/v4RbcEBU/AZ9dtFWOuGA8VEHywidyYrH0mULuQdJO23jv
OOudyjPBwYwDLB/Kz3FCE95eNGLTPhROWQo1Lq5bpcDx3HP9KrYhwuswT4cmRvb4
jUIy5NNufUzCJ16msPdU2SccFhOJVywAFbuNvKd816aR1PJ0+FaoX4C2e8ZQ+hGa
XjNtjLXoMNvnQNkkZuB7SQYPFvtOHLps1zBziY02dRokLLnBWiq4a4eTkFInT8i9
Ot6cmToBB2TzIAv25RJqEtRbJ2RF8ZP4Rp3f5vEAxWR04I331Ncx73q2sR4cuBBb
Vmc9qibMQuSki4aSY7DRjI2NqJ/AlFiUE6zj3sZCc0QS/oJBOKlL7usRqH1MqaIP
tgOpGRzV8tl80EEmggsuMoMUunEZzw6L7RQ2eIR7gwBB4mgwiaY=
=lZbu
-----END PGP SIGNATURE-----

Attachment: pgp4XL8pdpwPj.pgp
Description: PGP signature


--- End Message ---

Reply via email to