>>> host-pahole 1.24 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-1/output-1/build/.pahole-1.24.tar.gz.7gdmCp/output' 'https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.24.tar.gz' --2023-01-06 18:43:44-- https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.24.tar.gz Resolving git.kernel.org (git.kernel.org)... 139.178.84.217, 2604:1380:4641:c500::1 Connecting to git.kernel.org (git.kernel.org)|139.178.84.217|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-1/output-1/build/.pahole-1.24.tar.gz.7gdmCp/output' 0K .......... .......... .......... .......... .......... 490K 50K .......... .......... .......... .......... .......... 979K 100K .......... .......... .......... .......... .......... 50.7M 150K .......... .......... .......... .......... .......... 77.7M 200K .......... .......... .......... ....... 745K=0.2s 2023-01-06 18:43:45 (1.13 MB/s) - '/home/buildroot/autobuild/instance-1/output-1/build/.pahole-1.24.tar.gz.7gdmCp/output' saved [242744] pahole-1.24.tar.gz: OK (sha256: eeb88a62c3aaa1f4c389117b7e7cc08a49acc8a0e7f165f76dd9c5ab9af2c266) >>> host-pahole 1.24 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/pahole/pahole-1.24.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24 -xf - >>> host-pahole 1.24 Patching >>> host-pahole 1.24 Configuring (mkdir -p /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/ && cd /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/ -G"Unix Makefiles" -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_FIND_ROOT_PATH="/home/buildroot/autobuild/instance-1/output-1/host" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" -DCMAKE_INSTALL_PREFIX="/home/buildroot/autobuild/instance-1/output-1/host" -DCMAKE_C_FLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" -DCMAKE_CXX_FLAGS="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" -DCMAKE_EXE_LINKER_FLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" -DCMAKE_SHARED_LINKER_FLAGS="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" -DCMAKE_ASM_COMPILER="/usr/bin/as" -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_C_COMPILER_LAUNCHER="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache" -DCMAKE_CXX_COMPILER_LAUNCHER="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -D__LIB=lib -DLIBBPF_EMBEDDED=OFF ) -- The C compiler identification is GNU 6.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'libbpf>=0.4.0' -- Found libbpf, version 1.0.1 -- Checking availability of DWARF and ELF development libraries -- Looking for dwfl_module_build_id in elf -- Looking for dwfl_module_build_id in elf - not found -- Found dwarf.h header: /home/buildroot/autobuild/instance-1/output-1/host/usr/include -- Found elfutils/libdw.h header: /home/buildroot/autobuild/instance-1/output-1/host/usr/include -- Found libdw library: /home/buildroot/autobuild/instance-1/output-1/host/usr/lib/libdw.so -- Found libelf library: /home/buildroot/autobuild/instance-1/output-1/host/usr/lib/libelf.so -- Checking availability of DWARF and ELF development libraries - done -- Found ZLIB: /home/buildroot/autobuild/instance-1/output-1/host/usr/lib/libz.so (found version "1.2.13") -- Checking availability of argp library -- Assuming argp is in libc -- Checking availability of argp library - done -- Checking availability of obstack library -- Assuming obstack is in libc -- Checking availability of obstack library - done -- Performing Test HAVE_REALLOCARRAY_SUPPORT -- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_ASM_COMPILER CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS -- Build files have been written to: /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24 >>> host-pahole 1.24 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' [ 2%] Building C object CMakeFiles/dwarves.dir/dwarves.c.o [ 5%] Building C object CMakeFiles/dwarves.dir/dwarves_fprintf.c.o [ 8%] Building C object CMakeFiles/dwarves.dir/gobuffer.c.o [ 10%] Building C object CMakeFiles/dwarves.dir/ctf_loader.c.o [ 13%] Building C object CMakeFiles/dwarves.dir/libctf.c.o [ 16%] Building C object CMakeFiles/dwarves.dir/btf_encoder.c.o [ 18%] Building C object CMakeFiles/dwarves.dir/btf_loader.c.o [ 21%] Building C object CMakeFiles/dwarves.dir/dwarf_loader.c.o [ 24%] Building C object CMakeFiles/dwarves.dir/dutil.c.o [ 27%] Building C object CMakeFiles/dwarves.dir/elf_symtab.c.o [ 29%] Building C object CMakeFiles/dwarves.dir/rbtree.c.o In file included from /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/btf_loader.c:25:0: /home/buildroot/autobuild/instance-1/output-1/host/include/bpf/libbpf.h:70:54: error: 'enum bpf_link_type' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] LIBBPF_API const char *libbpf_bpf_link_type_str(enum bpf_link_type t); ^~~~~~~~~~~~~ cc1: all warnings being treated as errors In file included from /home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/btf_encoder.c:19:0: /home/buildroot/autobuild/instance-1/output-1/host/include/bpf/libbpf.h:70:54: error: 'enum bpf_link_type' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] LIBBPF_API const char *libbpf_bpf_link_type_str(enum bpf_link_type t); ^~~~~~~~~~~~~ cc1: all warnings being treated as errors CMakeFiles/dwarves.dir/build.make:159: recipe for target 'CMakeFiles/dwarves.dir/btf_loader.c.o' failed make[3]: *** [CMakeFiles/dwarves.dir/btf_loader.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CMakeFiles/dwarves.dir/build.make:145: recipe for target 'CMakeFiles/dwarves.dir/btf_encoder.c.o' failed make[3]: *** [CMakeFiles/dwarves.dir/btf_encoder.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/dwarves.dir/all' failed make[2]: *** [CMakeFiles/dwarves.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' Makefile:135: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/host-pahole-1.24/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'