[Buildroot] [git commit branch/2022.11.x] utils/scancpan: bump required perl version

Peter Korsgaard peter at korsgaard.com
Wed Dec 21 19:38:06 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=9039988057bdd180769e20273791316893d5c019
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.11.x

As the comment in package/perl/perl.mk instructs, bumping the perl
version must be propagated to utils/scancpan as well.

However, commit 7c1ef8129f37 (package/perl: bump to version 5.34.0)
forgot to do so.

Fixes: 7c1ef8129f37

Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 4cbef389f3e10d1cbdcd9961fb128dfd9b85debf)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 utils/scancpan | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/scancpan b/utils/scancpan
index 168619164f..48f8bd83b7 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -488,9 +488,9 @@ use Digest::SHA qw(sha256_hex);
 use Text::Wrap;
 $Text::Wrap::columns = 62;
 
-# Below, 5.032 should be aligned with the version of perl actually
+# Below, 5.034 should be aligned with the version of perl actually
 # bundled in Buildroot:
-die <<"MSG" if $] < 5.032;
+die <<"MSG" if $] < 5.034;
 This script needs a host perl with the same major version as Buildroot target perl.
 
 Your current host perl is:
@@ -498,7 +498,7 @@ Your current host perl is:
     version $]
 
 You may install a local one by running:
-    perlbrew install perl-5.32.0
+    perlbrew install perl-5.34.0
 MSG
 
 my ($help, $man, $quiet, $force, $recommend, $test, $host);



More information about the buildroot mailing list