[MacPorts] #58730: gnucash @3.5 +quartz fails to build

MacPorts noreply at macports.org
Fri Jul 19 00:01:13 UTC 2019


#58730: gnucash @3.5 +quartz fails to build
------------------------+----------------------
  Reporter:  jjstickel  |      Owner:  drkp
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  gnucash    |
------------------------+----------------------

Comment (by jjstickel):

 I missed the offending line from the build:
 {{{
 :info:build /usr/bin/clang -Wno-error=deprecated-declarations -std=gnu11
 -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-
 sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -pipe
 -Os -DNDEBUG -isystem/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14 -dynamiclib -Wl,-headerpad_max_install_names
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -o ../../lib/gnucash/libgwengui-gtk3.dylib -install_name /opt/local/lib
 /libgwengui-gtk3.dylib CMakeFiles/gwengui-gtk3.dir/gtk3_gui_dialog.c.o
 CMakeFiles/gwengui-gtk3.dir/gtk3_gui.c.o
 -Wl,-rpath,/opt/local/lib:/opt/local/lib/gnucash -L/opt/local/lib
 -lgwenhywfar -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work
 -lgtk-3 -lgdk-3 -framework -lCocoa -lpangocairo-1.0 -lpango-1.0 -latk-1.0
 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
 -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation
 }}}
 So, `-framework -lCocoa` is being used. But I can't find how it is being
 populated. Using `grep -Ri cocoa` on the sources doesn't show much other
 than an old changelog that refers to the build process before cmake:
 https://lists.gnucash.org/pipermail/gnucash-changes/2013-May/012039.html .
 Where is `-framework -lCocoa` being pulled in from?

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


More information about the macports-tickets mailing list