[kde-windows] [Bug 357117] New: Changed ActivePerl version

Jonathan via KDE Bugzilla bugzilla_noreply at kde.org
Thu Dec 24 11:00:39 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=357117

            Bug ID: 357117
           Summary: Changed ActivePerl version
           Product: kde-windows
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: buildsystem
          Assignee: kde-windows at kde.org
          Reporter: jonathan at imatix.com

Just like https://bugs.kde.org/show_bug.cgi?id=341518, perl-all.py needs
updating to reflect currently available versions of Perl.

Reproducible: Always

Steps to Reproduce:
1. Install perl with 'emerge perl'

Actual Results:  
Scripts attempt to download Perl version 5.20.1, which is no longer available

Expected Results:  
Should install correct version 5.22.0

Simple fix:

--- a/portage/dev-util/perl/perl-all.py
+++ b/portage/dev-util/perl/perl-all.py
@@ -24,6 +24,9 @@ class subinfo(info.infoclass):
            self.targets['5.20.1'] =
"http://downloads.activestate.com/ActivePerl/releases/5.20.1.2000/ActivePerl-5.20.1.2000-MSWin32-x64-298557.zip"
            self.targetDigests['5.20.1'] =
'53e840d2c95c5cda335069371b9da1109ec264ce'
            self.targetMergeSourcePath['5.20.1'] =
"ActivePerl-5.20.1.2000-MSWin32-x64-298557\\perl"
+           self.targets['5.22.0'] =
"http://downloads.activestate.com/ActivePerl/releases/5.22.0.2200/ActivePerl-5.22.0.2200-MSWin32-x64-299195.zip"
+           self.targetDigests['5.22.0'] =
'204e2287ec23c44cc8b8d2c06d46355e993ccd49'
+           self.targetMergeSourcePath['5.22.0'] =
"ActivePerl-5.22.0.2200-MSWin32-x64-299195\\perl"
         else:
            self.targets['5.10.1'] =
"http://downloads.activestate.com/ActivePerl/releases/5.10.1.1007/ActivePerl-5.10.1.1007-MSWin32-x86-291969.zip"
            self.targetDigests['5.10.1'] =
'9122a828b32d8b8499c73b61972eaec303698961'
@@ -43,7 +46,11 @@ class subinfo(info.infoclass):
            self.targets['5.20.1'] =
"http://downloads.activestate.com/ActivePerl/releases/5.20.1.2000/ActivePerl-5.20.1.2000-MSWin32-x86-64int-298557.zip"
            self.targetDigests['5.20.1'] =
'75e2b0c635e16693e2146fed65ba5e98d387a2bd'
            self.targetMergeSourcePath['5.20.1'] =
"ActivePerl-5.20.1.2000-MSWin32-x86-64int-298557\\perl"
-        self.defaultTarget = '5.20.1'
+           self.targets['5.22.0'] =
"http://downloads.activestate.com/ActivePerl/releases/5.22.0.2200/ActivePerl-5.22.0.2200-MSWin32-x64-299195.zip"
+           self.targetDigests['5.22.0'] =
'204e2287ec23c44cc8b8d2c06d46355e993ccd49'
+           self.targetMergeSourcePath['5.22.0'] =
"ActivePerl-5.22.0.2200-MSWin32-x64-299195\\perl"
+
+        self.defaultTarget = '5.22.0'
     def setDependencies( self ):
         self.buildDependencies['virtual/bin-base'] = 'default'

A better solution could automatically detect and install the most recent
version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-windows mailing list