Anton Chevychalov created MADLIB-1244:
-----------------------------------------

             Summary: make package fails on "CPack3: - Install project" step on 
Centos7
                 Key: MADLIB-1244
                 URL: https://issues.apache.org/jira/browse/MADLIB-1244
             Project: Apache MADlib
          Issue Type: Bug
          Components: Build System
            Reporter: Anton Chevychalov


h2. Affected
At least version 1.14 affected.
h2. Reproduce steps:
{code:bash}
mkdir build
cd build
cmake ..
make package
{code}
h2. Result:
{code:bash}
Run CPack packaging tool...
CPack3: Create package using RPM
CPack3: Install projects
CPack3: - Run preinstall target for: MADlib
CPack3: - Install project: MADlib
ln: failed to create symbolic link '/usr/local/madlib/Current': No such file or 
directory
ln: failed to create symbolic link '/usr/local/madlib/bin': No such file or 
directory
ln: failed to create symbolic link '/usr/local/madlib/doc': No such file or 
directory
CPack3: Create package
CPackRPM: Will use USER specified spec file: /code/deploy/madlib.spec.in
CMake Error at /usr/share/cmake3/Modules/CPackRPM.cmake:2745 (message):
 RPM package was not generated! /code/build/_CPack_Packages/Linux/RPM
Call Stack (most recent call first):
 /usr/share/cmake3/Modules/CPackRPM.cmake:2816 (cpack_rpm_generate_package)

CPack3 Error: Error while execution CPackRPM.cmake
CPack3 Error: Problem compressing the directory
CPack3 Error: Error when generating package: MADlib
make: *** [package] Error 1
{code}
That is strange trouble because rpm is normal and installs correctly. 
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to