[MacPorts] #66476: gtk3 @3.24.34_2 build fail on Mojave gdkapplaunchcontext-x11.c:30:10: fatal error: 'gio/gdesktopappinfo.h' file not found when glib2 is installed for +quartz

MacPorts noreply at macports.org
Sat Dec 17 17:42:01 UTC 2022


#66476: gtk3 @3.24.34_2  build fail on Mojave gdkapplaunchcontext-x11.c:30:10:
fatal error: 'gio/gdesktopappinfo.h' file not found when glib2 is installed
for +quartz
-----------------------+----------------------
  Reporter:  chillin-  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  Mojave
      Port:  gtk3      |
-----------------------+----------------------

Comment (by chillin-):

 Replying to [comment:7 kencu]:
 > OK -- when you do get around to xorg-server, and you install dbus, don't
 forget to enable dbus:

 Going over this again... On the Mountain Lion system I tried to build
 xorg-server as soon as xorg finished building, but it complained,

 {{{
 Error: xorg-server is known to fail (use --allow-failing to try to install
 anyway)
 }}}

 but I did it anyway with -y and got a message that led me to believe
 everything was fine, that xorg and xorg-server were mutually exclusive:

 {{{
 $ port -vsNy install --allow-failing xorg-server
 --->  Computing dependencies for xorg-server.
 Error: Can't install xorg-server because conflicting ports are active:
 xorg-server-legacy
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port xorg-server failed
 }}}

 And I forgot all about this when I tried again on Mojave. IOW I never got
 around to xorg-server, and I never installed dbus, but dbus @1.14.4_0 just
 happened to be installed on Mountain Lion, and both dbus @1.14.4_0 and
 dbus-glib @0.112_0 happened to be installed on Mojave.

 So now I want to ask, 1) when you suggested I install "xorg-desktop," just
 what did you mean, exactly?
 and 2) I didn't install xorg-server due what may be my mistaken beliefs
 due to the message about xorg-server-legacy that I got on Mountain Lion
 (but checking now I don't get that complaint on Mojave)...
 ''you want I should install xorg-server?!''

-- 
Ticket URL: <https://trac.macports.org/ticket/66476#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list