>>> linux 5.17.15 Extracting xzcat /home/buildroot/autobuild/instance-0/dl/linux/linux-5.17.15.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15 -xf - >>> linux 5.17.15 Patching for p in ; do if test -d $p ; then PATH=/home/buildroot/autobuild/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15 $p \*.patch || exit 1 ; else PATH=/home/buildroot/autobuild/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15 `dirname $p` `basename $p` || exit 1; fi done make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTCC scripts/kconfig/lexer.lex.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' Using /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/.config as base # # merged configuration written to /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' # # No change to .config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_GZIP\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_GZIP is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_LZ4\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_LZ4 is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_LZMA\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_LZMA is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_XZ\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_XZ is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_ZSTD\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_ZSTD is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_KERNEL_UNCOMPRESSED\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_KERNEL_UNCOMPRESSED is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config if grep -q "^CONFIG_DEBUG_INFO_BTF=y" /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config; then echo "To use CONFIG_DEBUG_INFO_BTF, enable host-pahole (BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE)" 1>&2; exit 1; fi # As the kernel gets compiled before root filesystems are # built, we create a fake cpio file. It'll be # replaced later by the real cpio archive, and the kernel will be # rebuilt using the linux-rebuild-with-initramfs target. mkdir -p /home/buildroot/autobuild/instance-0/output-1/images touch /home/buildroot/autobuild/instance-0/output-1/images/rootfs.cpio /bin/sed -i -e '/^\(# \)\?CONFIG_INITRAMFS_SOURCE\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo 'CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio"' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_INITRAMFS_ROOT_UID\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo 'CONFIG_INITRAMFS_ROOT_UID=0' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_INITRAMFS_ROOT_GID\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo 'CONFIG_INITRAMFS_ROOT_GID=0' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_GCC_PLUGINS\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_GCC_PLUGINS is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config /bin/sed -i -e '/^\(# \)\?CONFIG_LSM\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo 'CONFIG_LSM="selinux"' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' >>> linux 5.17.15 Configuring >>> linux 5.17.15 Building /bin/sed -i -e '/^\(# \)\?CONFIG_GCC_PLUGINS\>/d' /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config && echo '# CONFIG_GCC_PLUGINS is not set' >> /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15//.config PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-0/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-0/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-0/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-0/output-1/images KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=buildroot KBUILD_BUILD_HOST=buildroot KBUILD_BUILD_TIMESTAMP="Sun Aug 14 22:02:41 UTC 2022" KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 HOSTCC="/usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include -L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" ARCH=x86_64 INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-0/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-musl-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-0/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15 all make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' SYNC include/config/auto.conf.cmd HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/x86/include/generated/uapi/asm/errno.h WRAP arch/x86/include/generated/uapi/asm/fcntl.h WRAP arch/x86/include/generated/uapi/asm/ioctl.h WRAP arch/x86/include/generated/uapi/asm/ioctls.h WRAP arch/x86/include/generated/uapi/asm/ipcbuf.h WRAP arch/x86/include/generated/uapi/asm/param.h WRAP arch/x86/include/generated/uapi/asm/poll.h WRAP arch/x86/include/generated/uapi/asm/resource.h WRAP arch/x86/include/generated/uapi/asm/socket.h WRAP arch/x86/include/generated/uapi/asm/sockios.h WRAP arch/x86/include/generated/uapi/asm/termbits.h SYSTBL arch/x86/include/generated/asm/syscalls_32.h WRAP arch/x86/include/generated/uapi/asm/termios.h WRAP arch/x86/include/generated/uapi/asm/types.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/include/generated/asm/syscalls_64.h HOSTCC arch/x86/tools/relocs_32.o HOSTCC arch/x86/tools/relocs_64.o HOSTCC arch/x86/tools/relocs_common.o UPD include/config/kernel.release WRAP arch/x86/include/generated/asm/early_ioremap.h WRAP arch/x86/include/generated/asm/export.h WRAP arch/x86/include/generated/asm/mcs_spinlock.h WRAP arch/x86/include/generated/asm/irq_regs.h WRAP arch/x86/include/generated/asm/kmap_size.h WRAP arch/x86/include/generated/asm/local64.h WRAP arch/x86/include/generated/asm/mmiowb.h WRAP arch/x86/include/generated/asm/module.lds.h WRAP arch/x86/include/generated/asm/rwonce.h WRAP arch/x86/include/generated/asm/unaligned.h UPD include/generated/uapi/linux/version.h UPD include/generated/utsrelease.h HOSTCC scripts/selinux/genheaders/genheaders DESCEND objtool :1:20: fatal error: libelf.h: No such file or directory compilation terminated. HOSTCC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/fixdep.o HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/kallsyms HOSTLD /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/fixdep-in.o LINK /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/fixdep HOSTLD arch/x86/tools/relocs HOSTCC scripts/sorttable CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/exec-cmd.o HOSTCC scripts/asn1_compiler CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/help.o CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/pager.o CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/arch/x86/special.o In file included from /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/include/objtool/objtool.h:13:0, from /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/include/objtool/arch.h:11, from /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/include/objtool/check.h:11, from /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/include/objtool/special.h:10, from arch/x86/special.c:4: /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/include/objtool/elf.h:10:18: fatal error: gelf.h: No such file or directory #include ^ compilation terminated. /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/build/Makefile.build:96: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/arch/x86/special.o' failed make[5]: *** [/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/arch/x86/special.o] Error 1 /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/build/Makefile.build:139: recipe for target 'arch/x86' failed make[4]: *** [arch/x86] Error 2 Makefile:55: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/objtool-in.o' failed make[3]: *** [/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/objtool-in.o] Error 2 make[3]: *** Waiting for unfinished jobs.... CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/parse-options.o CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/run-command.o CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/sigchain.o CC /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/subcmd-config.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o LD /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/libsubcmd-in.o AR /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/tools/objtool/libsubcmd.a Makefile:69: recipe for target 'objtool' failed make[2]: *** [objtool] Error 2 Makefile:1333: recipe for target 'tools/objtool' failed make[1]: *** [tools/objtool] Error 2 make[1]: *** Waiting for unfinished jobs.... HOSTLD scripts/mod/modpost CC kernel/bounds.s CALL scripts/atomic/check-atomics.sh UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/x86/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'