Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930520 - sys-kernel/installkernel-36: 50-dracut.install: bash read argument ordering causes error
Summary: sys-kernel/installkernel-36: 50-dracut.install: bash read argument ordering c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 20:29 UTC by MrSnivvel
Modified: 2024-04-24 10:14 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 MrSnivvel 2024-04-23 20:29:36 UTC
Running 'make install' for UKI:

dracut[I]: *** Creating UEFI image file '/usr/src/linux-6.8.7-gentoo/arch/x86/boot/dracut-tmp' done ***
/usr/lib/kernel/preinst.d/50-dracut.install: line 73: read: r: invalid number
* Plain initramfs image found

Line from file as is:  read -nr 2 magic <"${tmp}"

Changing it to be:  read -rn 2 magic <"${tmp}"

dracut[I]: *** Creating UEFI image file '/usr/src/linux-6.8.7-gentoo/arch/x86/boot/dracut-tmp' done ***
 * Combined UEFI kernel+initramfs executable found

Reproducible: Always
Comment 1 MrSnivvel 2024-04-23 20:31:04 UTC
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r3, 6.8.0-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.0-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.39
KiB Mem:   395858776 total,  54357600 free
KiB Swap:   67108860 total,  66622432 free
Timestamp of repository gentoo: Tue, 23 Apr 2024 18:04:21 +0000
Head commit of repository gentoo: f38205ca0e1bcfe72cfa7d4dc6cc7641b309bd62

Head commit of repository gentoo-gpu: c45a514e92cb0bc279acec9eba10b2b98e8a1e88

Timestamp of repository gitlab: Thu, 18 Apr 2024 15:33:12 +0000
Head commit of repository gitlab: db56a3c2d1f7dcf7bc0e891c2261c668464378d7

Timestamp of repository guru: Tue, 23 Apr 2024 10:35:11 +0000
Head commit of repository guru: ad73d0a456addb32004c9673529d157c6f5d8b23

Timestamp of repository inode64-overlay: Tue, 23 Apr 2024 16:18:33 +0000
Head commit of repository inode64-overlay: ead50fdfaa68cf940c59e9f316fe5388795d36ce

Head commit of repository rocm-bleeding-edge: 5d53550faa2a7bd445f558e0f71a7a058c27b49f

Timestamp of repository sage-on-gentoo: Fri, 19 Apr 2024 19:03:48 +0000
Head commit of repository sage-on-gentoo: 6ccb4f0b19f7af0e4d0d438e0e1e005014545b27

Head commit of repository science: 93f24428f26a2fd512a61b3e4ecf0ec84ad5cc04

Head commit of repository torbrowser: 487083961152a92ae3e9c74e3867d8f4f26713d4

Head commit of repository nitratesky: 78a81a38092019aadfce37f9aeebbbb76d1134a3

Head commit of repository steam-overlay: 6383d556f91cc926d7c2295a212dfe3217e0a536

sh bash 5.2_p26-r1
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r1::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::rocm-bleeding-edge, 17.0.6::rocm-bleeding-edge, 18.1.4::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.4::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::rocm-bleeding-edge, 18.1.4::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r3::gentoo
Repositories:

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

gentoo-gpu
    location: /var/db/repos/sjnewbury-gentoo-cpu
    sync-type: git
    sync-uri: https://github.com/sjnewbury/gentoo-gpu.git
    masters: gentoo
    volatile: False

gitlab
    location: /var/db/repos/gitlab
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gitlab.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

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

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

rocm-bleeding-edge
    location: /var/db/repos/sjnewbury-rocm-bleeding-edge
    sync-type: git
    sync-uri: https://github.com/sjnewbury/rocm-bleeding-edge.git
    masters: gentoo
    volatile: False

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

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: git://git.gentoo.org/proj/sci.git
    masters: gentoo
    volatile: False

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

nitratesky
    location: /var/db/repos/nitratesky
    sync-type: git
    sync-uri: https://github.com/VTimofeenko/nitratesky
    masters: gentoo
    priority: 50
    volatile: False

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64

Installed sets: @ai, @bareboneswm, @db, @desktop, @devops, @fonts, @games, @gfx, @opencl, @privacy, @programming, @radio, @streaming, @utils
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j48"
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 -C link-arg=-Wl,-z,pack-relative-relocs"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi aio alsa amd64 amf amr amrenc ao apache2 appindicator archive atasmart autotype avif awt base boot boto branding browser btpclient btrfs bzip2 cairo calendar caps cdda cddb cdr cet chromium clippy colord compositor connection-sharing context contrib crypt cups curl dav1d dbus development device-mapper dia down-root dracut dri drm drun dts dvd dvdr eap-tls eds egl elfutils encode epspdf evo exif extensions extra extraengine faad fdk ffmpeg ffmpge flac fpm freerdp games gcj gd gdata gdbm geckodriver gentoo-vm gif gimp git glamor gles gles1 gles2 gltf gmp gnome gnome-keyring gnome-shell gpg gpm graph graphics gstreamer gtk gtk3 gui hcitop hddtemp hdri heif http http3 humanities hwaccel iconv icu imagemagick introspection iproute2 iptables ipv6 jack javascript jemalloc jpeg jpeg2k jpegxl json kate kernel-install keyring lcms ldac libdrm libkms libnotify libtesseract libtirpc lm-sensors lm_sensors login lto lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses network networkmanager nfs nfsv4 nfsv41 nftables nginx nls notification nping ocr odf offensive ofono ofx ogg omega openal opencl opencv openexr opengl openmp opus ozone pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php pipewire png policykit postgres postproc postscript ppds printsupport profiling pstricks publishers pulseaudio python qemu qt5 rav1e raw raycast readline redis rrdcgi rubberband rust-analyzer rust-src rustfmt s3tc science sdl seccomp sendto sensord shaderc shout slib soap sockets sound speech speex spell spice sqlite srt sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg svt-av1 syntax-check sysprof system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd systemtap sysv-utils sysvipc terminal tesseract test-rust tex4ht texi2html tfshark theora threads thunar tiff tools tor-hardening tproxy tray trayicon truetype udev udisks uki ukify unicode update_drivedb upower usb usbredir user-session uuid uvm v4l vaapi vdpau vector-icons vim vim-syntax visio vkd3d vlc vnc vorbis vpx vte vulkan vulkan-overlay wayland webp widevine wireshark-plugins wxwidgets x264 x265 xa xattr xcb xcomposite xephyr xetex xface xft xinerama xml xmlwriter xpm xrandr xsl xslt xv xvfb xvid xvmc zip zlib zsh-completion zsh-completions zstd" ABI_X86="64 32" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx90a gfx906 gfx908 gfx1030 gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031 gfx902 gfx1100 gfx1101 gfx1102" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core 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 proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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" CURL_SSL="openssl" 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 joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LLVM_TARGETS="X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="epson epson2 net" 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, 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/installkernel-36::gentoo was built with the following:
USE="dracut uki -efistub -grub -refind -systemd -systemd-boot -ukify" ABI_X86="(64)"
Comment 2 Larry the Git Cow gentoo-dev 2024-04-24 10:13:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=046ddd4ce83e70d09b39a2124e9ffb20ece0dd50

commit 046ddd4ce83e70d09b39a2124e9ffb20ece0dd50
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-04-24 10:11:41 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-04-24 10:12:10 +0000

    sys-kernel/installkernel: add 37
    
    Closes: https://bugs.gentoo.org/930520
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sys-kernel/installkernel/Manifest                |   1 +
 sys-kernel/installkernel/installkernel-37.ebuild | 186 +++++++++++++++++++++++
 2 files changed, 187 insertions(+)