MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014391 | CMake | CPack | public | 2013-09-06 11:34 | 2014-10-06 10:32 |
| Reporter | Tobe Deprez | ||||
| Assigned To | Nils Gladitz | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | POSIX | OS | Ubuntu Linux | OS Version | 13.04 |
| Product Version | CMake 2.8.11.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014391: CPack crashes when creating a debian package | ||||
| Description | When I run CPack to create a debian package, I get the following error: CPack Error: Problem running tar command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz ./usr Please check /bestanden/tobe/Dropbox/Projects/netlogin/build/_CPack_Packages/Linux/DEB/Deb.log for errors CPack Error: Problem compressing the directory The file _CPack_Packages/Linux/DEB/Deb.log contains the following: # Run command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz ./usr # Working directory: /bestanden/tobe/Dropbox/Projects/netlogin/build/_CPack_Packages/Linux/DEB/netlogin-0.1.1-Linux # Output: getopt: ongeldige optie -- 'E' fakeroot, create a fake root environment. usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin] [-i file] [-s file] [-u|--unknown-is-real] [-b|--fd-base fd] [-h|--help] [-v|--version] [--] [command] It seems fakeroot gets confused by the -E option. The probem is solved by adding '--' before the fakeroot command in the file Source/CPack/cmCPackDebGenerator.cxx (I've added a diff between the origal and my changed file . | ||||
| Steps To Reproduce | -Create a project which can create a debian package -run 'cmake .' -run 'make' -run 'make package' | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4872/diff | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-09-06 11:34 | Tobe Deprez | New Issue | |||
| 2013-09-06 11:34 | Tobe Deprez | File Added: diff | |||
| 2014-02-18 14:24 | labsin | Note Added: 0035141 | |||
| 2014-03-09 13:35 | labsin | Note Added: 0035350 | |||
| 2014-03-09 13:44 | Nils Gladitz | Note Added: 0035351 | |||
| 2014-03-09 13:44 | Nils Gladitz | Status | new => resolved | ||
| 2014-03-09 13:44 | Nils Gladitz | Resolution | open => no change required | ||
| 2014-03-09 13:44 | Nils Gladitz | Assigned To | => Nils Gladitz | ||
| 2014-10-06 10:32 | Robert Maynard | Note Added: 0036935 | |||
| 2014-10-06 10:32 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||