When emerging linux-firmware in verbose mode, the savedconfig flag appears twice (usually with one deactivated). This likely does not have any technical effect but is visually confusing. Reproducible: Always Steps to Reproduce: 1. emerge --ask --verbose linux-firmware 2. see the USE flags for linux-firmware 3. savedconfig should appear twice Actual Results: The savedconfig USE flag appeared twice. One of them deactivated. Expected Results: The savedconfig USE flag should appear once. If savedconfig is active, the USE flag should be activated. The bug likely stems from the ebuild inheriting from savedconfig-eclass (line 5) while also defining savedconfig (line 32). Only one of these should exist, whichever is more important (probably eclass).
emerge --ask --verbose linux-firmware Calculating dependencies... done! Dependency resolution took 2.47 s (backtrack: 0/20). [ebuild R ~] sys-kernel/linux-firmware-20250211-r1::gentoo USE="initramfs redistributable savedconfig -bindist -compress-xz -compress-zstd -deduplicate -dist-kernel (-unknown-license)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] Not able to reproduce, it might be me, can you tell me your portage version ?
My current version is 3.0.66.1-r1 . On this version, I've attempted to reproduce and no longer get the error. Recently (a little over two weeks ago) an emerge-sync occurred but portage itself was not updated. This may be relevant. As a sanity check, I tried to reproduce with portageq and portage-utils-0.97 - which successfully reproduced: With portageq: portageq metadata / ebuild sys-kernel/linux-firmware-20250211 IUSE bindist compress-xz compress-zstd deduplicate dist-kernel +initramfs +redistributable savedconfig unknown-license savedconfig With qlist: qlist -Uev linux-firmware sys-kernel/linux-firmware-20250211 -bindist compress-xz -compress-zstd -deduplicate dist-kernel initramfs redistributable savedconfig -savedconfig -unknown-license With quse: quse -p linux-firmware sys-kernel/linux-firmware: bindist compress-xz compress-zstd deduplicate dist-kernel +initramfs +redistributable savedconfig unknown-license savedconfig
We can drop the 'savedconfig' from USE in the ebuild itself as the eclass definitely adds it but it's curious how you don't see it anymore.
Yeah, it's interesting. I remember seeing it when I updated world after a sync, maybe this is relevant? emerge --newrepo --newuse --resume --update --ask --exclude=gentoo-kernel-bin linux-headers --jobs=1 --load-average=3.0 --quiet-fail=y --regex-search-auto=y --getbinpkg --usepkg --verbose This was the exact command (from emerge.log). Not really sure what's happened since. It also could be that I mixed it up. I jotted the bugs in my notes and said it was from portage (with the command), but maybe I confused it with qlist output? If I ever see the error again for another package, I will make sure to save my exact system stat
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f7453f0d96af5a45482634fdfce822dd344f11 commit a9f7453f0d96af5a45482634fdfce822dd344f11 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2025-03-11 20:04:59 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2025-03-11 20:05:40 +0000 sys-kernel/linux-firmware: add 20250311, remove redundant use flag Closes: https://bugs.gentoo.org/950486 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/linux-firmware/Manifest | 1 + .../linux-firmware/linux-firmware-20250311.ebuild | 402 +++++++++++++++++++++ 2 files changed, 403 insertions(+)