Re: [Buildroot] [PATCH] package/cmake: bump host-cmake minimum version to 3.26
Alexis Lothoré via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
On Tue Aug 18, 2026 at 2:11 PM CEST, Alexis Lothoré wrote: [...] > And while I've not been able to make _any cmake-based C++ package_ build > fail (so there is still one subtle detail I am not getting), I managed > to make many package build fail on this exact same "stdlib.h not found" > error: > - protobuf > - glog > - dbus-cxx > - sdbus-cpp > - log4cxx > - taglib > - sqlitecpp > - ... A small clarification, because my english may be a bit broken here: I did not manage to reproduce the issue for _all_ C+ cmake-based packages, only for a part of the upstream packages. The failure to reproduce the issue could be explain for some (eg: many C++ projects do not trigger any build, those are self-contained in a single header, eg json-for-modern-cpp), but as another example, paho-mqtt-cpp builds fine in my setup, while I would have expected it to fail. > As the issue affects many packages, and that the faulty cmake version is > still shipped on some standard distributions, bump the minimal host-cmake > version to 3.26 to prevent this issue. > > [0] https://gitlab.kitware.com/cmake/cmake/-/commit/607bccb4efe1 > > Signed-off-by: Alexis Lothoré <[email protected]> > --- > Hi Buildroot community, > this patch proposes a quite aggressive cmake bump, following a quite > long investigation. While cmake 3.26 has been in the wild for more than > 3 years, it has some non negligeable consequences for users and CI: > host-cmake will be systematically built in more cases than today, > extending the build time in the process. If that's a no-go, I am open to > ideas about how to better handle this. I also failed to mention that the issue affects 2025.02.x, 2026.05.x and master. Alexis -- Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot