* Package: sys-kernel/kpatch-0.6.2 * Repository: gentoo * Maintainer: alicef@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux modules userland_GNU * FEATURES: userpriv * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.0.3-gentoo * $(EXTRAVERSION)$(CKVERSION) * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking kpatch-0.6.2.tar.gz to /var/tmp/portage/sys-kernel/kpatch-0.6.2/work >>> Source unpacked in /var/tmp/portage/sys-kernel/kpatch-0.6.2/work >>> Preparing source in /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2 ... make -j8 all make -C kpatch-build make -C kpatch make -C kmod make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kpatch-build' make -C man make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kpatch' make -C contrib make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kpatch' make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/man' gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-diff-object.o create-diff-object.c make[1]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/contrib' make -C core clean gzip -c -9 kpatch.1 > kpatch.1.gz gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o kpatch-elf.o kpatch-elf.c make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/contrib' gzip -c -9 kpatch-build.1 > kpatch-build.1.gz gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o lookup.o lookup.c make[2]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core' gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o insn/insn.o insn/insn.c gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o insn/inat.o insn/inat.c rm -f -Rf .*.o.cmd .*.ko.cmd .tmp_versions *.o *.ko *.mod.c \ Module.symvers make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/man' gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-klp-module.o create-klp-module.c make[2]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core' make -C core gcc -O1 -march=sandybridge -pipe -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror -c -o create-kpatch-module.o create-kpatch-module.c make[2]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core' make -C /lib/modules/5.0.3-gentoo-ck1KREYREN/build M=/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core kpatch.ko make[3]: Entering directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. gcc -Wl,-O1 -Wl,--as-needed create-klp-module.o kpatch-elf.o -lelf -o create-klp-module gcc -Wl,-O1 -Wl,--as-needed create-kpatch-module.o kpatch-elf.o -lelf -o create-kpatch-module gcc -Wl,-O1 -Wl,--as-needed create-diff-object.o kpatch-elf.o lookup.o insn/insn.o insn/inat.o -lelf -o create-diff-object make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kpatch-build' CC [M] /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core/core.o /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core/core.c: In function 'kpatch_find_external_symbol': /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core/core.c:654:14: error: 'const struct kernel_symbol' has no member named 'value' *addr = sym->value; ^~ make[4]: *** [scripts/Makefile.build:277: /var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core/core.o] Error 1 make[3]: *** [Makefile:1729: kpatch.ko] Error 2 make[3]: Leaving directory '/usr/src/linux-5.0.3-gentoo' make[2]: *** [Makefile:13: kpatch.ko] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod/core' make[1]: *** [Makefile:7: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2/kmod' make: *** [Makefile:18: build-kmod] Error 2 * ERROR: sys-kernel/kpatch-0.6.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-kernel/kpatch-0.6.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/kpatch-0.6.2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-kernel:kpatch-0.6.2:20190410-155440.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/kpatch-0.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/kpatch-0.6.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2' * S: '/var/tmp/portage/sys-kernel/kpatch-0.6.2/work/kpatch-0.6.2'