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

MacPorts noreply at macports.org
Fri Dec 16 17:29:32 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
-----------------------+--------------------
  Reporter:  chillin-  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  Mojave
      Port:  gtk3      |
-----------------------+--------------------

Comment (by mascguy):

 Replying to [comment:13 kencu]:
 > well, we’re getting closer to sorting you out. Now we know it builds
 fine, and the error is somewhere on your system.
 >
 > {{{
 > gdkapplaunchcontext-x11.c:30:10: fatal error: 'gio/gdesktopappinfo.h'
 file not found
 > }}}
 >
 > what version of glib2 have you got installed, x11 or quartz?

 Ken's spot-on with respect to the underlying cause: You have glib2
 installed for quartz, but other dependencies are being built for x11. So
 you need to be consistent, and install everything with +quartz.

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


More information about the macports-tickets mailing list