[MacPorts] #71227: libvirt-glib @5.0.0: error: #error You need at least GCC v4.8 to compile QEMU (was: libvirt-glib does not build with Xcode gcc)
MacPorts
noreply at macports.org
Sun Nov 3 06:41:53 UTC 2024
#71227: libvirt-glib @5.0.0: error: #error You need at least GCC v4.8 to compile
QEMU
---------------------------+-----------------------------------------
Reporter: barracuda156 | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords: tiger, leopard, snowleopard
Port: libvirt-glib |
---------------------------+-----------------------------------------
Comment (by ryandesign):
Replying to [ticket:71227 barracuda156]:
> Not sure why it refers to Qemu
You could file a bug report with the developers about the erroneous
product name in the error message:
https://gitlab.com/libvirt/libvirt-glib/-/issues
> Xcode gcc cannot build it anymore:
>
> {{{
> ./config.h:19:4: error: #error You need at least GCC v4.8 to compile
QEMU
> }}}
Yes, enforcement of gcc 4.8 or later or clang 3.4 or later or Apple clang
5.1 or later was [https://gitlab.com/libvirt/libvirt-
glib/-/commit/da6ff957f8ed1a66977ea603480b0bf82bfaca0f added in version
5.0.0]. `compiler.blacklist` should be set accordingly.
--
Ticket URL: <https://trac.macports.org/ticket/71227#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list