As discussed on gentoo-dev: This default doesn't actually solve the stated problem, and setting it in a high-level profile causes new ones for users who want it disabled. The obvious solution to revert to the status quo is to set USE="-zstd", but that has the dangerous side-effect of overriding IUSE defaults in packages where they are important. For example, sys-apps/kmod uses +zstd to ensure that your kernel will boot if you choose zstd compression for modules; helpful, because there's no other way for the package manager to track that dependency. There are other more appropriate places for USE=zstd: * In a profile that the user has to choose, like the desktop profile. * In the packages themselves, as IUSE defaults. * Nowhere :) All Gentoo users know how to set USE=zstd if they want zstd support. You learn this before you even boot into your first Gentoo install.
If you're looking for consensus I've been following the threads on gentoo-dev and would agree with this change to the profile. There are other, more sensible, places to put this as a default directly in the packages where it's important.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe2b57efbc894c3a06c283927ae245d0d1b6454 commit bbe2b57efbc894c3a06c283927ae245d0d1b6454 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-04-09 21:44:36 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-04-09 21:48:17 +0000 profiles, 23.0: Undo USE="lzma zstd", except for toolchain where zstd makes sense As discussed on gentoo-dev and in toolchain / base-system teams. Closes: https://bugs.gentoo.org/928932 Closes: https://bugs.gentoo.org/928933 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> profiles/releases/23.0/make.defaults | 9 +++------ profiles/releases/23.0/package.use | 10 ++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d43599359d124a9e4c7f2c9c575883d13b386dc commit 5d43599359d124a9e4c7f2c9c575883d13b386dc Author: Sam James <sam@gentoo.org> AuthorDate: 2024-04-09 22:34:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-09 22:34:22 +0000 profiles/releases/23.0: enable zstd for sys-devel/lld too It has to match LLVM or we get autounmask hell. Bug: https://bugs.gentoo.org/928933 Signed-off-by: Sam James <sam@gentoo.org> profiles/releases/23.0/package.use | 1 + 1 file changed, 1 insertion(+)