From cb8914d387fbf4e8933c3dbe4481d3615f15efa9 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Fri, 27 Nov 2026 16:16:38 +0100 Subject: [PATCH] docs(packaging): add the 6.4.3 release entry 6.4.3 has lint parse a file for the rules that read its AST with the libc++ of the compiler that builds it, so that in the Flatpak those rules run on a file that includes a header of the C++ standard library (#46), and gives the scan of a build's sources the compiler where it is installed, so that a build whose compiler is reached through a link from another directory scans them. A patch, by the version rule: the notes have Fixes and nothing New or Breaking. The range adds Toolchain::installedDir, Toolchain::installedDirAsWritten and Toolchain::InstalledClangxx(command), which interfaces/ exports, for the linter and the scan to read. They are not under New, as ObjectPath, which 6.4.1 exported for the tests, was not. --- .../flatpak/net.catcrafts.CrafterBuild.metainfo.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml index 6f56beb..afaf84a 100644 --- a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml @@ -26,6 +26,15 @@ + + +

Fixes

+
    +
  • In crafter-build's Flatpak, crafter-build lint runs the rules that read a file's AST on a source that includes a header of the C++ standard library, such as <algorithm>, in a build for the host that names no libc++ directory of its own through a sysroot, CRAFTER_BUILD_LIBCXX_DIR or its flags (#46). There such a source built, and lint then ran none of those rules on it, printed 'algorithm' file not found and exited 1. The parse of such a build took the first libc++ it found under ../include from the working directory, /usr/local/include and /usr/include, wherever the build's compiler keeps its own (/app in the Flatpak, whose /usr has none). It now looks for libc++ where the compiler does, and reads the default configuration files beside the compiler that the compile reads, such as clang++.cfg.
  • +
  • A build no longer fails to scan its sources where its compiler is reached through a link from another directory, as a bin/clang++ under CRAFTER_BUILD_LLVM_DIR may be. clang-scan-deps, which reads what a source declares and imports since 6.4.2, looked for clang's own headers from the directory of the link, and for libc++'s too in a build for the host that names no libc++ directory of its own, and where they were not to be found from there, the scan of a source that includes a header of the C++ standard library failed, and the build with it, though its compile found the header. It is now given the compiler in the directory the compiler says it is installed in, as lint's parse is, and reads the default configuration files beside the compiler that the compile reads.
  • +
+
+

Fixes