Re: [cmake-developers] New CPackRPM failing on build dir with space in it
2011/3/4 Rolf Eike Beer : >> Hi All, >> >> I know that some new CPackRPM tests are failing >> http://www.cdash.org/CDash/testDetails.php?test=86188713&build=889597 >> >> the reason is the build path used contains space which cannot be handled >> by rpmbuild... >> >> I'll fix that tonight and avoid running those tests if build dir contains >> space. > > If rpmbuild can't do this it is probably a good idea to throw a good error > message in CPack when this happens so the user does not start complaining > in the bug tracker or on the list. This sounds also as if that could be > easily covered by just another testcase ;) CPackRPM does that already: $ cpack -G RPM [...] CPack: Create package CMake Error at /usr/share/cmake-2.8/Modules/CPackRPM.cmake:202 (MESSAGE): /usr/bin/rpmbuild can't handle paths with spaces, use a build directory without spaces for building RPMs CPack Error: Problem compressing the directory CPack Error: Error when generating package: SchedMCore $ -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org ___ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] New CPackRPM failing on build dir with space in it
> Hi All, > > I know that some new CPackRPM tests are failing > http://www.cdash.org/CDash/testDetails.php?test=86188713&build=889597 > > the reason is the build path used contains space which cannot be handled > by rpmbuild... > > I'll fix that tonight and avoid running those tests if build dir contains > space. If rpmbuild can't do this it is probably a good idea to throw a good error message in CPack when this happens so the user does not start complaining in the bug tracker or on the list. This sounds also as if that could be easily covered by just another testcase ;) Eike ___ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] New CPackRPM failing on build dir with space in it
Hi All, I know that some new CPackRPM tests are failing http://www.cdash.org/CDash/testDetails.php?test=86188713&build=889597 the reason is the build path used contains space which cannot be handled by rpmbuild... I'll fix that tonight and avoid running those tests if build dir contains space. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org ___ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers