Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727516 - app-arch/rpm2targz make zstd dependency optional
Summary: app-arch/rpm2targz make zstd dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-08 09:22 UTC by David Duchesne
Modified: 2020-06-11 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild modified (file_727516.txt,888 bytes, text/plain)
2020-06-08 09:23 UTC, David Duchesne
Details

Note You need to log in before you can comment on or make changes to this bug.
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.. :(