Your message dated Fri, 15 Aug 2025 13:06:03 +0000
with message-id <[email protected]>
and subject line Bug#1093595: fixed in libatasmart 0.19-6
has caused the Debian Bug report #1093595,
regarding libatasmart FTCBFS: passes host flags to the build 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.)


-- 
1093595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093595
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libatasmart
Version: 0.19-5
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

libatasmart fails to cross build from source, because it passes host
architecture build flags to the build architecture compiler. This
happens in the strpool directory. There CC is set to CC_FOR_BUILD, which
is correctly detected and propagated. However BUILD_CFLAGS are assigned
to AM_CFLAGS and therefore end up being appended rather than replacing
the host's CFLAGS. The assignment should be done to CFLAGS to actually
overwrite the host's flags. I'm attaching a patch for your convenience.

Note that the packaging does not set BUILD_CFLAGS. If you want to set
them correctly, consider also adding

    include /usr/share/dpkg/architecture.mk
    ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
    include /usr/share/dpkg/buildflags.mk
    export BUILD_CFLAGS := $(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD)
    endif

to debian/rules, but I don't think it matters in any practical way.

Helmut
--- libatasmart-0.19.orig/strpool/Makefile.am
+++ libatasmart-0.19/strpool/Makefile.am
@@ -17,8 +17,8 @@
 # <http://www.gnu.org/licenses/>.
 
 CC = @CC_FOR_BUILD@
-AM_CFLAGS = @BUILD_CFLAGS@
-AM_LDFLAGS = @BUILD_LDFLAGS@
+CFLAGS = @BUILD_CFLAGS@
+LDFLAGS = @BUILD_LDFLAGS@
 
 noinst_PROGRAMS = \
 	strpool

--- End Message ---
--- Begin Message ---
Source: libatasmart
Source-Version: 0.19-6
Done: Michael Biebl <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libatasmart, 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.
Michael Biebl <[email protected]> (supplier of updated libatasmart 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: Fri, 15 Aug 2025 14:34:46 +0200
Source: libatasmart
Architecture: source
Version: 0.19-6
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 1065484 1093595
Changes:
 libatasmart (0.19-6) unstable; urgency=medium
 .
   * Correctly pass host flags to the build compiler (Closes: #1093595)
   * Bump Standards-Version to 4.7.2
   * Replace pkg-config Build-Depends with pkgconf
   * Switch to debhelper-compat 13
   * Do not fail on dh_missing
   * Rebuild to avoid overly huge ELF segment alignment (Closes: #1065484)
Checksums-Sha1:
 c3207db9b855db5e6b515df6146ec87b345bbfd4 2139 libatasmart_0.19-6.dsc
 c72b3f9717ecd2dc2796c0414bb24314727462db 7028 libatasmart_0.19-6.debian.tar.xz
 28d32eb1bd3bacc80f92e0a306cac1c25c719c19 5707 
libatasmart_0.19-6_source.buildinfo
Checksums-Sha256:
 8d9c59f310fc390bf724f98f1cd9f636648b4e3f33a9d1e546db559034949013 2139 
libatasmart_0.19-6.dsc
 55f06b19a709843196fa3bb35aae2799142f0451b235acd4a86cd0cd11cb8e18 7028 
libatasmart_0.19-6.debian.tar.xz
 6dcf028134857a2385ac66dcfd1a01b46cdde100af67dbd5bb9dc29f493195d1 5707 
libatasmart_0.19-6_source.buildinfo
Files:
 c90a534a211e9e390f5b54ece63e4a8b 2139 libs optional libatasmart_0.19-6.dsc
 07c8e41dc7572eca2b59c1c652cf0e24 7028 libs optional 
libatasmart_0.19-6.debian.tar.xz
 89a9d9802a22943d52edc912a74129bf 5707 libs optional 
libatasmart_0.19-6_source.buildinfo

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

iQIzBAEBCgAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmifK0MACgkQauHfDWCP
ItxGHA//f1em8YQOvw01HEKy4jy+laGjXl5r+TSI1Cl7FEj+wvJsJFpdK5qT/FSP
WfAMg2DvrWoa5vo2dRLja71qm7jMy6lMNOYJLHH8LPgfzq296MRdJajF5ODeyKHm
tf5558BakiTAkiiutF13j8bQegrd2IBDKkpWpTFpn0Ara5oq7HKW9Ddzx9bergzz
bDGBQgiwDbKrXemVrrgtjnbxNxeVxv8VEvmSosnV9P9tczQfhvBXYFtM0+PKSYKr
cg4a+N4dbJQ2IfhE2ijii0oPBBtxA5s+X8NkxpQRjDnpzyaIgsnVI4YITwi8dKAg
8MP9A2GDThbNkK2OkbOeM6xBkEGihRPfSZj1uzCt5Z24xOfyTXUZDVOVFv/op9JK
NzxeL3QsXsERvdrONkfs7PpRL0J8k8I1mnUTUekwDQKi+YnmrM8mk39/SgSY4BH/
g62MSPpAzRX/uXzyzImK76h61cbc+IY4rGNEA8WhzmsNkSGTxa8lyKXmB9Ywirf0
v4cu7MXNJMdhL5jivhooCjIeV5LbpwiyUkKuu+XvxpY1C6b1RdlmGE90JXZIoA3A
4REV2sfi1zLy5lESbcLqzrkTi1Ks72fNXVdd33MqGCfs76dZ+BZOp6l15r1mOoJx
zqyeQq+FYLWTHckcAMRUAx240CESE2x0WvOlfWesAWHVURQa0lo=
=eJNI
-----END PGP SIGNATURE-----

Attachment: pgpdji24csMrq.pgp
Description: PGP signature


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

Reply via email to