🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Wed, 18 Nov 2026 04:30
Bug#1153129: marked as done (altos: fails to build from source on amd64v3 due to host -march from LDFLAGS)
#3429
Author: Debian Bug Tracking System
Date: Wed, 18 Nov 2026 04:30
325 lines
14483 bytes
This is a multi-part message in MIME format...

------------=_1794975662-306781-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 18 Nov 2026 04:19:01 +0000
with message-id <E1xTX8P-00000006HON-0Sd2@fasolo.debian.org>
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 f=
rom 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 owner@bugs.debian.org
immediately.)


--=20
1153129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1153129
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794975662-306781-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 5 Nov 2026 21:06:52 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.9 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,NO_RELAYS,XMAILER_REPORTBUG
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 86; hammy, 150; neutral, 158; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--H*Ad:N*Bug, 0.000-+--HTo:N*Debian,
	0.000-+--forky
Return-path: <willow.carlsonhuber@canonical.com>
Received: via submission
	by buxtehude.debian.org with esmtp (Exim 4.96)
	(envelope-from <willow.carlsonhuber@canonical.com>)
	id 1xP4fa-00FVkG-3D
	for submit@bugs.debian.org;
	Thu, 05 Nov 2026 21:06:52 +0000
Content-Type: multipart/mixed; boundary="===============8859690924807627863=="
MIME-Version: 1.0
From: Willow Carlson-Huber <willow.carlsonhuber@canonical.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: altos: fails to build from source on amd64v3 due to host -march from LDFLAGS
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/altos/+bug/2168943
Message-ID: <179391280996.1278254.3190510311274130776.reportbug@willow-workbuntu>
X-Mailer: reportbug 13.2.0+ubuntu1
Date: Thu, 05 Nov 2026 15:06:49 -0600
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============8859690924807627863==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: altos
Version: 1.9.22-3
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source
X-Debbugs-Cc: debian-amd64@lists.debian.org, willow.carlsonhuber@canonical.com
User: debian-amd64@lists.debian.org
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.

--===============8859690924807627863==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="fix-amd64v3-build.patch"

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 <sebastien.bacher@canonical.com>
Reviewed-By: Willow Carlson-Huber <willow.carlsonhuber@canonical.com>
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

--===============8859690924807627863==--

------------=_1794975662-306781-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1153129-close) by bugs.debian.org; 18 Nov 2026 04:19:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,PDS_BTC_ID,PGPSIGNATURE,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 99; hammy, 150; neutral, 92; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:32958)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xTX8S-001Hex-2j
	for 1153129-close@bugs.debian.org;
	Wed, 18 Nov 2026 04:19:04 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xTX8R-001Pcj-2V
	for 1153129-close@bugs.debian.org;
	Wed, 18 Nov 2026 04:19:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=KXpWqhle8Hwc43o6yQbOLQmFeMFujxQjsMLngSoBo6o=; b=MGXIGi6phm35g3w/d7KmRdN5eN
	wc19CrcbpqixjMnrVANugLLHZp/fJk6Y9w7A6C2MVbbrr4h1DNqT150LBO88KPQKqQYehIFio5ZYu
	lydWxbCVtiiWcO3DeoawO12Sco+kWouWdYqtz/Nxf0PfjtbEwmR8iNJUpHAs/FuWLHG0WteFvDpHP
	4xHhrbWDcStJ+qNsj7KxBPXZSw/Ds7U1jtMC6n1l7uHcFUs0K3GTxJpzL7PIBtrIwmhYvsVIKP6Kw
	gss5i7UyADxw0mYQOp86FcsOENzLriEB7pZW07KrTfTrsqG7IScG+joGODFfU6ukxWzYWe5F9O/5r
	LjPCamSw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xTX8P-00000006HON-0Sd2;
	Wed, 18 Nov 2026 04:19:01 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Bdale Garbee <bdale@gag.com>
To: 1153129-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: altos
Debian: DAK
Debian-Changes: altos_1.9.22-4_source.changes
Debian-Source: altos
Debian-Version: 1.9.22-4
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1153129: fixed in altos 1.9.22-4
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============2870077653408719208=="
Message-Id: <E1xTX8P-00000006HON-0Sd2@fasolo.debian.org>
Date: Wed, 18 Nov 2026 04:19:01 +0000

--===============2870077653408719208==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: altos
Source-Version: 1.9.22-4
Done: Bdale Garbee <bdale@gag.com>

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 1153129@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <bdale@gag.com> (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 ftpmaster@ftp-master.debian.org)


-----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 <bdale@gag.com>
Changed-By: Bdale Garbee <bdale@gag.com>
Closes: 1153129
Changes:
 altos (1.9.22-4) unstable; urgency=3Dmedium
 .
   * patch from Willow Carlson-Huber to avoid passing host CPPFLAGS and LDFLA=
GS
     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.d=
ebian.tar.xz
 670306773dd6ea14128bbba6aec54f10 15753 electronics optional altos_1.9.22-4_a=
md64.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=3D
=3DW8e4
-----END PGP SIGNATURE-----


--===============2870077653408719208==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCav0nNQAKCRCb9qggYcy5
IW/+AQD2onWoHN3RRY4PcT8Aa5L7HTKZ3XcAQ5kmDERrMRWTVwEA6V5/2o87FX3j
hXJYX9m9cgGOzr6zkQX4e8Jeb7G76QY=
=63W9
-----END PGP SIGNATURE-----

--===============2870077653408719208==--
------------=_1794975662-306781-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads