View previous topic :: View next topic |
Author |
Message |
terramotu n00b

Joined: 26 May 2025 Posts: 13 Location: Monaco
|
Posted: Thu Jun 05, 2025 8:38 pm Post subject: |
|
|
Hello again, I tried to recompile grub, then i followed along the various steps of the handbook to see if I had to redo something,
I still have a issue with the dist-kernel running Code: | emerge --ask --config sys-kernel/gentoo-kernel | .
Code: |
Hook /usr/lib/kernel/postinst.d/91-grub-mkconfig.install finished successfully
Running /usr/lib/kernel/postinst.d/95-efistub-uefi-mkconfig.install 6.12.28-gentoo-dist /boot/efi/EFI/Gentoo/vmlinuz-6.12.28-gentoo-dist.efi...
* Updating UEFI configuration...
* Running uefi-mkconfig...
* Using kernel commands from "/etc/default/uefi-mkconfig"
* Creating UEFI entry "0200" for "/boot/efi/EFI/gentoo/vmlinuz-6.12.28-gentoo-dist-old.efi" found on ""
Could not prepare Boot variable: Success
* Failed to add UEFI entry for "/efi/EFI/gentoo/vmlinuz-6.12.28-gentoo-dist-old.efi"
* For more information please refer to https://github.com/Biosias/uefi-mkconfig
* uefi-mkconfig failed
ERROR: Installing 6.12.28-gentoo-dist failed
*
* The kernel was not deployed successfully. Inspect the failure
* in the logs above and once you resolve the problems please
* run the equivalent of the following command to try again:
*
* emerge --config '=sys-kernel/gentoo-kernel-6.12.28:6.12.28'
* ERROR: sys-kernel/gentoo-kernel-6.12.28::gentoo failed (config phase):
* Kernel install failed, please fix the problems and run emerge --config
*
* Call stack:
* ebuild.sh, line 136: Called pkg_config
* environment, line 2500: Called kernel-install_pkg_config
* environment, line 2083: Called kernel-install_install_all '6.12.28-gentoo-dist'
* environment, line 2076: Called dist-kernel_install_kernel '6.12.28-gentoo-dist' '/usr/src/linux-6.12.28-gentoo-dist/arch/x86/boot/bzImage' '/usr/src/linux-6.12.28-gentoo-dist/System.map'
* environment, line 1157: Called die
* The specific snippet of code:
* die "Kernel install failed, please fix the problems and run emerge --config";
*
* If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.12.28::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.12.28::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/empty'
* S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/work/gentoo-kernel-6.12.28'
* Messages for package sys-kernel/gentoo-kernel-6.12.28:
*
* The kernel was not deployed successfully. Inspect the failure
* in the logs above and once you resolve the problems please
* run the equivalent of the following command to try again:
*
* emerge --config '=sys-kernel/gentoo-kernel-6.12.28:6.12.28'
* ERROR: sys-kernel/gentoo-kernel-6.12.28::gentoo failed (config phase):
* Kernel install failed, please fix the problems and run emerge --config
*
* Call stack:
* ebuild.sh, line 136: Called pkg_config
* environment, line 2500: Called kernel-install_pkg_config
* environment, line 2083: Called kernel-install_install_all '6.12.28-gentoo-dist'
* environment, line 2076: Called dist-kernel_install_kernel '6.12.28-gentoo-dist' '/usr/src/linux-6.12.28-gentoo-dist/arch/x86/boot/bzImage' '/usr/src/linux-6.12.28-gentoo-dist/System.map'
* environment, line 1157: Called die
* The specific snippet of code:
* die "Kernel install failed, please fix the problems and run emerge --config";
*
* If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.12.28::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.12.28::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/empty'
* S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.28/work/gentoo-kernel-6.12.28'
|
Here are the informations
Code: |
(chroot) livecd / # emerge --info '=sys-kernel/gentoo-kernel-6.12.28::gentoo'
Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r8, 6.12.25 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.25-x86_64-AMD_Ryzen_5_2500U_with_Radeon_Vega_Mobile_Gfx-with-glibc2.40
KiB Mem: 20002040 total, 14309572 free
KiB Swap: 26214396 total, 26214396 free
Timestamp of repository gentoo: Thu, 05 Jun 2025 18:15:00 +0000
Head commit of repository gentoo: e1f7a3b63dbb94f657e7f1bc78a85edb7df08978
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.17-r2::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.13.3::gentoo
dev-lang/rust-bin: 1.85.1::gentoo
llvm-core/llvm: 19.1.7::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::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-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -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/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.ircam.fr/pub/gentoo-distfiles/ rsync://mirrors.ircam.fr/pub/gentoo-distfiles/ https://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirror.init7.net/gentoo/ http://mirror.init7.net/gentoo/ rsync://mirror.init7.net/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l8"
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"
RUSTFLAGS=" -C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo caps cdda cdr cet crypt cryptsetup cups dbus dist-kernel dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lvm mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qml qt5 qt6 readline samba sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb virtualbox vorbis vulkan wayland wifi wxwidgets x11 x264 xattr xcb xft xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
sys-kernel/gentoo-kernel-6.12.28::gentoo was built with the following:
USE="debug initramfs strip -experimental (-generic-uki) -hardened -modules-compress -modules-sign -savedconfig -secureboot -test" ABI_X86="(64)"
(chroot) livecd / # emerge --ask --config sys-kernel/gentoo-kernel
|
I am very clueless about what to do now does someone has any advices ? |
|
Back to top |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 297
|
Posted: Thu Jun 05, 2025 9:00 pm Post subject: |
|
|
I don't think you should set the efistub USE flag and grub USE flag, do you have both enabled? _________________ µgRD dev
Wiki writer |
|
Back to top |
|
 |
terramotu n00b

Joined: 26 May 2025 Posts: 13 Location: Monaco
|
Posted: Thu Jun 12, 2025 6:33 pm Post subject: |
|
|
zen_desu
Thanks a lot, that was the issue !
I had a flag for the efi stub and grub simultaneously !!
I've booted Gentoo ! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|