[cmake-developers] [CMake 0014318]: ExternalProject module needs small patch to allow unpacking of *.tar.xz files

Mantis Bug Tracker mantis at public.kitware.com
Fri Jul 26 19:44:17 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14318 
====================================================================== 
Reported By:                irwin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14318
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-26 19:44 EDT
Last Modified:              2013-07-26 19:44 EDT
====================================================================== 
Summary:                    ExternalProject module needs small patch to allow
unpacking of *.tar.xz files
Description: 
The CMake logic in ExternalProject.cmake does tests for filename patterns which
currently do not contain the pattern for *.tar.xz.  The attached patch fixes
this issue so that ExternalProject_Add correctly unpacks *.tar.xz files on
Linux.  


Steps to Reproduce: 
Use ExternalProject_Add to attempt to unpack a *.tar.xz tarball on Linux.

Additional Information: 
Note there is a related fix (consisting of importing the latest libarchive
source code into CMake) in the works that should allow "cmake -E tar xfz
*.tar.xz" to work properly on MSYS.  When that fix is combined with the present
one the result will be that ExternalProject_Add correctly unpacks *.tar.xz files
on MSYS (as well as Linux).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-26 19:44 irwin          New Issue                                    
2013-07-26 19:44 irwin          File Added: ExternalProject.cmake.patch         
          
======================================================================




More information about the cmake-developers mailing list