Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954215 - sys-fs/squashfs-tools-4.6.1 problem with lzma and xz USE flags
Summary: sys-fs/squashfs-tools-4.6.1 problem with lzma and xz USE flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-22 14:08 UTC by Jordi PM
Modified: 2025-04-22 14:11 UTC (History)
0 users

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 Jordi PM 2025-04-22 14:08:48 UTC
I've spent an unreasonable amount of time trying to understand why I did not have the xz compressing feature compiled in, and I think there is a problem on how the USE flags are managed in this ebuild, trying to hide XZ
After hacking, I report the following:
the XZ_SUPPORT config option is set by lzma USE flag, as is LZMA_XZ_SUPPORT.
I believe that xz should be explicitly reported and described as XZ, not hidden, and the ebuild, should mandate that if xz USE is set, lzma USE has to be se too via a simple condition.


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-22 14:11:04 UTC
LZMA and XZ are one and the ~same and we use the same USE flag for them, and it's the same package.

I don't think we're going to change this. It's the same for every other package too.

Maybe we could tweak the global USE flag description. It currently says:
 - - lzma  : Support for LZMA compression algorithm

We could mention xz there.