[MacPorts] #57360: gnucash upgrade fails w error: 'g_type_class_add_private' is deprecated

MacPorts noreply at macports.org
Fri Oct 12 21:43:56 UTC 2018


#57360: gnucash upgrade fails w error: 'g_type_class_add_private' is deprecated
-------------------------+---------------------
 Reporter:  Blokkendoos  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.4
 Keywords:               |       Port:  gnucash
-------------------------+---------------------
 Gnucash port upgrade fails with error:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.2/libgnucash/engine/Account.cpp:575:5:
 error: 'g_type_class_add_private' is deprecated [-Werror,-Wdeprecated-
 declarations]:info:build     g_type_class_add_private(klass,
 sizeof(AccountPrivate));
 :info:build     ^
 :info:build /opt/local/include/glib-2.0/gobject/gtype.h:1303:10: note:
 'g_type_class_add_private' has been explicitly marked deprecated here
 :info:build void     g_type_class_add_private       (gpointer
 g_class,
 :info:build          ^
 }}}

 Macports v2.5.4 on Mac OS X 10.10.5\\
 Full log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/57360>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list