All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexis Lothoré via buildroot" <buildroot@buildroot.org>
To: "Alexis Lothoré" <alexis.lothore@bootlin.com>, buildroot@buildroot.org
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Nicolas Carrier" <nicolas.carrier@nav-timing.safrangroup.com>,
	"Adrian Perez de Castro" <aperez@igalia.com>,
	"Bernd Kuhls" <bernd@kuhls.net>, "Daniel Lang" <dalang@gmx.at>,
	"Dick Olsson" <hi@senzilla.io>,
	"Fabio Urquiza" <fabiorush@gmail.com>,
	"Joseph Kogut" <joseph.kogut@gmail.com>,
	"Julien Olivain" <ju.o@free.fr>,
	"Romain Naour" <romain.naour@gmail.com>,
	"Valentin Korenblit" <valentinkorenblit@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/cmake: bump host-cmake minimum version to 3.26
Date: Tue, 18 Aug 2026 15:22:47 +0200	[thread overview]
Message-ID: <DKS3OBRX08FC.1Z7R7P4USLDXM@bootlin.com> (raw)
In-Reply-To: <20260818-host-cmake-at-least-bump-v1-1-02fa0d7dfac5@bootlin.com>

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é <alexis.lothore@bootlin.com>
> ---
> 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-08-18 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18 12:11 [Buildroot] [PATCH] package/cmake: bump host-cmake minimum version to 3.26 Alexis Lothoré via buildroot
2026-08-18 13:22 ` Alexis Lothoré via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DKS3OBRX08FC.1Z7R7P4USLDXM@bootlin.com \
    --to=buildroot@buildroot.org \
    --cc=alexis.lothore@bootlin.com \
    --cc=aperez@igalia.com \
    --cc=bernd@kuhls.net \
    --cc=dalang@gmx.at \
    --cc=fabiorush@gmail.com \
    --cc=hi@senzilla.io \
    --cc=joseph.kogut@gmail.com \
    --cc=ju.o@free.fr \
    --cc=nicolas.carrier@nav-timing.safrangroup.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=valentinkorenblit@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.