View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009932 | CMake | CPack | public | 2009-11-20 06:46 | 2011-02-25 10:51 | ||||
Reporter | Gordan Sikic | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | ||||||
Summary | 0009932: RPM Generator, spaces in CPACK_PACKAGE_NAME cause error while creating RPM archive | ||||||||
Description | If variable CPACK_PACKAGE_NAME contains spaces, and variable CPACK_RPM_PACKAGE_NAME is not altered in any way, rpm generation will fail with following error: CPack Error: Problem copying the package: <source>.rpm to <destination>.rpm rpmbuild.err contains single line: error: line 4: Tag takes single token only: Name: boost c++ libraries removing all spaces from CPACK_PACKAGE_NAME solves problem | ||||||||
Additional Information | This is discovered while generating RPM archive for new boost 1.4.0 distribution; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | ||||||||||||||||
|
Relationships |
Notes | |
(0018529) Eric NOULARD (developer) 2009-11-22 12:22 |
Related discussion on the ML: http://www.cmake.org/pipermail/cmake/2009-November/033403.html [^] I did try something but the best I can do now is to throw an explicit error when CPACK_PACKAGE_NAME contains spaces. In fact I may automatically build a CPACK_RPM_PACKAGE_NAME without space but the temporary directory used by the (generic) CPack generator do contain the space... which makes rpmbuild fails because it cannot handle it. This is the same issue as using a build path containing space rpmbuild cannot handle it either... I won't be able to fix it from within CPackRPM. |
(0021229) Eric NOULARD (developer) 2010-07-04 09:22 |
Changing the state to "unfixable" because currently it may not be fixed |
(0025579) Eric NOULARD (developer) 2011-02-25 10:49 |
Merge topic 'CPackRPM-AvoidSpaceInName-Fixbug9932' into next 5b4cbdb CPackRPM Replace space in some CPACK_ vars (Fix bug 9932) Auto-merging Source/CPack/cmCPackRPMGenerator.cxx Pushing upstream next To git@cmake.org:cmake.git |
(0025580) Eric NOULARD (developer) 2011-02-25 10:51 |
Just pushed to next. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-11-20 06:46 | Gordan Sikic | New Issue | |
2009-11-20 06:46 | Gordan Sikic | File Added: bugReportFiles.tar | |
2009-11-22 09:32 | Alex Neundorf | Status | new => assigned |
2009-11-22 09:32 | Alex Neundorf | Assigned To | => Eric NOULARD |
2009-11-22 12:22 | Eric NOULARD | Note Added: 0018529 | |
2010-04-10 08:56 | Eric NOULARD | Relationship added | related to 0010345 |
2010-07-04 09:13 | Eric NOULARD | Relationship added | related to 0010871 |
2010-07-04 09:14 | Eric NOULARD | Relationship added | related to 0010701 |
2010-07-04 09:22 | Eric NOULARD | Note Added: 0021229 | |
2010-07-04 09:22 | Eric NOULARD | Priority | normal => low |
2010-07-04 09:22 | Eric NOULARD | Resolution | open => not fixable |
2010-07-04 09:22 | Eric NOULARD | ETA | none => > 1 month |
2011-02-25 10:49 | Eric NOULARD | Note Added: 0025579 | |
2011-02-25 10:51 | Eric NOULARD | Resolution | not fixable => fixed |
2011-02-25 10:51 | Eric NOULARD | Fixed in Version | => CMake 2.8.5 |
2011-02-25 10:51 | Eric NOULARD | Target Version | => CMake 2.8.5 |
2011-02-25 10:51 | Eric NOULARD | Note Added: 0025580 | |
2011-02-25 10:51 | Eric NOULARD | Status | assigned => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |