Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727516

Summary: app-arch/rpm2targz make zstd dependency optional
Product: Gentoo Linux Reporter: David Duchesne <aether>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: fturco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild modified

Description David Duchesne 2020-06-08 09:22:47 UTC
Would it be possible to make zstd optional for rpm2targz ?
On my system, I needed to edit rp2mtargz ebuild to get rid of zstd.
See new ebuild attached.

Reproducible: Always
Comment 1 David Duchesne 2020-06-08 09:23:59 UTC
Created attachment 643930 [details]
ebuild modified
Comment 2 Ionen Wolkens gentoo-dev 2020-06-09 09:21:07 UTC
Was added in rpm2targz because of bug #719208, as comments state many new rpms seem to be using it by default now. Doesn't hurt for things to be optional but I'm not sure if it's worth it here (not that it's up for me to decide, just commenting).

Avoiding zstd entirely in gentoo is going to become more difficult notably given portage-2.3.100 made it a non-optional dependency so everyone will end up installing it if that gets stabilized as-is.
Comment 3 David Duchesne 2020-06-09 13:27:47 UTC
(In reply to Ionen Wolkens from comment #2)
> Was added in rpm2targz because of bug #719208, as comments state many new
> rpms seem to be using it by default now. Doesn't hurt for things to be
> optional but I'm not sure if it's worth it here (not that it's up for me to
> decide, just commenting).
> 
> Avoiding zstd entirely in gentoo is going to become more difficult notably
> given portage-2.3.100 made it a non-optional dependency so everyone will end
> up installing it if that gets stabilized as-is.

Thanks for pointing this out. I wasn't aware of that. So maybe "+zstd" could still be added in IUSE ? So that by default, zstd is pulled in while leaving option to manually set "-zstd" for those who don't need it.
Comment 4 David Duchesne 2020-06-09 13:31:16 UTC
(In reply to Ionen Wolkens from comment #2)
> Avoiding zstd entirely in gentoo is going to become more difficult notably
> given portage-2.3.100 made it a non-optional dependency so everyone will end
> up installing it if that gets stabilized as-is.

Oops, missed that part in your post. Well then.. if it is confirmed, this bug report can be closed I guess.. :(