Opened 9 years ago

Closed 4 years ago

#48299 closed defect (fixed)

gnucash @2.6.7_0 build failure with quartz gtk

Reported by: mopihopi Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: gnucash

Description

gnucash @2.6.7_0 fails to build with quartz gtk. I am using OS X 10.10.4.

~$ sudo port clean gnucash
--->  Cleaning gnucash
~$ sudo port upgrade gnucash
--->  Computing dependencies for gnucash
--->  Fetching archive for gnucash
--->  Attempting to fetch gnucash-2.6.7_0+hbci+ofx.darwin_14.x86_64.tbz2 from http://packages.macports.org/gnucash
--->  Attempting to fetch gnucash-2.6.7_0+hbci+ofx.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnucash
--->  Attempting to fetch gnucash-2.6.7_0+hbci+ofx.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnucash
--->  Fetching distfiles for gnucash
--->  Verifying checksums for gnucash
--->  Extracting gnucash
--->  Applying patches to gnucash
--->  Configuring gnucash
--->  Building gnucash
Error: org.macports.build for port gnucash returned: command execution failed
Please see the log file for port gnucash for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
$ 

(from main.log)

:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..  -I../../src/core-utils -I../../src/gnc-module -I../../src/engine -I../../src/backend/xml -I../../src/app-utils -I../../src -I../../src -I../../lib/libc -I../../src/libqof/qof -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include   -D_THREAD_SAFE -I/opt/local/include/guile18 -I/opt/local/include  -I../../src/libqof/qof -I../../src/libqof/qof  -I/opt/local/include/libxml2 -DMAC_INTEGRATION -D_REENTRANT -I/opt/local/include/gtkmacintegration -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -xobjective-c -DG_LOG_DOMAIN=\"gnc.gui\" -I/opt/local/include  -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -pipe -Os -arch x86_64 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -c -o gnc-plugin-page.lo gnc-plugin-page.c
:info:build gnc-main-window.c:73:10: fatal error: 'gtkmacintegration-gtk2/gtkosxapplication.h' file not found
:info:build #include <gtkmacintegration-gtk2/gtkosxapplication.h>
:info:build          ^

The port gtk-osx-application-common-gtk2 @2.0.8_0 provides /opt/local/include/gtkmacintegration/gtkosxapplication.h, however gtkmacintegration-gtk2/gtkosxapplication.h does not exist.

Attachments (1)

gnucash-2.6.7_0.log (2.6 MB) - added by mopihopi 9 years ago.

Change History (5)

Changed 9 years ago by mopihopi

Attachment: gnucash-2.6.7_0.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: dports@… removed
Owner: changed from macports-tickets@… to dports@…

comment:2 Changed 9 years ago by g5pw (Aljaž Srebrnič)

The current version, gnucash 2.6.9, builds fine with quartz on my machine.

comment:3 Changed 5 years ago by jjstickel (Jonathan Stickel)

I think this can be closed in favor of #58730.

comment:4 Changed 4 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

gnucash +quartz builds fine now, so I'll close this old ticket.

Note: See TracTickets for help on using tickets.