[OE-core] openssl does not build on recent distributions with perl-5.16.0

Martin Jansa martin.jansa at gmail.com
Fri Jun 15 14:32:24 UTC 2012


On Fri, Jun 15, 2012 at 03:19:34PM +0100, Jack Mitchell wrote:
> On 15/06/12 15:15, Khem Raj wrote:
> >
> >
> > On Thursday, June 14, 2012, Martin Jansa wrote:
> >
> >     Hi,
> >
> >     openembedded-core/meta/recipes-connectivity/openssl/openssl.inc
> >
> >     is using perlpath.pl <http://perlpath.pl>:
> >
> >      do_configure () {
> >              cd util
> >              perl perlpath.pl <http://perlpath.pl>
> >     ${STAGING_BINDIR_NATIVE}
> >
> >
> > I wonder why it's using host perl and not staged perl-native
> > May be missing inherit perlnative
> >
> >      ...
> >
> >     and perlpath.pl <http://perlpath.pl> is using find.pl
> >     <http://find.pl>:
> >     openssl-1.0.0i/util/perlpath.pl <http://perlpath.pl>:
> >      #!/usr/local/bin/perl
> >      #
> >      # modify the '#!/usr/local/bin/perl'
> >      # line in all scripts that rely on perl.
> >      #
> >
> >      require "find.pl <http://find.pl>";
> >      ...
> >
> >     which was removed in perl-5.16.0 and marked as deprecated and
> >     unmaintained in 5.14 and older:
> >     /tmp/usr/lib/perl5/5.14.2/find.pl <http://find.pl>:
> >      warn "Legacy library @{[(caller(0))[6]]} will be removed from the
> >     Perl
> >      core distribution in the next major release. Please install it
> >     from the
> >      CPAN distribution Perl4::CoreLibs. It is being used at
> >     @{[(caller)[1]]},
> >      line @{[(caller)[2]]}.\n";
> >
> >      # This library is deprecated and unmaintained. It is included for
> >      # compatibility with Perl 4 scripts which may use it, but it will be
> >      # removed in a future version of Perl. Please use the File::Find
> >     module
> >      # instead.
> >
> >     Cheers,
> >
> >     --
> >     Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com <javascript:;>
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> I can confirm I also ran into this issue using Archlinux, I thought it 
> was an issue with my Perl install but obviously not!
> 
> Regards,

You can use this patch as work around
http://git.openembedded.org/openembedded-core-contrib/commit/?h=shr&id=376acaea6856b4d7da35c61332d67e919d8c5736
but I guess that it should be fixed better for oe-core (preferably in
openssl perlpath.pl directly).

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120615/c1d6afff/attachment-0002.sig>


More information about the Openembedded-core mailing list