[Buildroot] [PATCH] scanpan: downgrade needed host perl version

Viacheslav Volkov sv99 at inbox.ru
Tue Jun 14 13:07:46 UTC 2016


14.06.16 13:17, Thomas Petazzoni пишет:
> François,
>
> Could you review/ack this patch? Thanks!
>
> Thomas
>
> On Mon, 13 Jun 2016 22:40:57 +0300, Viacheslav Volkov wrote:
>> support/scripts/scancpan - require host perl 5.022
>>
>> on the Ubuntu 14.04 - perl version v5.18.2
>>
>> Signed-off-by: Viacheslav Volkov <sv99 at inbox.ru>
>> ---
>>  support/scripts/scancpan | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/support/scripts/scancpan b/support/scripts/scancpan
>> index 6c70cfb..fb445cf 100755
>> --- a/support/scripts/scancpan
>> +++ b/support/scripts/scancpan
>> @@ -471,7 +471,7 @@ unshift @INC, sub {
>>  } # END OF FATPACK CODE
>>  
>>  
>> -use 5.022;      # same major version as target perl
>> +use 5.018;      # same major version as target perl
>>  use strict;
>>  use warnings;
>>  use Fatal qw(open close);

On the host machine with perl version lower then 5.22 scancpan exit with
error - require version 5.22.

I cant add perl module from the cpan on the Ubuntu 14.04 - perl version
5.18.2.

SYNOPSIS - in the script:

curl -kL http://install.perlbrew.pl | bash
perlbrew install perl-5.18.2
supports/scripts/scancpan [options] [distname ...]


Thanks




More information about the buildroot mailing list