Created attachment 917990 [details] emerge --info Every time I merge packages I get a notification at the end regarding an existing preserved lib: !!! existing preserved libs: >>> package: dev-util/spirv-tools-1.3.296.0 * - /usr/lib64/libSPIRV-Tools.so * used by /usr/lib64/libgallium-24.3.3.so (media-libs/mesa-24.3.3) * used by /usr/lib64/libvulkan_intel.so (media-libs/mesa-24.3.3) * used by /usr/lib64/libvulkan_intel_hasvk.so (media-libs/mesa-24.3.3) * used by /usr/lib64/libvulkan_radeon.so (media-libs/mesa-24.3.3) If I remove this preserved lib, my Plasma session no longer starts on boot until I reinstall dev-util/spirv-tools. emerge @preserved-rebuild does not actually rebuild packages using this library because I'm using EMERGE_DEFAULT_OPTS="--getbinpkg" This suggests dev-util/spirv-tools might actually be a runtime dependency of media-libs/mesa and the ebuild for mesa needs to be adjusted so it's included when installing mesa as a binary.
I fixed this in -9999 with commit 14d44e457568ac1cfd46e324a9223202b1eba81f Author: Matt Turner <mattst88@gentoo.org> Date: Mon Jan 13 14:18:07 2025 -0500 media-libs/mesa: Make dependency on spirv-tools unconditional This dependency became automatic in upstream commit c60a421f0c2 ("vtn: Add a debug flag to dump SPIR-V assembly"). Signed-off-by: Matt Turner <mattst88@gentoo.org> but didn't realize that the commit was also in 24.3.0.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb817f378ce3ca84c2682570a1e821f1239f0f68 commit bb817f378ce3ca84c2682570a1e821f1239f0f68 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-02-03 17:08:59 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-02-03 17:12:58 +0000 media-libs/mesa: Backport fixes from -9999 Closes: https://bugs.gentoo.org/948591 Closes: https://bugs.gentoo.org/949118 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/{mesa-24.3.4.ebuild => mesa-24.3.4-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)