emerging sys-kernel/linux-firmware fails Reproducible: Always Steps to Reproduce: 1. emerge -avuND @world Actual Results: package fails to emerge Expected Results: package should emerge without error ❯ emerge --info Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-13, glibc-2.38-r10, 6.7.4-filthy-xanmod1 x86_64) ================================================================= System uname: Linux-6.7.4-filthy-xanmod1-x86_64-AMD_Ryzen_9_7900X3D_12-Core_Processor-with-glibc2.38 KiB Mem: 65021868 total, 3057648 free KiB Swap: 67108860 total, 67068412 free Timestamp of repository gentoo: Thu, 15 Feb 2024 21:04:02 +0000 Head commit of repository gentoo: 84835b15c2ff457bd768ffe56329b38353d73563 Timestamp of repository ROKO__: Mon, 12 Feb 2024 16:35:36 +0000 Head commit of repository ROKO__: c94d47a1eeae109ab7ffacfda3f7f158ee9b4912 Timestamp of repository edgets: Mon, 12 Feb 2024 16:35:58 +0000 Head commit of repository edgets: 0f5b1aa9b95b098dbfb55fca1c1aba66d1e0ad4f Timestamp of repository guru: Thu, 15 Feb 2024 15:05:21 +0000 Head commit of repository guru: 8adf4d292538166c497c1133cfb04134a8440b9c Head commit of repository librewolf: 1ca22da1c168b765ef877e9e21258d84438ab66a Timestamp of repository menelkir: Wed, 14 Feb 2024 10:33:12 +0000 Head commit of repository menelkir: 02478d46fa9eb23d864ebbce8611112918c40f52 Timestamp of repository src_prepare-overlay: Thu, 15 Feb 2024 10:33:19 +0000 Head commit of repository src_prepare-overlay: 8559ecdf08ca59e61b9abc355ef4ee400221156e Timestamp of repository steam-overlay: Mon, 12 Feb 2024 16:35:44 +0000 Head commit of repository steam-overlay: d984553a1549c63a93d840bd1ecbadbe54a582a8 sh bash 5.2_p26 ld GNU ld (Gentoo 2.41 p5) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.3::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.2::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust: 1.75.0-r1::gentoo sys-apps/baselayout: 2.14-r2::gentoo sys-apps/openrc: 0.53::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.41-r5::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-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False ROKO__ location: /var/db/repos/ROKO__ sync-type: git sync-uri: https://github.com/gentoo-mirror/ROKO__.git masters: gentoo volatile: False edgets location: /var/db/repos/edgets sync-type: git sync-uri: https://github.com/gentoo-mirror/edgets.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 librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://codeberg.org/librewolf/gentoo.git masters: gentoo volatile: False menelkir location: /var/db/repos/menelkir sync-type: git sync-uri: https://github.com/gentoo-mirror/menelkir.git masters: gentoo volatile: False src_prepare-overlay location: /var/db/repos/src_prepare-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git 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 Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver4 -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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=znver4 -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="-march=znver4 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict strict-keepdir unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=znver4 -O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com" LANG="en_US.utf8" LDFLAGS="" LEX="flex" MAKEOPTS="-j22" 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/zsh" USE="X aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr clang cli colord crypt dbus dri drm dts dvd dvdr eds elogind encode evo exif flac fortran fuse gdbm gdm gif gnome gnome-keyring gnome-shell gpm graphite gstreamer gtk gtk2 gtk3 gtk4 gui hardened iconv icu introspection ipv6 jpeg keyring lame lcms libnotify libtirpc lm-sensors lto lz4 lzma lzo mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qt5 qt6 readline samba sdl seccomp sound spell split-usr ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis vulkan wavpack wayland wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib zstd" 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="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha 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 pc qemu" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU X86" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm i386 x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi virgl" 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, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS build log >>> Emerging (1 of 1) sys-kernel/linux-firmware-20240115-r2::gentoo * linux-firmware-20240115.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking linux-firmware-20240115.tar.xz to /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work >>> Source unpacked in /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work >>> Preparing source in /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work/linux-firmware-20240115 ... * Applying linux-firmware-copy-firmware-r2.patch ... [ ok ] * Removing files with unknown license ... removed 'korg/k1212.dsp' removed 'ess/maestro3_assp_kernel.fw' removed 'ess/maestro3_assp_minisrc.fw' removed 'yamaha/ds1_ctrl.fw' removed 'yamaha/ds1_dsp.fw' removed 'yamaha/ds1e_ctrl.fw' removed 'ttusb-budget/dspbootcode.bin' removed 'emi62/bitstream.fw' removed 'emi62/loader.fw' removed 'emi62/midi.fw' removed 'emi62/spdif.fw' removed 'ti_3410.fw' removed 'ti_5052.fw' removed 'mts_mt9234mu.fw' removed 'mts_mt9234zba.fw' removed 'whiteheat.fw' removed 'whiteheat_loader.fw' removed 'cpia2/stv0672_vp4.bin' removed 'vicam/firmware.fw' removed 'edgeport/boot.fw' removed 'edgeport/boot2.fw' removed 'edgeport/down.fw' removed 'edgeport/down2.fw' removed 'edgeport/down3.bin' removed 'sb16/mulaw_main.csp' removed 'sb16/alaw_main.csp' removed 'sb16/ima_adpcm_init.csp' removed 'sb16/ima_adpcm_playback.csp' removed 'sb16/ima_adpcm_capture.csp' removed 'sun/cassini.bin' removed 'acenic/tg1.bin' removed 'acenic/tg2.bin' removed 'adaptec/starfire_rx.bin' removed 'adaptec/starfire_tx.bin' removed 'yam/1200.bin' removed 'yam/9600.bin' removed 'ositech/Xilinx7OD.bin' removed 'qlogic/isp1000.bin' removed 'myricom/lanai.bin' removed 'yamaha/yss225_registers.bin' removed 'lgs8g75.fw' >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work/linux-firmware-20240115 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work/linux-firmware-20240115 ... make -j22 make: Nothing to be done for 'all'. >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: sys-kernel/linux-firmware-20240115-r2 >>> Install sys-kernel/linux-firmware-20240115-r2 into /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/image destdir is /var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/image/lib/firmware * ERROR: sys-kernel/linux-firmware-20240115-r2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 2072: Called die * The specific snippet of code: * pushd "${ED}/lib/firmware" &> /dev/null || die; * * If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20240115-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20240115-r2::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-kernel/linux-firmware-20240115-r2:20240215-212109.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work/linux-firmware-20240115' * S: '/var/tmp/portage/sys-kernel/linux-firmware-20240115-r2/work/linux-firmware-20240115'
➜ emerge -pqv '=sys-kernel/linux-firmware-20240115-r2::gentoo' [ebuild U ] sys-kernel/linux-firmware-20240115-r2 [20240115-r1] USE="redistributable -compress-xz -compress-zstd -deduplicate -initramfs -savedconfig (-unknown-license)"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00488d02e9bb9d5c85dbdee80bd5b1a780a4100 commit f00488d02e9bb9d5c85dbdee80bd5b1a780a4100 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2024-02-15 23:18:55 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2024-02-15 23:18:55 +0000 sys-kernel/linux-firmware: Update savedconfig patch Bug: https://bugs.gentoo.org/913049 Closes: https://bugs.gentoo.org/924679 Signed-off-by: Mike Pagano <mpagano@gentoo.org> .../files/linux-firmware-copy-firmware-r3.patch | 59 +++ .../linux-firmware-20240115-r3.ebuild | 401 +++++++++++++++++++++ 2 files changed, 460 insertions(+)