* emerge --config sys-kernel/gentoo-kernel-bin:5.14.10 * ERROR: sys-kernel/gentoo-kernel-bin-5.14.10::gentoo failed (postinst phase): * Kernel install failed, please fix the problems and run emerge --config sys-kernel/gentoo-kernel-bin:5.14.10 * * Call stack: * ebuild.sh, line 127: Called pkg_postinst * environment, line 1629: Called kernel-install_pkg_postinst ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20210930-222637 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit b2063327391038bd563da617c34c18acc4e05fc0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Oct 7 14:21:33 2021 +0000 2021-10-07 14:21:32 UTC emerge -qpvO sys-kernel/gentoo-kernel-bin [ebuild R ] sys-kernel/gentoo-kernel-bin-5.14.10 USE="initramfs -test"
Created attachment 743793 [details] emerge-info.txt
Created attachment 743796 [details] emerge-history.txt
Created attachment 743799 [details] etc.portage.tar.bz2
Created attachment 743802 [details] sys-kernel:gentoo-kernel-bin-5.14.10:20211007-155852.log.bz2
well, it is related to initramfs - not sure, if that works at all in a chroot ?
I'm afraid I don't know either. I very much appreciate your effort but at this point, I don't think I'm capable of providing extra time to work on something that apparently doesn't affect real systems.
From the log: > dracut: dracut module 'ostree' cannot be found or installed. That indicates some problem with the dracut module installed by dev-util/ostree.
Questions: 1. Does your environment currently have dev-util/ostree[dracut] installed? 2. Does /etc/dracut.conf.d/ostree.conf exist? If 1 is "no" and 2 is "yes", something has gone wrong with CONFIG_PROTECT. In that case, please try removing /etc/dracut.conf.d/ostree.conf manually.
I think the problem may be that the ostree dracut module depends on having systemd installed. https://github.com/ostreedev/ostree/blob/v2021.4/src/boot/dracut/module-setup.sh#L25 I would suggest 2 changes to the ostree ebuild: 1. Update the ostree ebuild to pass --with-dracut=yesbutnoconf to configure. This will cause /etc/dracut.conf.d/ostree.conf to not be installed. https://github.com/ostreedev/ostree/blob/v2021.4/configure.ac#L462 If the user wants to enable the module, they can request it explicitly when calling dracut. 2. Set REQUIRED_USE="dracut? ( systemd )" to express the proper dependency.
*** Bug 796443 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa6918c267a563d882443867522998146109a1e commit 8fa6918c267a563d882443867522998146109a1e Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-10-18 03:24:23 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-10-18 04:20:11 +0000 dev-util/ostree: set REQUIRED_USE="dracut? ( systemd )" Closes: https://bugs.gentoo.org/816867 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-util/ostree/ostree-2021.3-r2.ebuild | 5 ++++- dev-util/ostree/ostree-2021.4.ebuild | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f39c31a5d525cb855c98eb3fcf95bfc97b2694 commit 31f39c31a5d525cb855c98eb3fcf95bfc97b2694 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-10-18 03:31:38 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-10-18 04:20:35 +0000 dev-util/ostree: do not install /etc/dracut.conf.d/ostree.conf Bug: https://bugs.gentoo.org/816867 Closes: https://github.com/gentoo/gentoo/pull/22616 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-util/ostree/{ostree-2021.4.ebuild => ostree-2021.4-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)