Bug 254257 - sysutils/uefi-edk2-bhyve-csm: wrong (?) runtime dependency
Summary: sysutils/uefi-edk2-bhyve-csm: wrong (?) runtime dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rebecca Cran
URL:
Keywords: bhyve
Depends on:
Blocks:
 
Reported: 2021-03-13 16:34 UTC by Victor Sudakov
Modified: 2021-03-28 04:49 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (bcran)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2021-03-13 16:34:55 UTC
Why is gcc48-4.8.5_13 a runtime dependency of sysutils/uefi-edk2-bhyve-csm? Come on, they are just UEFI firmware images, why would they clutter the system with the gcc package?

How to reproduce:

# pkg info -d sysutils/uefi-edk2-bhyve-csm
uefi-edk2-bhyve-csm-0.2_2,1:
        gcc48-4.8.5_13
#
Comment 1 noah.bergbauer 2021-03-17 20:34:10 UTC
As of https://reviews.freebsd.org/D27230, sysutils/uefi-edk2-bhyve-csm now has a runtime dependency on gcc48 through "USE_GCC=4.8" when before it inherited the "USE_GCC=4.8:build" from sysutils/uefi-edk2-bhyve (i.e. a build dependency only). Given that the package builds just a floppy image, I think that adding this runtime dependency was unintentional.
Comment 2 Rebecca Cran freebsd_committer freebsd_triage 2021-03-17 20:45:51 UTC
Sorry, I forgot to comment here. I have a patch at https://reviews.freebsd.org/D29254 to fix it.
Comment 3 Rebecca Cran freebsd_committer freebsd_triage 2021-03-28 04:49:59 UTC
Fixed in https://reviews.freebsd.org/rP569373 .