[MacPorts] #71597: glib2 @2.78.4_1+x11: fatal error: 'dbus/dbus.h' file not found (was: glib2 @2.78.4_1+x11 failed to build)
MacPorts
noreply at macports.org
Fri Dec 20 15:16:48 UTC 2024
#71597: glib2 @2.78.4_1+x11: fatal error: 'dbus/dbus.h' file not found
-------------------------------+----------------------
Reporter: InformationOcean | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: glib2 |
-------------------------------+----------------------
Comment (by ryandesign):
Hmm, the error in the log is:
{{{
../glib-2.78.4/gio/tests/gdbus-serialization.c:30:10: fatal error:
'dbus/dbus.h' file not found
30 | #include <dbus/dbus.h>
| ^~~~~~~~~~~~~
1 error generated.
}}}
glib2 does not list dbus as a dependency. Does `sudo port clean glib2 &&
sudo port install dbus` fix the problem?
Or is dbus already installed? I see the log also says:
{{{
Run-time dependency dbus-1 found: YES 1.14.4
}}}
If you have the dbus port version 1.14.4 installed, that's outdated; the
version currently available is 1.14.10.
--
Ticket URL: <https://trac.macports.org/ticket/71597#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list