FS#73003 - [bbswitch] Missing dependency on `inetutils`

Attached to Project: Community Packages
Opened by Eldred Habert (ISSOtm) - Monday, 13 December 2021, 19:50 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`/usr/bin/vglrun` calls `hostname`, which is part of `inetutils`—but not in the dependency list.
This does not prevent the executable from running, but it looks like it might make a check pass incorrectly.
(Ideally the dependency would be removed, but I'm not sure how possible that is.)

Additional info:
* virtualgl 3.0-2

Steps to reproduce:
* `optirun true` with bumblebee, for example.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/bbswitch/issues/1
Comment by loqs (loqs) - Monday, 13 December 2021, 20:56 GMT
Please try the attached patch which replaces the use of `hostname` with `uname -n`.
Such a patch would have to be accepted by upstream, this patch just tests the feasibility of the approach.
Comment by Eldred Habert (ISSOtm) - Tuesday, 14 December 2021, 23:51 GMT
This patch seems to fix the issue for me, and doesn't appear to break anything either. Thanks!

Loading...