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

François Perrad francois.perrad at gadz.org
Tue Jun 14 18:46:01 UTC 2016


NACK for this patch.

scancpan must use a host perl with the same major version as the
target perl (currently 5.22.2),
in order to have the correct data from Module::CoreList needed by the
dependency generation.
See comment lines 575-576.

In fact, the documentation (part Synopsis) must be fixed with :
perlbrew install 5.22.2
I'll send the patch.

François


2016-06-14 12:17 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni at free-electrons.com>:
> 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);
>
>
>
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list