Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/mariadb: fix build with fmt >= 11.0.1
Date: Thu, 15 Aug 2024 14:47:20 +0200	[thread overview]
Message-ID: <20240815144720.154032f4@windsurf> (raw)
In-Reply-To: <20240810134440.903175-1-ju.o@free.fr>

On Sat, 10 Aug 2024 15:44:40 +0200
Julien Olivain <ju.o@free.fr> wrote:

> MariaDB is failing to build since commit 6b86f076c3 "package/fmt: bump
> to version 11.0.1" with output:
> 
>     /buildroot/output/build/aarch64-buildroot-linux-gnu/sysroot/usr/include/fmt/base.h:1402:29: error: passing 'const fmt::v11::formatter<String>' as 'this' argument discards qualifiers [-fpermissive]
>      1402 |     ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
>           |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> This commit is fixing the issue by adding an upstream patch, rebased
> on the package version.
> 
> Fixes:
> http://autobuild.buildroot.org/results/3106928a2d6b32acfb075a2840cf549a81784270/
> and many others.
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Note: at the time of this writing, there is a newer mariadb version
> 10.11.9 available. It introduces new, unrelated build failures in
> Buildroot. This patch backports the upstream fix on the current
> package version in Buildroot, to be included in the upcoming
> Buildroot 2024.08 version.
> ---
>  ...le-failure-fmt-use-incompatible-with.patch | 35 +++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 package/mariadb/0002-MDEV-34206-compile-failure-fmt-use-incompatible-with.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, 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:[~2024-08-15 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-10 13:44 [Buildroot] [PATCH 1/1] package/mariadb: fix build with fmt >= 11.0.1 Julien Olivain
2024-08-15 12:47 ` Thomas Petazzoni 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=20240815144720.154032f4@windsurf \
    --to=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=thomas.petazzoni@bootlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox