Hi All,

I'm running cmake 3.10.1 and have this issue:

$ make package
[ 50%] Built target Rest
[100%] Built target UT_RestLibrary
Run CPack packaging tool...
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: XXXCommonCppLibrary
CPack: - Install project: XXXCommonCppLibrary
CPack: Create package
CPackRPM: Will use USER specified spec file:
/data/git/common-cpp-libs/build/XXX-common-cpp-libs.spec
CMake Error at
/usr/local/cmake-3.10.1-Linux-x86_64/share/cmake-3.10/Modules/CPackRPM.cmake:2703
(message):
  RPM package was not generated!
  /data/git/common-cpp-libs/build/_CPack_Packages/Linux/RPM
Call Stack (most recent call first):

/usr/local/cmake-3.10.1-Linux-x86_64/share/cmake-3.10/Modules/CPackRPM.cmake:2774
(cpack_rpm_generate_package)


CPack Error: Error while execution CPackRPM.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: XXX-common-cpp-libs
make: *** [package] Error 1

The rpm file is generated by those strange errors printed, make exits with
an error code and jenkins build fails.
Does anyone know how to fix this?

Thanks,
Miro
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to