From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: openssl does not build on recent distributions with perl-5.16.0
Date: Fri, 15 Jun 2012 22:40:16 +0100 [thread overview]
Message-ID: <1339796416.2547.18.camel@ted> (raw)
In-Reply-To: <20120615203949.GY3140@jama.jama.net>
On Fri, 2012-06-15 at 22:39 +0200, Martin Jansa wrote:
> On Fri, Jun 15, 2012 at 03:36:50PM +0100, Richard Purdie wrote:
> > On Fri, 2012-06-15 at 07:15 -0700, Khem Raj wrote:
> > > On Thursday, June 14, 2012, Martin Jansa wrote:
> > > Hi,
> > >
> > > openembedded-core/meta/recipes-connectivity/openssl/openssl.inc
> > >
> > > is using perlpath.pl:
> > >
> > > do_configure () {
> > > cd util
> > > perl perlpath.pl ${STAGING_BINDIR_NATIVE}
> > >
> > > I wonder why it's using host perl and not staged perl-native
> > > May be missing inherit perlnative
> >
> > perlnative is not meant to be used as a replacement for the host
> > system's perl, its meant for building target modules and target perl
> > itself.
> >
> > We require perl to be on the host system. We're not meant to be using
> > anything outside the standard perl install though. The alternative means
> > effectively totally cratering build time as we'd have to build
> > perl-native before pretty much anything else.
> >
> > So the best solution is likely to have something that adds find.pl to
> > the native sysroot and have these recipes depend on it, at least short
> > term. I'm extremely reluctant to start adding perl-native dependencies
> > throughout the system due to performance considerations.
>
> is there any other recipe depending on find.pl? (I've tried only minimal
> image with perl-5.16), maybe sgml-common-native as Jack reported,
> here it's used only in do_configure, that's why I added find.pl only to
> openssl and better fix would be to send patch to use File::Find in
> perlpath.pl to openssl upstream IMHO then adding find.pl to sysroot.
Agreed, I've not looked into the details of this but that sounds
reasonable...
Cheers,
Richard
next prev parent reply other threads:[~2012-06-15 21:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 6:36 openssl does not build on recent distributions with perl-5.16.0 Martin Jansa
2012-06-15 14:15 ` Khem Raj
2012-06-15 14:19 ` Jack Mitchell
2012-06-15 14:27 ` Jack Mitchell
2012-06-15 14:32 ` Martin Jansa
2012-06-15 14:36 ` Richard Purdie
2012-06-15 15:59 ` Khem Raj
2012-06-15 20:39 ` Martin Jansa
2012-06-15 21:40 ` Richard Purdie [this message]
2012-06-16 6:43 ` [PATCH] openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl Martin Jansa
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=1339796416.2547.18.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/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