Your message dated Thu, 14 May 2026 04:48:34 +0000
with message-id <[email protected]>
and subject line Bug#1135296: fixed in libsml 1.1.5-1
has caused the Debian Bug report #1135296,
regarding libsml 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.)


-- 
1135296: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135296
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libsml
Version: 1.1.2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

libsml fails to cross build from source, because the upstream build
system uses the default of the LD variable and nothing substitutes it.
Sadly, this variable is not uniformly used with various upstreams and
therefore dh_auto_build does not provide a substitution. In this case,
the value computed by dpkg's buildtools.mk is the right one and
substituting it makes the build proceed until it fails running tests.
Tests should be skipped when DEB_BUILD_OPTIONS=nocheck is in effect and
once supporting that option, libsml can be cross built. I'm attaching a
patch for your convenience.

Helmut
diff -Nru libsml-1.1.2/debian/changelog libsml-1.1.2/debian/changelog
--- libsml-1.1.2/debian/changelog       2024-01-14 19:57:50.000000000 +0100
+++ libsml-1.1.2/debian/changelog       2026-04-26 09:04:54.000000000 +0200
@@ -1,3 +1,12 @@
+libsml (1.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Substitute LD for the sml build.
+    + Honour DEB_BUILD_OPTIONS=nocheck.
+
+ -- Helmut Grohne <[email protected]>  Sun, 26 Apr 2026 09:04:54 +0200
+
 libsml (1.1.2-2) unstable; urgency=medium
 
   * Source-only upload 
diff -Nru libsml-1.1.2/debian/rules libsml-1.1.2/debian/rules
--- libsml-1.1.2/debian/rules   2024-01-06 15:47:07.000000000 +0100
+++ libsml-1.1.2/debian/rules   2026-04-26 09:04:54.000000000 +0200
@@ -3,15 +3,20 @@
 # Build with all available hardening options
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+include /usr/share/dpkg/buildtools.mk
+
 VERSION=$(shell dpkg-parsechangelog --show-field Version 2>/dev/null | cut -f1 
-d-)
 
-execute_before_dh_auto_build:
+override_dh_auto_build:
        sed -i 's#"version":.*#"version": "${VERSION}",#' library.json 
        sed -i 's#Version:.*#Version: ${VERSION}#' sml.pc
-
-execute_after_dh_auto_build:
+       dh_auto_build --sourcedirectory=sml -- LD='$(LD)'
+       dh_auto_build --sourcedirectory=examples
        pandoc -o sml_server.1 -s -t man debian/sml_server.1.md
 
+override_dh_auto_test:
+       dh_auto_build --sourcedirectory=test
+
 execute_after_dh_clean:
        rm -f sml_server.1
 

--- End Message ---
--- Begin Message ---
Source: libsml
Source-Version: 1.1.5-1
Done: Joachim Zobel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libsml, 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.
Joachim Zobel <[email protected]> (supplier of updated libsml 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, 14 May 2026 05:56:14 +0200
Source: libsml
Architecture: source
Version: 1.1.5-1
Distribution: unstable
Urgency: medium
Maintainer: Joachim Zobel <[email protected]>
Changed-By: Joachim Zobel <[email protected]>
Closes: 1135296
Changes:
 libsml (1.1.5-1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1135296)
     + Substitute LD for the sml build.
     + Honour DEB_BUILD_OPTIONS=nocheck.
 .
   [ Joachim Zobel ]
   * Removed -fno-stack-protector from CFLAGS
   * Fixed all lintian hardening info messages
Checksums-Sha1:
 91534dc0d81591bc3b47487d472dbf34c3892dca 1955 libsml_1.1.5-1.dsc
 6f8956f7d4a40862e91991eeb6d71c070ff8a1ce 82088 libsml_1.1.5.orig.tar.gz
 648b62dcb7734c840dbe1ed899100c59f42c61d0 5964 libsml_1.1.5-1.debian.tar.xz
 9ecb2d4acba5174dce458e1e628232fd7cf85f4f 6854 libsml_1.1.5-1_amd64.buildinfo
Checksums-Sha256:
 a73665db768f7dbc110364f51b9472a0158758e7136c9db2f74338e77541cf67 1955 
libsml_1.1.5-1.dsc
 a456e808e586a33e6ec4b6eaf32540f696c4dd4d317280a6eb217e03018a3ac0 82088 
libsml_1.1.5.orig.tar.gz
 a8e9e3389f95e4ada9da2089ccefb18adfda59f967bcfffb9ae35201fc57d754 5964 
libsml_1.1.5-1.debian.tar.xz
 cc112415fa92ee9f6c0cddc292124fefc4c995b9dadcb9153031223fab3deffe 6854 
libsml_1.1.5-1_amd64.buildinfo
Files:
 fef9b9d7db5c4604321af40ce242aabd 1955 libs optional libsml_1.1.5-1.dsc
 e5619cc76204257d81dbe1c7aa425d4d 82088 libs optional libsml_1.1.5.orig.tar.gz
 73398c22bc9f3b2404d7d8e180d4ad8c 5964 libs optional 
libsml_1.1.5-1.debian.tar.xz
 35c40a84f7bc245c320c3033a735ea73 6854 libs optional 
libsml_1.1.5-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEHyyVzMFxc65o8GdZ++CNpkv3iqkFAmoFTTMACgkQ++CNpkv3
iqnd4w/+KLbAtp2WiPMU81wgjgD1iwQGskzd7AjDdlIxGuUgNXTUgAI6MRWgKgY1
GaUtuUxNub0+6y3vnUiVJ7P5UL/3320LKL4Ueo9K8bEksU227PDTMb9zfZfD00CD
4NYUe0YzEyiI7yMoIFsyry/spWCIgQqxcq70r5v4fSlTaJ/zPKBbHftafZtgHiWU
va8DJ4EIorpG8pYcv5iLTClR+QsYvUSeYS4FTVi1cJhUgsTePMn54+9c5H7Ra1Rr
O4SLWWpbCQm1Jrkh2cS8sClI7jIMCsZSmeGGfZ4cC7RfoQaCZFGD059DVmQIMfiK
ImpcA9PcUgiBRe1mKIA5pUa4pCgPeV0My1BE48F6Pm+oM2ynEBLpk5mocX4QHV8a
0UaCB0oWGMOOTLb3ZN1f2a9w+Fl8C/vSfcZJFz1fypEpCIevz+JqObs7ZE1PiG/b
0R0cXBEfVsoJXw1PVxmNkn8z72aFVKnmf6CeULTcWKZGj8efXW2y3BALa4VCXvOy
mZeA7zp92cw+ML274iCbdFr0Iw4X06gl9n4mPzzL8q5odJ6dCfl2VhJYK/rB3oCc
pkd1Q1vOLXgfdBoKRpqPXbnux1S2S06PbLDFNzEvGtpKA/DSO2Jk7ThU/4SR5Dz+
tmR8qSjBc0BSIVaI2i3pRnsfU0IHQEzcSyDDxf3KmClnYBgxnQw=
=7pz3
-----END PGP SIGNATURE-----

Attachment: pgpGyCaJF2VvG.pgp
Description: PGP signature


--- End Message ---

Reply via email to