[OE-core] openssl does not build on recent distributions with perl-5.16.0
Jack Mitchell
ml at communistcode.co.uk
Fri Jun 15 14:27:32 UTC 2012
On 15/06/12 15:19, 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,
> --
>
> Jack Mitchell (jack at embed.me.uk)
> Embedded Systems Engineer
> http://www.embed.me.uk
>
> --
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Also, from a quick check adding perlnative to openssl.inc allows it to
build, now fighting with sgml-common-native :/
Regards,
--
Jack Mitchell (jack at embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120615/fcf5807b/attachment-0002.html>
More information about the Openembedded-core
mailing list