View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011170 | CMake | CMake | public | 2010-08-25 08:53 | 2010-08-25 09:34 | ||||
Reporter | Mikko Vainio | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011170: 'cmake -E tar cfz' does not include preceding paths in archive but 'tar cfz' does on CentOS5.5 | ||||||||
Description | I'm trying to procude a binary Debian .deb package using CMake/CPack on CentOS5.5. Everything works as expected, but trying to install the generate .deb on a Debian machine fails because the archive 'data.tar.gz' in the .deb, generated by calling 'cmake -E tar cfz ...' at cmCPackDebGenerator.cxx line 137, does not contain the leading directory names: ./usr/share/doc/dummy/dummy.txt Calling 'tar cfz ...' directly on the command line produces an archive with the preceding directory names included: ./usr/ ./usr/share/ ./usr/share/doc/ ./usr/share/doc/dummy/ ./usr/share/doc/dummy/dummy.txt Debian's packaging tool dpkg expects the preceding paths and fails with "unable to create './usr/share/doc/dummy/dummy.txt' No such file or directory" unless the path is manually created on the system prior to attempting the installation. Creating the directories manually allows to install and the application compiled on CentOS5.5 runs fine on Debian lenny. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0021950) Bill Hoffman (manager) 2010-08-25 09:22 |
I think this is already fixed in master. |
(0021951) Brad King (manager) 2010-08-25 09:34 |
It is already fixed and will be in 2.8.3: http://cmake.org/gitweb?p=cmake.git;a=log;h=1b5b2ed3 [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-08-25 08:53 | Mikko Vainio | New Issue | |
2010-08-25 09:22 | Bill Hoffman | Note Added: 0021950 | |
2010-08-25 09:22 | Bill Hoffman | Status | new => assigned |
2010-08-25 09:22 | Bill Hoffman | Assigned To | => Brad King |
2010-08-25 09:33 | Brad King | Relationship added | duplicate of 0011020 |
2010-08-25 09:34 | Brad King | Note Added: 0021951 | |
2010-08-25 09:34 | Brad King | Status | assigned => closed |
2010-08-25 09:34 | Brad King | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |