[cmake-developers] [CMake 0014330]: ExternalProject download error misleading if MD5 check is used

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 31 17:39:44 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14330 
====================================================================== 
Reported By:                RolandSchulz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14330
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-31 17:39 EDT
Last Modified:              2013-07-31 17:39 EDT
====================================================================== 
Summary:                    ExternalProject download error misleading if MD5
check is used
Description: 
If one uses ExternalProject with MD5 check and the download doesn't work (e.g.
no internet connection), then the error message is  misleading. It states that
the MD5 checksum is incorrect, instead of e.g. "unknown host", as it would
without the MD5 check enabled. This is because the MD5 sum is checked in the
file(DOWNLOAD ..) before the error code of the download is checked. Thus the
wrong (/less important) error is shown.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-31 17:39 RolandSchulz   New Issue                                    
======================================================================




More information about the cmake-developers mailing list