Created attachment 864835 [details] ebuild log >>> Completed installing sys-kernel/kpatch-0.9.8 into /var/tmp/portage/sys-kernel/kpatch-0.9.8/image * Final size of build directory: 4316 KiB (4.2 MiB) * Final size of installed tree: 776 KiB strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/libexec/kpatch/create-kpatch-module /usr/libexec/kpatch/create-diff-object /usr/libexec/kpatch/create-klp-module * ERROR: sys-kernel/kpatch-0.9.8::gentoo failed (postinst phase): * linux-mod-r1_pkg_postinst was called without running linux-mod-r1_pkg_setup * * Call stack: * ebuild.sh, line 136: Called pkg_postinst * environment, line 2642: Called linux-mod-r1_pkg_postinst * environment, line 2229: Called _modules_check_function '0' '0' '0' * environment, line 523: Called die * The specific snippet of code: * [[ -v _MODULES_GLOBAL[ran:pkg_setup] ]] || die "${FUNCNAME[1]} was called without running linux-mod-r1_pkg_setup" * * If you need support, post the output of `emerge --info '=sys-kernel/kpatch-0.9.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/kpatch-0.9.8::gentoo'`. * The complete build log is located at '/var/log/portage/sys-kernel:kpatch-0.9.8:20230629-213209.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/kpatch-0.9.8/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/kpatch-0.9.8/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/kpatch-0.9.8/empty' * S: '/var/tmp/portage/sys-kernel/kpatch-0.9.8/work/kpatch-0.9.8' * FAILED postinst: 1 despite above failure, portage reports package as installed.
Side notes Properly installed: Installed versions: 0.9.7^t(00:33:57 30/06/2023)(kpatch kpatch-build -contrib -dist-kernel -kmod -test) Failing settugs: emerge -1 -p -v sys-kernel/kpatch [ebuild U ~] sys-kernel/kpatch-0.9.8::gentoo [0.9.7::gentoo] USE="-contrib -dist-kernel -kmod kpatch kpatch-build -modules-sign% strip%* -test" 0 KiB
Created attachment 864838 [details] emerge --info <package>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59355b434807baf49f02cf23b5c49ec90b8b3383 commit 59355b434807baf49f02cf23b5c49ec90b8b3383 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2023-06-30 11:48:51 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2023-06-30 11:48:51 +0000 sys-kernel/kpatch: Call linux-mod-r1_pkg_setup before postinst Closes: https://bugs.gentoo.org/909384 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/kpatch/kpatch-0.9.8.ebuild | 1 + 1 file changed, 1 insertion(+)