Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump
Date: Thu, 13 Sep 2018 14:33:02 +0200	[thread overview]
Message-ID: <20180913143302.518e13d6@windsurf> (raw)
In-Reply-To: <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>

Hello Bernd,

On Thu, 13 Sep 2018 08:09:47 +0200, Bernd Kuhls wrote:

> I can not reproduce the problem with this defconfig
> http://autobuild.buildroot.net/results/54f/
> 54f274f33e5221d6979c6c0ad9b5633a1869b204/
> 
> xlocale.h is present:
> 
> $ find output/staging/usr/include/ | grep xlocale
> output/staging/usr/include/xlocale.h

The same problem happens with perl-crypt-blowfish, and I was able to
reproduce it. If you build just this package (i.e simple
configuration), then it works fine because it uses the Perl headers
from STAGING_DIR:

/home/test/buildroot/output/host/bin/powerpc-linux-gcc -c   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os      -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/buildroot/output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/perl5/5.26.2/powerpc-linux/CORE"   Blowfish.c
/home/test/buildroot/output/host/bin/powerpc-linux-gcc -c   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os      -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/buildroot/output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/perl5/5.26.2/powerpc-linux/CORE"   _blowfish.c

However, if you do the full build of
http://autobuild.buildroot.net/results/aa764fd8e851225664af94e3bcb68657126d85e0/
using br-reproduce-build, you can reproduce the issue. And in this
case, it's the host Perl headers that are included:

/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/bin/powerpc-linux-gcc -c   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os      -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC "-I/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/lib/perl5/5.26.2/x86_64-linux/CORE"   Blowfish.c
In file included from Blowfish.xs:9:0:
/home/test/aa764fd8e851225664af94e3bcb68657126d85e0/output/host/lib/perl5/5.26.2/x86_64-linux/CORE/perl.h:738:24: fatal error: xlocale.h: No such file or directory
 #   include <xlocale.h>

Not only this is incorrect, but it also fails badly because there is no
xlocale.h in the toolchain sysroot:

output$ find . -name 'xlocale.h'
output$

Could you try:

wget http://git.buildroot.net/buildroot-test/plain/utils/br-reproduce-build
chmod +x br-reproduce-build
./br-reproduce-build aa764fd8e851225664af94e3bcb68657126d85e0

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2018-09-13 12:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 20:41 [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
2018-08-21 20:49   ` Thomas Petazzoni
2018-09-12 14:39   ` Thomas Petazzoni
2018-09-13  6:09     ` Bernd Kuhls
2018-08-21 20:41 ` [Buildroot] [PATCH/next v2 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30 Bernd Kuhls
2018-08-23  9:49 ` [Buildroot] [PATCH/next v2 1/3] package/perl-crypt-openssl-guess: new package Thomas Petazzoni
     [not found] ` <dec5946c-8c4e-0075-62a3-251daf7cb856@t-online.de>
2018-09-13 12:33   ` Thomas Petazzoni [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=20180913143302.518e13d6@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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