Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] package update 12.3 -> 13.1
On 11/17/2013 06:22 PM, Dmitriy Perlow wrote:
Peter Czanik <pczanik@xxxxxxxxxxxxxx> Sun, 17 Nov 2013 19:42:29 +0300:

Hello,

I'm trying to upgrade a package from openSUSE 12.3 to 13.1. It compiles fine on 12.3, but the same .spec fails to compile on 13.1. Actually it fails in the install phase:

[ 661s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/share/bro/magic/m4
[ 661s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/share/bro/magic/fortran
[ 661s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/share/bro/magic/fonts
[ 661s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/share/bro/magic/troff
[ 661s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/bin/bro
[ 661s] CMake Error at src/cmake_install.cmake:45 (FILE):
[ 661s] file RPATH_CHANGE could not write new RPATH:
[ 661s]
[ 661s] /usr/lib
[ 661s]
[ 661s] to the file:
[ 661s]
[ 661s] /home/abuild/rpmbuild/BUILDROOT/bro-2.2-1.x86_64/usr/bin/bro
[ 661s]
[ 661s] No valid ELF RPATH or RUNPATH entry exists in the file;
[ 661s] Call Stack (most recent call first):
[ 661s] cmake_install.cmake:64 (INCLUDE)
[ 661s]
[ 661s]
[ 661s] make[1]: *** [install] Error 1
[ 661s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/bro-2.2/build'
[ 661s] make: *** [install] Error 2
[ 661s] error: Bad exit status from /var/tmp/rpm-tmp.FawBDs (%install)

The package is available at https://build.opensuse.org/package/show/home:czanik:bro/bro in the BuildService.

Bye,
CzP

Hello.
I've got at number of my packages. "-DCMAKE_NO_BUILTIN_CHRPATH=ON" was the solution, thanks Sumski for it!

Thanks! What is the correct way of adding this to the spec file?
Bye,
CzP
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups