I upgraded my cmake just recently and I am using the Ninja generator.
The compilation and linking seems to work fine.
However, when I run make package, I get the following:
[2/2] Run CPack packaging tool...
FAILED: cd
/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp
&& /usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using DEB
CPack: Install projects
CPack: - Install project: mrViewer
CPack: Create package
CPack Error: Problem running cmake -E md5sum "/usr/bin/cmake" -E md5sum
"/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp/_CPack_Packages/Linux/DEB/mrViewer-v2.9.0-Linux-64/usr/local/mrViewer-v2.9.0-Linux-64/bin/ctl"
CPack Error: Problem running cmake -E md5sum "/usr/bin/cmake" -E md5sum
"/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp/_CPack_Packages/Linux/DEB/mrViewer-v2.9.0-Linux-64/usr/local/mrViewer-v2.9.0-Linux-64/bin/docs"
CPack Error: Problem running cmake -E md5sum "/usr/bin/cmake" -E md5sum
"/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp/_CPack_Packages/Linux/DEB/mrViewer-v2.9.0-Linux-64/usr/local/mrViewer-v2.9.0-Linux-64/bin/rails"
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: mrViewer
ninja: build stopped: subcommand failed.
If I try running one of the md5sum lines manually, I get:
cmake -E md5sum "/usr/bin/cmake" -E md5sum
"/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp/_CPack_Packages/Linux/DEB/mrViewer-v2.9.0-Linux-64/usr/local/mrViewer-v2.9.0-Linux-64/bin/docs"
ece6ba4e4e8c69337be88aa69e27d95c /usr/bin/cmake
-E: No such file or directory
md5sum: No such file or directory
/media/Linux/code/applications/mrViewer/BUILD/Linux-3.16.0-45-generic-64/Release/tmp/_CPack_Packages/Linux/DEB/mrViewer-v2.9.0-Linux-64/usr/local/mrViewer-v2.9.0-Linux-64/bin/docs:
No such file or directory
It seems the latest cmake is not accepting multiple -E commands. Or the
ninja generator is creating an incorrect run line.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake