View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009030CMakeCPackpublic2009-05-14 10:232010-12-14 18:45
ReporterEric NOULARD 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009030: Adding systematic CPack RPM test inside the CMake tree
DescriptionIn 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.
TagsNo tags attached.
Attached Filespatch file icon CPackRPM-ctest-SimpleInstall.patch [^] (770 bytes) 2009-05-14 10:23 [Show Content]

 Relationships

  Notes
(0016436)
Eric NOULARD (developer)
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 (manager)
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 (manager)
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 (manager)
2010-12-14 18:45

Closing bugs that have been resolved for more than 3 months without any further updates.

 Issue History
Date Modified Username Field Change
2009-05-14 10:23 Eric NOULARD New Issue
2009-05-14 10:23 Eric NOULARD File Added: CPackRPM-ctest-SimpleInstall.patch
2009-05-14 10:24 Eric NOULARD Note Added: 0016436
2009-05-15 16:13 David Cole Note Added: 0016486
2009-05-15 16:13 David Cole Status new => assigned
2009-05-15 16:13 David Cole Assigned To => David Cole
2009-05-15 16:14 David Cole Note Added: 0016487
2009-05-15 16:14 David Cole Status assigned => resolved
2009-05-15 16:14 David Cole Resolution open => won't fix
2010-12-14 18:45 David Cole Note Added: 0024001
2010-12-14 18:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team