Buildroot Archive on 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
Subject: Re: [Buildroot] [PATCH] package/xxhash: make sure installed .pc file is correct
Date: Wed, 21 Oct 2026 21:24:33 +0200	[thread overview]
Message-ID: <f60a599557cb994ca6a61fa66b383ce7@free.fr> (raw)
In-Reply-To: <20261021183533.2649298-1-thomas.petazzoni@bootlin.com>

On 21/10/2026 20:35, Thomas Petazzoni via buildroot wrote:
> The libxxhash.pc installed by our xxhash package is incorrect as it
> contains:
> 
> prefix=/usr/local
> 
> while the library is installed in /usr. This causes for example a
> build failure of libplacebo when xxhash is built before:
> 
> output/build/libplacebo-v7.360.1/src/meson.build:247:6: ERROR: Include 
> dir 
> /home/thomas/projets/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/local/include 
> does not exist.
> 
> The problem comes from the fact that the .pc file is generated during
> the build step from .pc.in template, and we don't pass PREFIX=/usr at
> the build step. To fix, we pass PREFIX=/usr during the build step, not
> just during the install step.
> 
> The problem has probably existed since we started installing the
> libxxhash library in commit
> cc0c90aa83821d817ae2cbe01ad2c8d22ea30ba8 ("package/xxhash: install in
> staging"), but we tested in 2025.02.x, and the problem exists so this
> patch should be backported to 2025.02.x.
> 
> Fixes:
> 
>   
> https://autobuild.buildroot.net/results/344af8504a77ae96e4009d76a77572180cf49b14/
> 
> 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-10-21 19:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 18:35 [Buildroot] [PATCH] package/xxhash: make sure installed .pc file is correct Thomas Petazzoni via buildroot
2026-10-21 19:24 ` 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=f60a599557cb994ca6a61fa66b383ce7@free.fr \
    --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