Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923437 - gentoo-kernel-bin-6.7.2-r1 Failed to generate initramfs
Summary: gentoo-kernel-bin-6.7.2-r1 Failed to generate initramfs
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 22:51 UTC by Michal Jakubowski
Modified: 2024-02-01 12:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2024-01-31 22:51:59 UTC
>>> Installing (1 of 2) sys-kernel/gentoo-kernel-bin-6.7.2-r1::gentoo
 * Updating /usr/src/linux symlink ...                                                                                                                                                                          [ ok ]
 * Your boot partition was detected as being mounted at /boot.
 * Files will be installed there for gentoo-kernel-bin to function correctly.
 * Installing the kernel via installkernel ...
run-parts: executing /etc/kernel/preinst.d/50-dracut.install 6.7.2-gentoo-dist /usr/src/linux-6.7.2-gentoo-dist/arch/x86/boot/bzImage
dracut[I]: Executing: /usr/bin/dracut --force --verbose --kernel-image /usr/src/linux-6.7.2-gentoo-dist/arch/x86/boot/bzImage /usr/src/linux-6.7.2-gentoo-dist/arch/x86/boot/initrd 6.7.2-gentoo-dist
dracut[I]: Module 'dash' will not be installed, because command 'dash' could not be found!
dracut[I]: Module 'mksh' will not be installed, because command 'mksh' could not be found!
dracut[I]: Module 'systemd' will not be installed, because command '/lib/systemd/systemd' could not be found!
dracut[I]: Module 'systemd-ask-password' will not be installed, because command 'systemd-ask-password' could not be found!
dracut[I]: Module 'systemd-ask-password' will not be installed, because command 'systemd-tty-ask-password-agent' could not be found!
dracut[I]: Module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found!
dracut[I]: Module 'systemd-coredump' will not be installed, because command '/lib/systemd/systemd-coredump' could not be found!
dracut[I]: Module 'systemd-creds' will not be installed, because command 'systemd-creds' could not be found!
dracut[I]: Module 'systemd-hostnamed' will not be installed, because command 'hostnamectl' could not be found!
dracut[I]: Module 'systemd-hostnamed' will not be installed, because command '/lib/systemd/systemd-hostnamed' could not be found!
dracut[I]: Module 'systemd' will not be installed, because command '/lib/systemd/systemd' could not be found!
dracut[E]: Module 'systemd-initrd' depends on 'systemd', which can't be installed
dracut[I]: Module 'systemd-integritysetup' will not be installed, because command '/lib/systemd/systemd-integritysetup' could not be found!
dracut[I]: Module 'systemd-integritysetup' will not be installed, because command '/lib/systemd/system-generators/systemd-integritysetup-generator' could not be found!
dracut[I]: Module 'systemd-journald' will not be installed, because command 'journalctl' could not be found!
dracut[I]: Module 'systemd-journald' will not be installed, because command '/lib/systemd/systemd-journald' could not be found!
dracut[I]: Module 'systemd-modules-load' will not be installed, because command '/lib/systemd/systemd-modules-load' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/lib/systemd/systemd-networkd' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/lib/systemd/systemd-network-generator' could not be found!
dracut[I]: Module 'systemd-networkd' will not be installed, because command '/lib/systemd/systemd-networkd-wait-online' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/lib/systemd/systemd-pcrextend' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-pstore' will not be installed, because command '/lib/systemd/systemd-pstore' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[I]: Module 'systemd-resolved' will not be installed, because command '/lib/systemd/systemd-resolved' could not be found!
dracut[I]: Module 'systemd-sysctl' will not be installed, because command '/lib/systemd/systemd-sysctl' could not be found!
dracut[I]: Module 'systemd-sysext' will not be installed, because command 'systemd-sysext' could not be found!
dracut[I]: Module 'systemd-sysusers' will not be installed, because command 'systemd-sysusers' could not be found!
dracut[I]: Module 'systemd-timedated' will not be installed, because command 'timedatectl' could not be found!
dracut[I]: Module 'systemd-timedated' will not be installed, because command '/lib/systemd/systemd-timedated' could not be found!
dracut[I]: Module 'systemd-timesyncd' will not be installed, because command '/lib/systemd/systemd-timesyncd' could not be found!
dracut[I]: Module 'systemd-timesyncd' will not be installed, because command '/lib/systemd/systemd-time-wait-sync' could not be found!
dracut[I]: Module 'systemd-veritysetup' will not be installed, because command '/lib/systemd/systemd-veritysetup' could not be found!
dracut[I]: Module 'systemd-veritysetup' will not be installed, because command '/lib/systemd/system-generators/systemd-veritysetup-generator' could not be found!
dracut[I]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'network-legacy' will not be installed, because command 'dhclient' could not be found!
dracut[I]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[I]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[I]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[I]: Module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[I]: Module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
dracut[I]: Module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
dracut[I]: Module 'fcoe' will not be installed, because command 'lldpad' could not be found!
dracut[I]: Module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
dracut[I]: Module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
dracut[I]: Module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut[I]: Module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut[I]: Module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[I]: Module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[I]: Module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut[E]: Module 'systemd-initrd' depends on 'systemd', which can't be installed
dracut[E]: Module 'dracut-systemd' depends on 'systemd-initrd', which can't be installed
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[E]: Module 'zfs' cannot be found.
 * Failed to generate initramfs
