Your message dated Sun, 25 Jan 2026 14:34:21 +0000
with message-id <[email protected]>
and subject line Bug#1126389: fixed in libalgorithm-svm-perl 0.13-5
has caused the Debian Bug report #1126389,
regarding libalgorithm-svm-perl FTCBFS: uses the build architecture C++ compiler
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.)


-- 
1126389: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126389
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libalgorithm-svm-perl
Version: 0.13-4
Tags: patch
User: [email protected]
Usertags: ftcbfs

libalgorithm-svm-perl fails to cross build from source, because the
upstream build system wants to use a C++ compiler with Perl's
ExtUtils:MakeMaker and thus overrides the chosen C compiler. In doing
so, it forces a build architecture compiler where a host architecture on
would be needed. Since Perl does not usually use C++, the host
architecture C++ compiler is not something we can query from Perl. I
propose honouring the CXX environment variable and supplying it from
debian/rules instead. Once doing so, libalgorithm-svm-perl cross builds
successfully. I'm attaching a patch for your convenience.

Helmut
diff -Nru libalgorithm-svm-perl-0.13/debian/changelog 
libalgorithm-svm-perl-0.13/debian/changelog
--- libalgorithm-svm-perl-0.13/debian/changelog 2024-03-04 14:32:15.000000000 
+0100
+++ libalgorithm-svm-perl-0.13/debian/changelog 2026-01-24 13:10:25.000000000 
+0100
@@ -1,3 +1,10 @@
+libalgorithm-svm-perl (0.13-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the host compiler. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 24 Jan 2026 13:10:25 +0100
+
 libalgorithm-svm-perl (0.13-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru libalgorithm-svm-perl-0.13/debian/patches/cross.patch 
libalgorithm-svm-perl-0.13/debian/patches/cross.patch
--- libalgorithm-svm-perl-0.13/debian/patches/cross.patch       1970-01-01 
01:00:00.000000000 +0100
+++ libalgorithm-svm-perl-0.13/debian/patches/cross.patch       2026-01-24 
13:10:25.000000000 +0100
@@ -0,0 +1,11 @@
+--- libalgorithm-svm-perl-0.13.orig/Makefile.PL
++++ libalgorithm-svm-perl-0.13/Makefile.PL
+@@ -1,7 +1,7 @@
+ use ExtUtils::MakeMaker;
+ use Config;
+ 
+-$CC = 'g++';
++$CC = $ENV{'CXX'} // 'g++';
+ 
+ %args = ('CCFLAGS' => "-Wall $Config{ccflags}");
+ 
diff -Nru libalgorithm-svm-perl-0.13/debian/patches/series 
libalgorithm-svm-perl-0.13/debian/patches/series
--- libalgorithm-svm-perl-0.13/debian/patches/series    2024-03-04 
14:32:15.000000000 +0100
+++ libalgorithm-svm-perl-0.13/debian/patches/series    2026-01-24 
13:08:45.000000000 +0100
@@ -3,3 +3,4 @@
 do-not-link-to-libm.patch
 spelling.patch
 ccflags.patch
+cross.patch
diff -Nru libalgorithm-svm-perl-0.13/debian/rules 
libalgorithm-svm-perl-0.13/debian/rules
--- libalgorithm-svm-perl-0.13/debian/rules     2024-03-04 14:32:15.000000000 
+0100
+++ libalgorithm-svm-perl-0.13/debian/rules     2026-01-24 13:10:25.000000000 
+0100
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDTOOLS := 1
+include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@

--- End Message ---
--- Begin Message ---
Source: libalgorithm-svm-perl
Source-Version: 0.13-5
Done: gregor herrmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libalgorithm-svm-perl, 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.
gregor herrmann <[email protected]> (supplier of updated libalgorithm-svm-perl 
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, 25 Jan 2026 14:48:52 +0100
Source: libalgorithm-svm-perl
Architecture: source
Version: 0.13-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 1126389
Changes:
 libalgorithm-svm-perl (0.13-5) unstable; urgency=medium
 .
   * Team upload.
   * Apply patch to fix FTCBFS by using the host compiler.
     Thanks to Helmut Grohne for the bug report and the patch.
     (Closes: #1126389)
   * Declare compliance with Debian Policy 4.7.3.
   * Remove «Rules-Requires-Root: no», which is the current default.
   * Remove «Priority: optional», which is the current default.
Checksums-Sha1:
 a3226ba5c78a1a721d4f644a9cf388d2d7c31453 2410 libalgorithm-svm-perl_0.13-5.dsc
 e0808a5bf9eb12259e309ac51c580a086e23279f 5280 
libalgorithm-svm-perl_0.13-5.debian.tar.xz
Checksums-Sha256:
 b3459d26196533b11a8aa4b01983331dde3598e25f723f47c33ee52b132e7a41 2410 
libalgorithm-svm-perl_0.13-5.dsc
 ec29ede37e3e8427414f122a64e0ba247243d62774a12b766c22011cf0615b05 5280 
libalgorithm-svm-perl_0.13-5.debian.tar.xz
Files:
 1a2db5d2c14b1aa98302bb8de7d64173 2410 perl optional 
libalgorithm-svm-perl_0.13-5.dsc
 9166de2f638e96ce1c18f2aef7bc58bb 5280 perl optional 
libalgorithm-svm-perl_0.13-5.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAml2IJFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgb1uxAAhydC/OUhhbD5gPKeAeq/cmlFm8M/ZUQK5+DndvY+LuA/coc/9hFK/q1z
90T38rHAzfSHay7cwToSpO5JyERB4aXR+xxOPxa3M85SBxSnN/TOewCNMbGBLrDN
4vpHfKFPS4ycnjqejDcVtIFBK9NgO8lMa0y0zICTtJkN0Fzb5tr+t0PDZ0ACC+KU
e9RtVcg6Ot8ruV2xmkkcHgV8pQIkwB/YJHwql6N1E1YB+q6fm2EH2O6UC/9G1c3E
i++cUPk1NlHZBnVMy5izU1vNpetmTNFaPCl2s+AqLM0UTjEzoTVAlnY2kMCNRebh
YIlr/I2Tx3ljS0ehByqlQxqGif5jAb2emkZiqN7WGVI4He3LQ5K9Ms+o8gRTrNno
2dPDqlnau3ho6lbW7u9qoiHBNNCMETMQfVHAbse9kgWHFkXcqSEJZDS880i/9gYC
hS/dEE0uSArAwOD2xKaz3W5oTlEJGtuQhmbUpls/vVlf74bsu1tJPRxeU4KlGGgj
FccDNGe7Qcw1CvStxb1LuMKXb2XEaBT0+SQq5t81zJzdLF+LUdlK4wUmE5IYhc5b
4uvV7pecoAqUU2zKG8Xd4kkMSSj28/c0fugGROBqroFgxkM1qJHPHV2rM+3DuGlM
MD3zmAPFYcto8uI6p1g+Fmt63N8w54lYSWlye98bF8VxhCpBSuY=
=2nhX
-----END PGP SIGNATURE-----

Attachment: pgpCUEDjOwsx1.pgp
Description: PGP signature


--- End Message ---

Reply via email to