[cmake-developers] [CMake 0012061]: CPackDeb fails if using components and CONTROL_EXTRA
Mantis Bug Tracker
mantis at public.kitware.com
Fri Apr 8 16:46:49 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12061
======================================================================
Reported By: Martin Konrad
Assigned To:
======================================================================
Project: CMake
Issue ID: 12061
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-04-08 16:46 EDT
Last Modified: 2011-04-08 16:46 EDT
======================================================================
Summary: CPackDeb fails if using components and CONTROL_EXTRA
Description:
CPackDeb fails if several deb files are created from components while using
CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA.
CPack Error: Problem running tar command: "/usr/bin/cmake" -E tar cfz
control.tar.gz ./control ./md5sums ./postinst ./postrm
Please check [...]build/_CPack_Packages/Linux/DEB/Deb.log for errors
Deb.log contains these messages:
CMake Error: archive_read_disk_entry_from_file: (Empty error message)
CMake Error: Problem creating tar: control.tar.gz
Steps to Reproduce:
# untar componentExampleStartWithControlExtra.tar.bz2
mkdir build
cd build
cmake ../Source
make
cpack
If the CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA line is commented out cpack runs like
a charm. If using CONTROL_EXTRA it fails.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-04-08 16:46 Martin Konrad New Issue
2011-04-08 16:46 Martin Konrad File Added:
componentExampleStartWithControlExtra.tar.bz2
======================================================================
More information about the cmake-developers
mailing list