Bug 329855

Summary: emerge: cmake package to be downloaded (2.8.12.1) doesn't exists
Product: kde-windows Reporter: confused <d.anielschmid>
Component: buildsystemAssignee: KDE-Windows <kde-windows>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andrew.crouthamel, d.anielschmid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description confused 2014-01-11 17:47:18 UTC
Download of cmake fails, because the file doesn't exists / the URL is wrong.
I verified this with the branches "master" and "kde-4.12".

The default target in
%kderoot%/emerge/portage/dev-util/cmake/cmake-2.8.4.2011622.py
is "2.8.12.1". The (non existing) URL is:
http://www.cmake.org/files/v2.8/cmake-2.8.12.1-win32-x86.zip

I fixed this by switching to 2.8.12, but i'm not sure if that's works (cmake is found, but I can't build KDE because of another, unrelated issue).
URL: http://www.cmake.org/files/v2.8/cmake-2.8.12-win32-x86.zip


Diff:

diff --git a/portage/dev-util/cmake/cmake-2.8.4.2011622.py b/portage/dev-util/cmake/cmake-2.8.4.2011622.py
index 48e755c..4c39f27 100644
--- a/portage/dev-util/cmake/cmake-2.8.4.2011622.py
+++ b/portage/dev-util/cmake/cmake-2.8.4.2011622.py
@@ -8,7 +8,7 @@ class subinfo( info.infoclass ):
         self.targets['2.8.4'] = 'http://www.cmake.org/files/v2.8/cmake-2.8.4-win32-x86.zip'
         self.targets['2.8.5'] = 'http://www.cmake.org/files/v2.8/cmake-2.8.5-win32-x86.zip'
         self.targets['2.8.8'] = 'http://www.cmake.org/files/v2.8/cmake-2.8.8-win32-x86.zip'
-        self.targets['2.8.12.1'] = 'http://www.cmake.org/files/v2.8/cmake-2.8.12.1-win32-x86.zip'
+        self.targets['2.8.12'] = 'http://www.cmake.org/files/v2.8/cmake-2.8.12-win32-x86.zip'
         self.targets['v2.8.2'] = 'http://downloads.sourceforge.net/kde-windows/cmake-vc90-v2.8.2-bin.tar.bz2'
         self.targets['2.8.0-ce'] = 'http://downloads.sourceforge.net/kde-windows/cmake-vc90-2.8.0-6-bin.tar.bz2'
         self.targets['2.8.1-ce'] = 'http://downloads.sourceforge.net/kde-windows/cmake-vc90-2.8.1-bin.tar.bz2'
@@ -21,7 +21,7 @@ class subinfo( info.infoclass ):
         self.targetMergeSourcePath['2.8.4'] = 'cmake-2.8.4-win32-x86'
         self.targetMergeSourcePath['2.8.5'] = 'cmake-2.8.5-win32-x86'
         self.targetMergeSourcePath['2.8.8'] = 'cmake-2.8.8-win32-x86'
-        self.targetMergeSourcePath['2.8.12.1'] = 'cmake-2.8.12.1-win32-x86'
+        self.targetMergeSourcePath['2.8.12'] = 'cmake-2.8.12-win32-x86'
         self.targetDigests['v2.8.2'] = 'de516a570808c7a022139b55e758d5f7b378ec7d'
         self.targetDigests['2.8.3-2'] = 'cba746303abb825c8549e6621da35757c039fa9e'
         self.targetDigests['2.8.4'] = '539ce250521d964a8770e0a7362db196dbc97fbc'
@@ -29,7 +29,7 @@ class subinfo( info.infoclass ):
         self.targetDigests['2.8.8'] = '3e93868b4be00e4cee1787c8d0479b2bf3807602'
         self.targetDigests['v2.8.8'] = 'd63da3b1790b64729e357c157ad9103e1bcfa267'
         self.targetDigests['v2.8.10.2'] = '56a5d0820e92c01c39ae2d9be38d3dfe459d4281'
-        self.targetDigests['2.8.12.1'] = '6a27d8fcf887774e56fa165eddd5242e1c350464'
+        self.targetDigests['2.8.12'] = '1038e39d91d51bc4d27690c024a58a998eb9be7a'
         self.patchToApply['v2.8.2'] = ( 'findtiff.diff', 0 )
         self.patchToApply['v2.8.10.2'] = ( 'findpng16.diff', 0 )
 
@@ -38,7 +38,7 @@ class subinfo( info.infoclass ):
         else:
             # 2.8.4 is broken when using short paths and
             # windres fails even in old projects like zlib
-            self.defaultTarget = '2.8.12.1'
+            self.defaultTarget = '2.8.12'
 
     def setBuildOptions( self ):
         self.disableHostBuild = False



Reproducible: Always

Steps to Reproduce:
1. Setup a clean emerge environment (http://techbase.kde.org/Getting_Started/Build/Windows/emerge)
2. run "emerge qt"
3. cmake fails to download
Actual Results:  
cmake fails to download

Expected Results:  
cmake is downloaded
Comment 1 Andrew Crouthamel 2018-11-11 04:35:59 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 confused 2018-11-12 13:11:15 UTC
I don't use kde-windows anymore and don't have a possibility to re-test :( Sorry.
Comment 3 Andrew Crouthamel 2018-11-12 16:19:47 UTC
Thanks for the update!
Comment 4 confused 2018-11-12 16:23:11 UTC
Thanks for your work and smashing this old bug! :)