Skip to contentSkip to conversation

scanpan: downgrade needed host perl version

PATCH New Viacheslav Volkov 3 participants 4 messages Jun 13, 2016 – Jun 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scanpan: downgrade needed host perl version

support/scripts/scancpan - require host perl 5.022

on the Ubuntu 14.04 - perl version v5.18.2

---
 support/scripts/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/scancpan +1 -1
index 6c70cfb..fb445cf 100755
@@ -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);
Signature · 1 line
2.8.3
#1 lore raw

PATCH 1/1 scanpan: downgrade needed host perl version

Fran?ois,

Could you review/ack this patch? Thanks!

Thomas

Quoted 22 lines · Viacheslav Volkov

support/scripts/scancpan - require host perl 5.022

on the Ubuntu 14.04 - perl version v5.18.2

---
 support/scripts/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/scancpan +1 -1
index 6c70cfb..fb445cf 100755
@@ -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);
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 scanpan: downgrade needed host perl version

14.06.16 13:17, Thomas Petazzoni ?????:

Quoted 24 lines

Fran?ois,

Could you review/ack this patch? Thanks!

Thomas

Quoted 17 lines · Viacheslav Volkov

support/scripts/scancpan - require host perl 5.022

on the Ubuntu 14.04 - perl version v5.18.2

---
 support/scripts/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/scancpan +0 -0
index 6c70cfb..fb445cf 100755
@@ -471,7 +471,7 @@ unshift @INC, sub {
 } # END OF FATPACK CODE
 
 
Quoted 5 lines

support/scripts/scancpan unshift @INC, sub { · line 477

Quoted 5 lines
support/scripts/scancpan +1 -1
-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

#3 lore raw

PATCH 1/1 scanpan: downgrade needed host perl version

In reply to Thomas Petazzoni

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
<[email protected]>:

Quoted 40 lines

Fran?ois,

Could you review/ack this patch? Thanks!

Thomas

Quoted 14 lines · Viacheslav Volkov

support/scripts/scancpan - require host perl 5.022

on the Ubuntu 14.04 - perl version v5.18.2

---
 support/scripts/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/scancpan +0 -0
index 6c70cfb..fb445cf 100755

support/scripts/scancpan unshift @INC, sub { · line 477

Quoted 8 lines
support/scripts/scancpan +1 -1
@@ -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