run-parts: /etc/kernel/preinst.d/50-dracut.install exited with return code 1                                                                                                                                    [ !! ]
 * Installing the kernel failed
 * 
 * The kernel files were copied to disk successfully but the kernel
 * was not deployed successfully.  Once you resolve the problems,
 * please run the equivalent of the following command to try again:
 * 
 *     emerge --config sys-kernel/gentoo-kernel-bin:6.7.2
 * ERROR: sys-kernel/gentoo-kernel-bin-6.7.2-r1::gentoo failed (postinst phase):
 *   Kernel install failed, please fix the problems and run emerge --config sys-kernel/gentoo-kernel-bin:6.7.2
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called pkg_postinst
 *   environment, line 1949:  Called kernel-install_pkg_postinst
 *   environment, line 1454:  Called kernel-install_install_all '6.7.2-gentoo-dist'
 *   environment, line 1439:  Called die
 * The specific snippet of code:
 *           die "Kernel install failed, please fix the problems and run emerge --config ${CATEGORY}/${PN}:${SLOT}";
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-bin-6.7.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-bin-6.7.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/empty'
 * S: '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/work'
 * FAILED postinst: 1

>>> Recording sys-kernel/gentoo-kernel-bin in "world" favorites file...

>>> Failed sys-kernel/gentoo-kernel-bin-6.7.2-r1::gentoo

>>> Failed to execute postinst for sys-kernel/gentoo-kernel-bin-6.7.2-r1, Log file:

>>>  '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/temp/build.log'

>>> Emerging (2 of 2) virtual/dist-kernel-6.7.2::gentoo
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/virtual/dist-kernel-6.7.2/work
>>> Preparing source in /var/tmp/portage/virtual/dist-kernel-6.7.2/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/virtual/dist-kernel-6.7.2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/virtual/dist-kernel-6.7.2/work ...
>>> Source compiled.
>>> Test phase [not enabled]: virtual/dist-kernel-6.7.2

>>> Install virtual/dist-kernel-6.7.2 into /var/tmp/portage/virtual/dist-kernel-6.7.2/image
>>> Completed installing virtual/dist-kernel-6.7.2 into /var/tmp/portage/virtual/dist-kernel-6.7.2/image

 * Final size of build directory: 0 KiB
 * Final size of installed tree:  0 KiB

>>> Done.

>>> Installing (2 of 2) virtual/dist-kernel-6.7.2::gentoo

>>> Completed (2 of 2) virtual/dist-kernel-6.7.2::gentoo
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (sys-kernel/gentoo-kernel-bin-6.7.2-r1:6.7.2/6.7.2::gentoo, ebuild scheduled for merge) (postinst failed), Log file:
 *   '/var/tmp/portage/sys-kernel/gentoo-kernel-bin-6.7.2-r1/temp/build.log'
 * 

 * GNU info directory index is up-to-date.


Reproducible: Always
Comment 1 Michal Jakubowski 2024-01-31 22:52:33 UTC
T14s ~ # emerge --info
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r9, 6.6.14-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.14-gentoo-dist-x86_64-AMD_Ryzen_7_PRO_6850U_with_Radeon_Graphics-with-glibc2.38
KiB Mem:    31591676 total,  13872868 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Wed, 31 Jan 2024 20:30:01 +0000
Head commit of repository gentoo: 6cf79c77f12b93946e95cf2b21c7809c3500793e
Timestamp of repository brave-overlay: Wed, 30 Aug 2023 14:16:44 +0000
Head commit of repository brave-overlay: 6633c093c271deda5b29101a4ed5a611810268e1

Timestamp of repository guru: Wed, 31 Jan 2024 19:03:18 +0000
Head commit of repository guru: a12237fabe5ac584519e65cf1ae347b8966c8e82

Timestamp of repository steam-overlay: Wed, 31 Jan 2024 14:07:10 +0000
Head commit of repository steam-overlay: c872878fa2b1fec44985e08a3c20938221eb7ecf

Timestamp of repository zhjie-repo: Wed Mar 16 06:30:07 PM CST 2022
Head commit of repository zhjie-repo: 1e00707dd98b14540a563af3f3fb8108a3b201b4

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.8.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

zhjie-repo
    location: /var/db/repos/zhjie-repo
    sync-type: git
    sync-uri: https://github.com/zhjie/zhjie_gentoo_repo
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=znver3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US pl pl_PL"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="7zip X a52 aac acl acpi activities alsa amd64 aptx bluetooth branding bzip2 cairo cdda cdr clang cli crypt cups dbus declarative dist-kernel dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms ldac libnotify libtirpc lrz mad matroska mng mp3 mp4 mpeg multilib ncurses networkmanager nls ofono-headset ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 rar readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vpx vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics mouse keyboard evdev" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-01 11:59:55 UTC
What changed?
Comment 3 Michal Jakubowski 2024-02-01 12:15:32 UTC
Remove zol.conf from media-video/ffmpeg-5.1.4-r2:0/57.59.59::gentoo
Comment 4 Michal Jakubowski 2024-02-01 12:16:09 UTC
Remove zol.conf from /etc/dracut.conf.d