From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [78.110.170.148] (helo=tinyArch.localdomain) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SfXeC-00089T-8g for openembedded-core@lists.openembedded.org; Fri, 15 Jun 2012 16:37:14 +0200 Received: from [192.168.0.41] (unknown [195.171.99.130]) by tinyArch.localdomain (Postfix) with ESMTPSA id 68F2F6005D for ; Fri, 15 Jun 2012 14:35:02 +0100 (BST) Message-ID: <4FDB4654.4090302@communistcode.co.uk> Date: Fri, 15 Jun 2012 15:27:32 +0100 From: Jack Mitchell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <20120615063647.GU3140@jama.jama.net> <4FDB4476.2070105@communistcode.co.uk> In-Reply-To: <4FDB4476.2070105@communistcode.co.uk> Subject: Re: openssl does not build on recent distributions with perl-5.16.0 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 14:37:15 -0000 Content-Type: multipart/alternative; boundary="------------060805040003040806010702" --------------060805040003040806010702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 : >> >> 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 >> >> ... >> >> and perlpath.pl is using find.pl >> : >> openssl-1.0.0i/util/perlpath.pl : >> #!/usr/local/bin/perl >> # >> # modify the '#!/usr/local/bin/perl' >> # line in all scripts that rely on perl. >> # >> >> require "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 : >> 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@gmail.com >> >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@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@embed.me.uk) > Embedded Systems Engineer > http://www.embed.me.uk > > -- > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@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@embed.me.uk) Embedded Systems Engineer http://www.embed.me.uk -- --------------060805040003040806010702 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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:

 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 
 ...

and perlpath.pl is using find.pl:
openssl-1.0.0i/util/perlpath.pl:
 #!/usr/local/bin/perl
 #
 # modify the '#!/usr/local/bin/perl'
 # line in all scripts that rely on perl.
 #

 require "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:
 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@gmail.com


_______________________________________________
Openembedded-core mailing list
Openembedded-core@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@embed.me.uk)             
  Embedded Systems Engineer
  http://www.embed.me.uk

--


_______________________________________________
Openembedded-core mailing list
Openembedded-core@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@embed.me.uk)             
  Embedded Systems Engineer
  http://www.embed.me.uk

--
--------------060805040003040806010702--