Community Packages

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#73123 - [libguestfs] Remove excess dependencies

Attached to Project: Community Packages
Opened by janek (xeruf) - Thursday, 23 December 2021, 09:20 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 28 December 2021, 12:00 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Robin Broda (coderobe)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

Why the heck does libguestfs depend on GRUB, not to mention all those other mandatory dependencies?
The AUR versions seem just fine with a lot fewer dependencies, and some of these really make no sense...

I want to move from GRUB to rEFInd but still use this tool, this should not be any hindrance.
This task depends upon

Comment by shawn cresante (scres) - Friday, 18 March 2022, 21:59 GMT
vim also is an questionable dependency.
it would be better to change the dependency to vim-plugin-runtime for people who use neovim, if it's necessary at all.
Comment by Toolybird (Toolybird) - Monday, 11 July 2022, 06:06 GMT
(responding to dupe  FS#75288  here instead)

Unfortunately it's not quite as simple as that. libguestfs is kinda special in the way it constructs and uses an "appliance". The contents of the appliance are predetermined at libguestfs *build* time. I think vim is only included so that `virt-rescue' has an editor available in the rescue shell. So yeah, vim is not strictly necessary.

Anyway, it's not just vim. I think everyone agrees libguestfs pulls in way too many hard deps. You could always do what I do [1] and build your own package :) I'm trying to come up with a solution whereby folks can construct their own appliance (therefore choose their own deps) but I'm not there yet.

[1] https://gitlab.com/Toolybird/pkgbuilds/-/blob/main/libguestfs/PKGBUILD

Loading...