Version in base suite: 1.0.0+dfsg-8 Version in overlay suite: 1.0.0+dfsg-8+deb13u1 Base version: freecad_1.0.0+dfsg-8+deb13u1 Target version: freecad_1.0.0+dfsg-8+deb13u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/f/freecad/freecad_1.0.0+dfsg-8+deb13u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/f/freecad/freecad_1.0.0+dfsg-8+deb13u2.dsc changelog | 7 +++++++ patches/1040-fix-cmake-race.patch | 30 ++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 38 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpwk46sebj/freecad_1.0.0+dfsg-8+deb13u1.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpwk46sebj/freecad_1.0.0+dfsg-8+deb13u2.dsc: no acceptable signature found diff -Nru freecad-1.0.0+dfsg/debian/changelog freecad-1.0.0+dfsg/debian/changelog --- freecad-1.0.0+dfsg/debian/changelog 2026-03-07 21:02:07.000000000 +0000 +++ freecad-1.0.0+dfsg/debian/changelog 2026-06-27 07:50:13.000000000 +0000 @@ -1,3 +1,10 @@ +freecad (1.0.0+dfsg-8+deb13u2) trixie; urgency=medium + + * Maintaner approvided upload. + * Backport patch 1040-fix-cmake-race.patch to fix FTBFS on arm64. + + -- Petter Reinholdtsen Sat, 27 Jun 2026 09:50:13 +0200 + freecad (1.0.0+dfsg-8+deb13u1) trixie; urgency=medium * Maintaner approvided upload. diff -Nru freecad-1.0.0+dfsg/debian/patches/1040-fix-cmake-race.patch freecad-1.0.0+dfsg/debian/patches/1040-fix-cmake-race.patch --- freecad-1.0.0+dfsg/debian/patches/1040-fix-cmake-race.patch 1970-01-01 00:00:00.000000000 +0000 +++ freecad-1.0.0+dfsg/debian/patches/1040-fix-cmake-race.patch 2026-06-09 08:26:52.000000000 +0000 @@ -0,0 +1,30 @@ +Description: FTBFS on arm64 - race condition in CMakeLists.txt for Mod/Assembly + Avoid race in Assembly file copying by removing overlap and enforcing target + order. Ensure AssemblyScripts runs before AssemblyTests to guarantee + directories exist. Fixes intermittent FTBFS on arm64. +Author: Tobias Frost +Forwarded: https://github.com/FreeCAD/FreeCAD/pull/29576 +Applied-Upstream: https://github.com/FreeCAD/FreeCAD/commit/1462b5c038bf674170ddcc6e51e31af0df3433ac +Last-Update: 2026-04-23 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/Mod/Assembly/CMakeLists.txt ++++ b/src/Mod/Assembly/CMakeLists.txt +@@ -79,8 +79,16 @@ + SOURCES ${test_files} + ) + ++# Target AssemblyScripts handles copying AssemblyTests_SRCS and AssemblyScripts_SRCS + fc_copy_sources(AssemblyScripts "${CMAKE_BINARY_DIR}/Mod/Assembly" ${all_files}) +-fc_copy_sources(AssemblyTests "${CMAKE_BINARY_DIR}/Mod/Assembly" ${test_files}) ++ ++# Target AssemblyTests should only handle copying the remaining Assembly_Scripts ++# to avoid racing with AssemblyScripts over the same files. ++fc_copy_sources(AssemblyTests "${CMAKE_BINARY_DIR}/Mod/Assembly" ${Assembly_Scripts}) ++ ++# Ensure AssemblyScripts finishes its directory creation and copying before ++# AssemblyTests begins. ++add_dependencies(AssemblyTests AssemblyScripts) + + INSTALL( + FILES diff -Nru freecad-1.0.0+dfsg/debian/patches/series freecad-1.0.0+dfsg/debian/patches/series --- freecad-1.0.0+dfsg/debian/patches/series 2026-03-07 21:02:07.000000000 +0000 +++ freecad-1.0.0+dfsg/debian/patches/series 2026-06-09 08:29:01.000000000 +0000 @@ -5,6 +5,7 @@ 2040-ftbfs-macappbundle.patch 2060-fix-linking.patch 2070-use-nlohmann-json3-dev.patch +1040-fix-cmake-race.patch 1080-fix-FTBFS-due-dfsg-repacking-p1.patch 1081-fix-FTBFS-due-dfsg-repacking-p2.patch 1090-freecad-spelling-allow-one.patch