Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66658 - [btrfs-progs] reiserfsprogs dependency seems maybe excessive

Attached to Project: Arch Linux
Opened by Chris Down (cdown) - Friday, 15 May 2020, 13:29 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 17 May 2020, 11:15 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

btrfs-progs 5.6.1-1 adds reiserfsprogs as a hard dependency for reiserfs conversion, but this seems a bit excessive -- 99.99% of people are never going to use this dependency. Could you please add it as an optdepend instead? Thank you! :-)
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 17 May 2020, 11:15 GMT
Reason for closing:  Implemented
Additional comments about closing:  5.6.1-2
Comment by Doug Newgard (Scimmia) - Friday, 15 May 2020, 13:31 GMT
The e2fsprogs dep is the same way, only needed for btrfs-convert.
Comment by Carlo Wood (CarloWood) - Friday, 15 May 2020, 13:31 GMT
Seconded. It seems strange that I'd suddenly need reiserfsprogs-3.6.27-3 installed
when I do a 'pacman -Syu' now (last update was yesterday).
Comment by Sébastien Luttringer (seblu) - Friday, 15 May 2020, 14:53 GMT
yes, both e2fsprogs and reiserfsprogs are 'NEEDED' libraries for btrfs-convert utility.

I don't remember if we could use optdepends when there is a required library for a binary which prevent loading. Do we have another packages where this is done?

While I'm also unhappy when software pull dependencies I don't need, like reiserfs (or lvm2), installed reiserfsprogs required 500K of space which is little cost to support reiserfs convertion.
Comment by Chris Down (cdown) - Friday, 15 May 2020, 14:58 GMT
> I don't remember if we could use optdepends when there is a required library for a binary which prevent loading. Do we have another packages where this is done?

I remember we did it before for libgobject, which was an runtime optdepend for some systemd binary a while ago, so there is precedent. Trying to find the task now, but not having much luck.
Comment by Doug Newgard (Scimmia) - Saturday, 16 May 2020, 01:57 GMT
It's not uncommon to have optdepends for specific binaries
Comment by Sébastien Luttringer (seblu) - Saturday, 16 May 2020, 02:00 GMT
Could you point an example in [core] or [extra]?
Comment by Doug Newgard (Scimmia) - Saturday, 16 May 2020, 02:24 GMT
Sure, just look at most of the things that optionally require gtk3, such as avahi, grilo, or uim (random ones I clicked on that are in Extra, many more in Community).
Comment by Sébastien Luttringer (seblu) - Saturday, 16 May 2020, 03:21 GMT
well, thanks for the pointers!

Loading...