On Fri, 2021-07-16 at 14:35 +0100, Luca Boccassi wrote: > On Fri, 2021-07-16 at 10:25 -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jul 15, 2021 at 11:31:20PM +0200, Michal Suchánek escreveu: > > > 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? > > > > Thanks, > > > > - Arnaldo > > Hi, > > Michal, what is the CMake configuration command line you are using? Latest tmp.master builds fine here with libbpf 0.4.0. To reproduce it would be good to know build env and command line used, otherwise I can't really tell. -- Kind regards, Luca Boccassi
Attachment:
signature.asc
Description: This is a digitally signed message part