[MacPorts] #66119: gnucash @4.11_1: gnc-main-window.c:80:10: fatal error: 'gtkmacintegration/gtkosxapplication.h' file not found

MacPorts noreply at macports.org
Fri Nov 4 07:39:18 UTC 2022

#66119: gnucash @4.11_1: gnc-main-window.c:80:10: fatal error:
'gtkmacintegration/gtkosxapplication.h' file not found
  Reporter:  JDLH     |      Owner:  drkp
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.0
Resolution:           |   Keywords:
      Port:  gnucash  |

Comment (by JDLH):

 Thank you, Ken. I have gnucash 4.11 from upstream, as a prebuilt binary.
 It does not crash.

 There is evidence that upstream expects gnucash to compile on arm64.

 1. Their [macOS/Quarts build
 instructions](https://wiki.gnucash.org/wiki/MacOS/Quartz) say, "Apple
 Silicon is first supported in macOS 11. We have never successfully cross-
 compiled the Gtk stack so you'll probably need an Apple Silicon Mac to
 build an Apple Silicon native GnuCash. Note that as of October 2022
 WebKitGtk isn't able to find its loadable modules so that reports don't
 render in GnuCash." That would be a curious thing to say if they had never
 got GnuCash working at all when compiling on Apple Silicon.

 2. I am attempting to build gnucash from source, following their
 instructions. One of their developers is helping me in an [email thread
 "Various failures while building MacOS/Quartz from
 devel/2022-November/046373.html). I have not yet got the push-back, "don't
 try to build on arm64, we know it doesn't work".

 It looks like I will need to take up both this crash, and the issue of
 port **gtk-osx-application-common-gtk3** preventing port **gnucash** from
 building, with the friendly folks at Gnucash-devel. I think I will wait a
 bit to see if I can resolve my current thread of building from source
 first, so that I don't make their list, um, too multi-threaded.

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

More information about the macports-tickets mailing list