| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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' | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0035141) labsin (reporter) 2014-02-18 14:24 |
Having this issue to. Any fix for this apart from rebuilding cmake? |
|
(0035350) labsin (reporter) 2014-03-09 13:35 |
Flaw not in CMake but in the translation of getopt used by fakeroot. https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1290069 [^] |
|
(0035351) Nils Gladitz (developer) 2014-03-09 13:44 |
The option handling in fakeroot breaks with some locales. |
|
(0036935) Robert Maynard (manager) 2014-10-06 10:32 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |