All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: buildroot@buildroot.org, Francois Perrad <francois.perrad.86@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/perl: fix build issue with musl
Date: Thu, 27 Aug 2026 22:34:20 +0200	[thread overview]
Message-ID: <e603fd6ea129b675cc5c15fd827b1e55@free.fr> (raw)
In-Reply-To: <20260826203304.387458-1-thomas.petazzoni@bootlin.com>

On 26/08/2026 22:33, Thomas Petazzoni via buildroot wrote:
> perl does not build with musl due to memrchr() being unavailable. This
> is caused by a perl-cross bug, which does function availability
> detection with _GNU_SOURCE defined, but then does the build without
> _GNU_SOURCE defined. At least OpenEmbedded and NixOS have faced the
> same issue, and worked it around in slightly different ways.
> 
> On our side, we create a patch, which was submitted upstream, to solve
> the issue.
> 
> This issue has been introduced in perl-cross commit b40c560f5d5e,
> which was first merged in perl-cross release 1.4.1. From a Buildroot
> perspective, we bumped from perl-cross 1.4 to 1.4.1 in commit
> 8a289667f5dba6fffb3a21faa14517e9b49726a4, which was merged
> 2023.05. And indeed the build failure can be reproduced even on our
> LTS 2025.02.x, so the fix needs to be backported there.
> 
> It should be noted that even if the patch is against perl-cross, we
> add it to package/perl/ directly, as patches in perl are applied after
> perl has been extracted *and* perl-cross has been extracted on top.
> 
> Fixes:
> 
>   
> https://autobuild.buildroot.net/results/3e47ade0963642988fd8e1be9a6e8042700619ec/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-08-27 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 20:33 [Buildroot] [PATCH] package/perl: fix build issue with musl Thomas Petazzoni via buildroot
2026-08-27 20:34 ` Julien Olivain 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=e603fd6ea129b675cc5c15fd827b1e55@free.fr \
    --to=buildroot@buildroot.org \
    --cc=francois.perrad.86@gmail.com \
    --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 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.