[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
Tue Nov 1 05:08:03 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):

 Some other ports which I had installed turned out to depend on port **gtk-
 osx-application-common-gtk3**, so I ended up deactivating them all:

 {{{
 % sudo port deactivate gtk-osx-application-common-gtk3 gtk-osx-
 application-gtk3 goffice gspell darktable inkscape inkscape-app
 }}}

 With that, port **gnucash** happily built.

 So, it appears that port **gtk-osx-application-common-gtk3** appears to
 trigger a bug in port **gnucash**. How to proceed? I can think of a few
 ways:

 1. In the **gnucash** Portfile, mark **gtk-osx-application-common-gtk3**
 as a conflicting port.
 2. Figure out the nature of the interaction, and make **gnucash** can
 ignore **gtk-osx-application-common-gtk3**'s presence.
 3. Figure out that **gnucash** is better off with **gtk-osx-application-
 common-gtk3**, figure out how to make the include path be
 `-I/opt/local/include/gtkmacintegration-gtk3` so that `#include
 <gtkmacintegration/gtkosxapplication.h>` works, and add **gtk-osx-
 application-common-gtk3** as a dependency.
 4. Maybe something else which I have not thought of.

 Diagnosing this may require help from upstream.  I am on the mailing list
 already, so I'm willing to try.

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


More information about the macports-tickets mailing list