MantisBT - CMake
View Issue Details
0009030CMakeCPackpublic2009-05-14 10:232010-12-14 18:45
Eric NOULARD 
David Cole 
normalminoralways
closedwon't fix 
CMake-2-6 
 
0009030: Adding systematic CPack RPM test inside the CMake tree
In order to ease CPack RPM testing I would suggest
to add systematic testing of the CPack RPM generator
on the concerned platform.

The forthcoming patch is the beginning for this kind of job.
No tags attached.
patch CPackRPM-ctest-SimpleInstall.patch (770) 2009-05-14 10:23
https://public.kitware.com/Bug/file/2243/CPackRPM-ctest-SimpleInstall.patch
Issue History
2009-05-14 10:23Eric NOULARDNew Issue
2009-05-14 10:23Eric NOULARDFile Added: CPackRPM-ctest-SimpleInstall.patch
2009-05-14 10:24Eric NOULARDNote Added: 0016436
2009-05-15 16:13David ColeNote Added: 0016486
2009-05-15 16:13David ColeStatusnew => assigned
2009-05-15 16:13David ColeAssigned To => David Cole
2009-05-15 16:14David ColeNote Added: 0016487
2009-05-15 16:14David ColeStatusassigned => resolved
2009-05-15 16:14David ColeResolutionopen => won't fix
2010-12-14 18:45David ColeNote Added: 0024001
2010-12-14 18:45David ColeStatusresolved => closed

Notes
(0016436)
Eric NOULARD   
2009-05-14 10:24   
The attached patch will trigger the build of RPM package
if the rpmbuild command is found, just as TBZ2 is if
bzip2 command is found.
(0016486)
David Cole   
2009-05-15 16:13   
We cannot add this test without some extra conditional logic.....

I tried it just now on my Linux box and got:
CPack: Compress package
CMake Error at /home/davidcole/Dashboards/My Tests/CMake/Modules/CPackRPM.cmake:112 (MESSAGE):
  /usr/bin/rpmbuild can't handle paths with spaces, use a build directory
  without spaces for building RPMs.

*Most* CMake dashboards run inside a directory called "My Tests" to ensure that everything works with spaces in the path. We would have to make a special directory somewhere else that SimpleInstall could run in in order to test rpmbuild as part of a dashboard hosted under "My Tests".......

Sorry. We can't apply this patch as is.
(0016487)
David Cole   
2009-05-15 16:14   
Please feel free to re-open if attaching a new patch that deals with the "space in the path" issue for CMake dashboards
(0024001)
David Cole   
2010-12-14 18:45   
Closing bugs that have been resolved for more than 3 months without any further updates.