[cmake-developers] [CMake 0013004]: Archive generator (TGZ, ZIP etc) doesn't work if component-based packaging is used with CPACK_SET_DESTDIR set to ON
Mantis Bug Tracker
mantis at public.kitware.com
Wed Feb 29 08:01:55 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13004
======================================================================
Reported By: Stanislaw Szymczyk
Assigned To:
======================================================================
Project: CMake
Issue ID: 13004
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-29 08:01 EST
Last Modified: 2012-02-29 08:01 EST
======================================================================
Summary: Archive generator (TGZ, ZIP etc) doesn't work if
component-based packaging is used with CPACK_SET_DESTDIR set to ON
Description:
Component-based packaging doesn't work in CPack archive generator (for example
TGZ or ZIP) if CPACK_SET_DESTDIR is set to ON. The following error messages are
displayed:
[sszymczy at RR19-19:~/Desktop/ComponentExampleStart/Source/build]$ LANG=C make
package
[ 50%] Built target mylib
[100%] Built target mylibapp
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: MyLib
CPack: - Install project: MyLib
CPack: - Install component: applications
CPack: - Install component: libraries
CPack: - Install component: headers
CPack: Create package
CPack Error: ERROR while packaging files: archive_read_disk_entry_from_file:
(Empty error message)
CPack Error: ERROR while packaging files: archive_read_disk_entry_from_file:
(Empty error message)
CPack Error: ERROR while packaging files: archive_read_disk_entry_from_file:
(Empty error message)
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: MyLib
make: *** [package] Error 1
Steps to Reproduce:
1. unzip MyLib.zip (attached to the ticket)
2. cd MyLib
3. mkdir build
4. cd build
5. cmake ..
6. make package
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-29 08:01 Stanislaw SzymczykNew Issue
2012-02-29 08:01 Stanislaw SzymczykFile Added: MyLib.zip
======================================================================
More information about the cmake-developers
mailing list