Thread (35 messages) 35 messages, 8 authors, 2021-07-19

Re: [RFT] Testing 1.22

From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2021-07-19 22:31:46

Em Mon, Jul 19, 2021 at 01:10:52PM +0100, Luca Boccassi escreveu:
On Fri, 2021-07-16 at 10:25 -0300, Arnaldo Carvalho de Melo wrote:
quoted
Em Thu, Jul 15, 2021 at 11:31:20PM +0200, Michal Suchánek escreveu:
quoted
Hello,

when building with system libbpf I get:

[   40s] make[1]: Nothing to be done for 'preinstall'.
[   40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/dwarves-1.21+git175.1ef87b2/build'
[   40s] Install the project...
[   40s] /usr/bin/cmake -P cmake_install.cmake
[   40s] -- Install configuration: "RelWithDebInfo"
[   40s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/dwarves-1.21+git175.1ef87b2-15.1.ppc64le/usr/bin/codiff
[   40s] CMake Error at cmake_install.cmake:63 (file):
[   40s]   file RPATH_CHANGE could not write new RPATH:
[   40s] 
[   40s]     
[   40s] 
[   40s]   to the file:
[   40s] 
[   40s]     /home/abuild/rpmbuild/BUILDROOT/dwarves-1.21+git175.1ef87b2-15.1.ppc64le/usr/bin/codiff
[   40s] 
[   40s]   The current RUNPATH is:
[   40s] 
[   40s]     /home/abuild/rpmbuild/BUILD/dwarves-1.21+git175.1ef87b2/build:
[   40s] 
[   40s]   which does not contain:
[   40s] 
[   40s]     /usr/local/lib64:/home/abuild/rpmbuild/BUILD/dwarves-1.21+git175.1ef87b2/build:
[   40s] 
[   40s]   as was expected.
[   40s] 
[   40s] 
[   40s] make: *** [Makefile:74: install] Error 1
[   40s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/dwarves-1.21+git175.1ef87b2/build'
[   40s] error: Bad exit status from /var/tmp/rpm-tmp.OaGNX4 (%install)

This is not a problem with embedded libbpf.

Using system libbpf seems to be new in 1.22
Lucca, can you take a look at this?
 
Arnaldo, just to give you a quick summary and close the loop in case
you haven't followed the (very verbose) thread: the root cause was a
packaging issue of libbpf in SUSE, which is now solved, and the
reported build problem is now gone:

https://build.opensuse.org/package/show/home:michals/dwarves
Thanks a lot for taking care of this, appreciated.

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help