Your message dated Wed, 18 Nov 2026 04:19:01 +0000
with message-id <[email protected]>
and subject line Bug#1153129: fixed in altos 1.9.22-4
has caused the Debian Bug report #1153129,
regarding altos: fails to build from source on amd64v3 due to host -march from
LDFLAGS
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.)
--
1153129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: altos
Version: 1.9.22-3
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: amd64
Dear Maintainer,
When building the package for amd64v3 in Ubuntu, `-march=x86-64-v3` is added to
LDFLAGS. This flag is incorrectly used with `arm-none-eabi-gcc`, which causes
the build to fail. The attached patch prevents the host's LDFLAGS from being
used with foreign compilers.
-- System Information:
Debian Release: forky/sid
APT prefers resolute-updates
APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500,
'resolute'), (100, 'resolute-proposed'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.0-42-generic (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages altos depends on:
pn default-jre | java2-runtime <none>
pn freetts <none>
ii libc6 2.43-2ubuntu2.4
ii libelf1t64 0.194-4
ii libjansson4 2.14-2build4
pn libjfreechart-java <none>
ii libjson-c5 0.18+ds-3
ii libreadline8t64 8.3-4
ii libusb-1.0-0 2:1.0.29-2build1
pn nickle <none>
altos recommends no packages.
altos suggests no packages.
Description: Don't pass host CPPFLAGS/LDFLAGS to the ARM compiler probes
The cortex-m0/m3 checks override CFLAGS but inherit the host LDFLAGS and
CPPFLAGS. On amd64v3 (and any build using -march in LDFLAGS for LTO)
these contain -march=x86-64-v3, which arm-none-eabi-gcc rejects, so the
probes fail and no firmware (*.ihx) is built, making dh_install fail.
Author: OpenCode
Reviewed-By: Sebastien Bacher <[email protected]>
Reviewed-By: Willow Carlson-Huber <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/altos/+bug/2168943
Forwarded: no
--- a/configure.ac
+++ b/configure.ac
@@ -278,9 +278,13 @@
if test "x$HAVE_ARM_CC" = "xyes"; then
save_CC="$CC"
save_CFLAGS="$CFLAGS"
+ save_CPPFLAGS="$CPPFLAGS"
+ save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
CC="$ARM_CC"
CFLAGS="-mthumb -mcpu=cortex-m0"
+ CPPFLAGS=""
+ LDFLAGS=""
LIBS="--specs=picolibc.specs"
AC_LANG_PUSH([C])
@@ -300,6 +304,8 @@
AC_LANG_POP([C])
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
CC="$save_CC"
else
HAVE_ARM_M3_CC=no
--- End Message ---
--- Begin Message ---
Source: altos
Source-Version: 1.9.22-4
Done: Bdale Garbee <[email protected]>
We believe that the bug you reported is fixed in the latest version of
altos, 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.
Bdale Garbee <[email protected]> (supplier of updated altos 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, 17 Nov 2026 20:39:48 -0700
Source: altos
Architecture: source
Version: 1.9.22-4
Distribution: unstable
Urgency: medium
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Closes: 1153129
Changes:
altos (1.9.22-4) unstable; urgency=medium
.
* patch from Willow Carlson-Huber to avoid passing host CPPFLAGS and LDFLAGS
when building for ARM firmware targets, closes: #1153129
Checksums-Sha1:
66c577a5a74b826cce1c48575a9cdbd646e4a7f9 2336 altos_1.9.22-4.dsc
3e80c14e72c584e3875966b1b184aaf08ddd09ba 89456 altos_1.9.22-4.debian.tar.xz
b52ae20d2c489fee1711658b3a8471ea414949a0 15753 altos_1.9.22-4_amd64.buildinfo
Checksums-Sha256:
7a6e4cf95b30c838ae610590ac6e9f1ed295b5276ec2e336cdfe70ee2e46b715 2336
altos_1.9.22-4.dsc
64a7cef005b990ff5e72bcedc92f43f627c8d07238277a81a4882a30a421026b 89456
altos_1.9.22-4.debian.tar.xz
0b72ccd6af5efad6c56418db8d5a0669ca77944af31953178c11b3234c2e6e90 15753
altos_1.9.22-4_amd64.buildinfo
Files:
e5836230d5481805ed64fefc5aafd26c 2336 electronics optional altos_1.9.22-4.dsc
332bd9a7fa5326d488eb4a81de8ab4d9 89456 electronics optional
altos_1.9.22-4.debian.tar.xz
670306773dd6ea14128bbba6aec54f10 15753 electronics optional
altos_1.9.22-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEHguq2FwiMqGzzpLrtwRxBYMLn6EFAmr9IyQACgkQtwRxBYML
n6EivQ/+Kf6sKsudnksv1BxkMZ5K5vSAYe0kE81MASuCDt//ky5R649Zay4EjANN
1da7HOEtnNaCB47KV6rRQ0SJvG9Why9PePAMHoUXIq/XGZ9nR3J358RJqfUjkfF+
e6HdUxjFVWrlL0mjIFrjdeGAvqizQHyr64ukkySUKKIgh9CTx1uFVqSzNsHoklPd
mSEOZ5PwhQXsWdaOkgPiinpgWnD6ccOO89/UsOeqPxx8mn7wQ6evKxPsa8hRimFw
j1LEpOSn38Y/eyzZflPa21ujIeyz7ZWFPWe0Y9dappBT24hIQJt4rkUZVOcnwfZR
DguboeGlToabrtuH+SmYA6Puq+hNSXj125uJU3hzier8sBWtGkGlDy0wTsa1IWZl
M/maQNRy/RdAWv+42832RbWwIdHklvWtKGipPx5hXZjL61Xj9FiNtfHkMxj1yraC
935XiN4q02a5k7w+7IaFg6Ly/Smfk80d5CHPkzi/G4hX23Yjfl7nPnr8ISfcFbnu
yM4R25cq1Qdcb1VOorbWTrZC5h0SI2qEzqd/C3aWltJWkdslAQ/zWuTwFPWAb8aB
AqA5FulGpy7G8EoeF+bq3CGnbykqFqVQ0jnPrmqSWwiJuoy7rJItLejYlOzbWs2f
8hksFVFhqfPyWC3Zx1DHKLAqDS7phTnZp0bm3mbtCeXqIUcHJ0g=
=W8e4
-----END PGP SIGNATURE-----
pgpoBd8_QXeSx.pgp
Description: PGP signature
--- End Message ---