[cmake-developers] [CMake 0015499]: cmake -E tar generated packages with long filenames can not be processed by PHP's PharData
Mantis Bug Tracker
mantis at public.kitware.com
Tue Apr 7 03:25:32 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15499
======================================================================
Reported By: Nils Gladitz
Assigned To:
======================================================================
Project: CMake
Issue ID: 15499
Category: (No Category)
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-04-07 03:25 EDT
Last Modified: 2015-04-07 03:25 EDT
======================================================================
Summary: cmake -E tar generated packages with long filenames
can not be processed by PHP's PharData
Description:
CDash (which uses PharData) can not extract some tar archives as created by
cmake -E tar (e.g. from the CTestCoverageCollectGCOV.cmake module).
The issue seems to be with long filenames.
An equivalent archive created by GNU tar can be extracted by PharData.
GNU tar is also able to extract the cmake created tar.
Steps to Reproduce:
Create an empty file:
Testing/CoverageInfo/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.c.gcov
Archive it:
cmake -E tar cvfj cmake.tar "--mtime=1970-01-01 0:0:0 UTC" Testing
Trying to extract the archive with PharData produces an exception:
phar error: "/path/to/cmake.tar" is a corrupted tar file (checksum mismatch of
file "133
path=Testing/CoverageInfo/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
phar error: "/home/ngladitz/topic/phar/input/cmake.tar" is a corrupted tar file
(checksum mismatch of file "133
path=Testing/CoverageInfo/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-04-07 03:25 Nils Gladitz New Issue
======================================================================
More information about the cmake-developers
mailing list