[opensuse-factory] Issue with PAcemaker build
Hi, I am trying to build pacemaker (1.1.13) on OpenSuse 12 SP1 GPA. But when i try to build it with check , i get error for clang. When the build tries to execute the scan-build command it fails. I have installed the dependent llvm and it build successfully yet there is a dependeny error. Can anyone please help me out here. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2016-01-05 16:23, Zaid Golwala wrote:
Hi,
I am trying to build pacemaker (1.1.13) on OpenSuse 12 SP1 GPA.
There is no such thing as OpenSuse 12 SP1 GPA.
But when i try to build it with check , i get error for clang. When the build tries to execute the scan-build command it fails. I have installed the dependent llvm and it build successfully yet there is a dependeny error.
You fail to present the error, three times in a row. How is anybody supposed to know what you actually did? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
From the log file of the llvm I can see that it installed the scan-build binary still not sure why pacemaker is not able to pick up
Hi,
Sorry for inadequate info. Please find the details below:
For SUSE_SLE-12-SP1_GA_standard
For this version I am not able to resolve the dependencies for llvm ,
When I try to compile the llvm , I get following error:
-DLLVM_TARGETS_TO_BUILD=host -DCMAKE_C_FLAGS=-O0 -DCMAKE_CXX_FLAGS=-O0
-DLLVM_HOST_TRIPLE=x86_64-suse-linux ..
[ 123s] CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
[ 123s] CMake 2.8.12.2 or higher is required. You are running
version 2.8.12.1
[ 123s]
[ 123s]
[ 123s] -- Configuring incomplete, errors occurred!
[ 123s] error: Bad exit status from /var/tmp/rpm-tmp.Q3PReH (%build)
For openSUSE_13.2
I was able to resolve all unresolved dependencies which showed up
while compiling pacemaker.
But still when I compile pacemaker with “make check” , I get following error:
which: no scan-build in
(/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin)
[ 583s] test -e
[ 583s] scan-build make clean all
[ 583s] make: scan-build: Command not found
[ 583s] GNUmakefile:327: recipe for target 'clang' failed
[ 583s] make: *** [clang] Error 127
[ 583s] error: Bad exit status from /var/tmp/rpm-tmp.kegLPk (%check)
It seems that pacemaker is unable to find the scan-build command used
to check the compilation process.
The dependent package for same is a llvm package which include the
clang and scan-build binary. I installed the same and it installed
correctly.
the same.
Let me know if you need any more information.
Regards
Zaid Golwala
On 5 January 2016 at 21:13, Jan Engelhardt
On Tuesday 2016-01-05 16:23, Zaid Golwala wrote:
Hi,
I am trying to build pacemaker (1.1.13) on OpenSuse 12 SP1 GPA.
There is no such thing as OpenSuse 12 SP1 GPA.
But when i try to build it with check , i get error for clang. When the build tries to execute the scan-build command it fails. I have installed the dependent llvm and it build successfully yet there is a dependeny error.
You fail to present the error, three times in a row. How is anybody supposed to know what you actually did? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2016-01-05 16:49, Zaid Golwala wrote:
For SUSE_SLE-12-SP1_GA_standard
For this version I am not able to resolve the dependencies for llvm , When I try to compile the llvm , I get following error:
-DLLVM_TARGETS_TO_BUILD=host -DCMAKE_C_FLAGS=-O0 -DCMAKE_CXX_FLAGS=-O0 -DLLVM_HOST_TRIPLE=x86_64-suse-linux ..
[ 123s] CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
[ 123s] CMake 2.8.12.2 or higher is required. You are running version 2.8.12.1
note how SLE12 does not have a new-enough cmake.
For openSUSE_13.2
I was able to resolve all unresolved dependencies which showed up while compiling pacemaker.
But still when I compile pacemaker with “make check” , I get following error:
which: no scan-build in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin) [ 583s] test -e [ 583s] scan-build make clean all [ 583s] make: scan-build: Command not found [ 583s] GNUmakefile:327: recipe for target 'clang' failed [ 583s] make: *** [clang] Error 127 [ 583s] error: Bad exit status from /var/tmp/rpm-tmp.kegLPk (%check)
scan-build is in llvm-clang; obviously you have to BuildRequire it if you want %check to succeed. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Jan Engelhardt
-
Zaid Golwala