[cmake-developers] [CMake 0013251]: cmake -E tar <file> fails to extract some files correctly

Mantis Bug Tracker mantis at public.kitware.com
Sun May 27 07:37:55 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13251 
====================================================================== 
Reported By:                sigma
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13251
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-27 07:37 EDT
Last Modified:              2012-05-27 07:37 EDT
====================================================================== 
Summary:                    cmake -E tar <file> fails to extract some files
correctly
Description: 
On certain tar.gz files cmake fails to extract them properly. I suspect this has
to do with tar.gz files that have unix symlinks and are extracted on windows. 

One such file can be obtained from: 
http://openssl.org/source/openssl-1.0.1c.tar.gz

When I try: cmake -E tar xf openssl-1.0.1c.tar.gz it fails on some files:

CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/apps/md4.c
CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/include/openssl/aes.h
CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/include/openssl/asn1.h
CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/include/openssl/asn1_mac.h
CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/include/openssl/asn1t.h
CMake Error: Problem with archive_write_header(): Can't create '\'
CMake Error: Current file:openssl-1.0.1c/include/openssl/bio.h
CMake Error: Problem with archive_write_header(): Can't create '\'


Using other extraction tools, e.g. cygwin or 7zip, this works without any
problems. 



====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-27 07:37 sigma          New Issue                                    
======================================================================




More information about the cmake-developers mailing list