Your message dated Sun, 31 May 2026 19:05:06 +0000
with message-id <[email protected]>
and subject line Bug#1103921: fixed in fossil 1:2.27-3
has caused the Debian Bug report #1103921,
regarding fossil FTCBFS for arm64: passes -mbranch-protection=standard 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.)
--
1103921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fossil
Version: 1:2.25-4
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: arm64
User: [email protected]
Usertags: ftcbfs
fossil fails to cross build from source for arm64, because arm64
includes -mbranch-protection=standard in CFLAGS and fossil passes this
flag for building native tools. The amd64 gcc does not like that. The
upstream makefiles seed BCCFLAGS from the detected host's CFLAGS while
they should not. I suggest overriding BCCFLAGS in debian/rules. Please
consider applying the attached patch.
Helmut
diff --minimal -Nru fossil-2.25/debian/changelog fossil-2.25/debian/changelog
--- fossil-2.25/debian/changelog 2025-04-10 21:15:20.000000000 +0200
+++ fossil-2.25/debian/changelog 2025-04-22 22:14:37.000000000 +0200
@@ -1,3 +1,10 @@
+fossil (1:2.25-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: override BCCFLAGS. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Tue, 22 Apr 2025 22:14:37 +0200
+
fossil (1:2.25-4) unstable; urgency=medium
* Patch upstream riscv64-recent-GCC-breaking (1<<31) print issue
diff --minimal -Nru fossil-2.25/debian/rules fossil-2.25/debian/rules
--- fossil-2.25/debian/rules 2025-04-10 21:13:35.000000000 +0200
+++ fossil-2.25/debian/rules 2025-04-22 22:14:30.000000000 +0200
@@ -3,6 +3,7 @@
DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS
include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with bash-completion
@@ -48,6 +49,9 @@
--with-tcl-stubs \
--with-tcl-private-stubs
+override_dh_auto_build:
+ dh_auto_build -- 'BCCFLAGS=$(CPPFLAGS_FOR_BUIL) $(CFLAGS_FOR_BUILD)'
+
execute_after_dh_installdocs:
mv debian/fossil/usr/share/doc/fossil/changes.wiki \
debian/fossil/usr/share/doc/fossil/changelog
--- End Message ---
--- Begin Message ---
Source: fossil
Source-Version: 1:2.27-3
Done: Barak A. Pearlmutter <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fossil, 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.
Barak A. Pearlmutter <[email protected]> (supplier of updated fossil 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, 30 Apr 2026 16:12:06 +0100
Source: fossil
Architecture: source
Version: 1:2.27-3
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Closes: 1103921 1105310 1138485
Changes:
fossil (1:2.27-3) unstable; urgency=medium
.
* Update debian/watch to v5
* Bump policy
* Deal with cross build bad compiler options issue (closes: #1103921)
* Quilt patches
- make-shuffle-reverse.patch (closes: #1105310)
- openssl-4.patch (closes: #1138485)
Checksums-Sha1:
89f7c6af7542a069f4357d47b6ac55ef6da56bca 1256 fossil_2.27-3.dsc
b8b271c8b4177cd93520c18e0df8ec288d5f9213 52580 fossil_2.27-3.debian.tar.xz
439487bcb27ea79e5850dcd1664a58308f634124 6487 fossil_2.27-3_source.buildinfo
Checksums-Sha256:
d339df02d852edc05175c6fbf085de978df7aa44b02509f0e90a7b043fc0a900 1256
fossil_2.27-3.dsc
8a55d21769dc548ddba14061111c3bdf947f269f1861642ab0095226560bcfbf 52580
fossil_2.27-3.debian.tar.xz
9539e76dede3a07241fc2da079d4b92ba5e8c95ecaf897a242f488f44bd60cc4 6487
fossil_2.27-3_source.buildinfo
Files:
897a6a78a86cee3d398f9ee7d4d16a65 1256 vcs optional fossil_2.27-3.dsc
58ee1af0d8bcb010a99c880ddfd02ef5 52580 vcs optional fossil_2.27-3.debian.tar.xz
a247fc27e402ad7f76d8e3241cf245ee 6487 vcs optional
fossil_2.27-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIUEARYKAC0WIQQt5L8FQhB2xHrSA2fGrySQ08pyuQUCahyCXw8cYmFwQGRlYmlh
bi5vcmcACgkQxq8kkNPKcrmQ6QD/WJrR5ZujhDPpVYetjrwthJT4gRwfjema22HT
Mq2WGFUBAKofQFKBFrAMkq1jIcMWavUDg9rCMwAcRD0hu4U2uWkN
=GE4z
-----END PGP SIGNATURE-----
pgplXSAvGxF89.pgp
Description: PGP signature
--- End Message ---