[MacPorts] #16798: gnumeric fails to build on Leopard
#16798: gnumeric fails to build on Leopard ------------------------------------+--------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gnumeric | Port: ------------------------------------+--------------------------------------- I've managed to compile all the dependencies of gnumeric, but the gnumeric compile itself fails: [...lots of output omitted...] mkdir .libs /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DGNUMERIC_DATADIR=\"/opt/local/share/gnumeric/1.9.0\" -I../.. -I../../src -I../../src/tools -DGNUMERIC_INTERNAL -DXTHREADS -D_REENTRANT -DORBIT2=1 -I/opt/local/include/libgoffice-0.6 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libgsf-1 -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo- activation-2.0 -I/opt/local/include/gail-1.0 -I/opt/local/include -O2 -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested- externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -MT dao-gui-utils.lo -MD -MP -MF .deps/dao-gui-utils.Tpo -c dao-gui-utils.c -fno-common -DPIC -o .libs /dao-gui-utils.o In file included from dao-gui-utils.h:35, from dao-gui-utils.c:30: tool-dialogs.h:63: error: syntax error before 'GtkSignalFunc' tool-dialogs.h:66: warning: function declaration isn't a prototype dao-gui-utils.c:86: error: syntax error before 'GtkSignalFunc' dao-gui-utils.c: In function 'dialog_tool_init_outputs': dao-gui-utils.c:87: error: number of arguments doesn't match prototype dao-gui-utils.h:42: error: prototype declaration dao-gui-utils.c:90: error: 'state' undeclared (first use in this function) dao-gui-utils.c:90: error: (Each undeclared identifier is reported only once dao-gui-utils.c:90: error: for each function it appears in.) dao-gui-utils.c:101: error: 'sensitivity_cb' undeclared (first use in this function) make[4]: *** [dao-gui-utils.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/16798> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Changes (by jmr@macports.org): * port: => gnumeric Old description:
I've managed to compile all the dependencies of gnumeric, but the gnumeric compile itself fails:
[...lots of output omitted...]
mkdir .libs /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DGNUMERIC_DATADIR=\"/opt/local/share/gnumeric/1.9.0\" -I../.. -I../../src -I../../src/tools -DGNUMERIC_INTERNAL -DXTHREADS -D_REENTRANT -DORBIT2=1 -I/opt/local/include/libgoffice-0.6 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libgsf-1 -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome- vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/gail-1.0 -I/opt/local/include -O2 -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested- externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -MT dao-gui-utils.lo -MD -MP -MF .deps/dao-gui-utils.Tpo -c dao-gui-utils.c -fno-common -DPIC -o .libs /dao-gui-utils.o In file included from dao-gui-utils.h:35, from dao-gui-utils.c:30: tool-dialogs.h:63: error: syntax error before 'GtkSignalFunc' tool-dialogs.h:66: warning: function declaration isn't a prototype dao-gui-utils.c:86: error: syntax error before 'GtkSignalFunc' dao-gui-utils.c: In function 'dialog_tool_init_outputs': dao-gui-utils.c:87: error: number of arguments doesn't match prototype dao-gui-utils.h:42: error: prototype declaration dao-gui-utils.c:90: error: 'state' undeclared (first use in this function) dao-gui-utils.c:90: error: (Each undeclared identifier is reported only once dao-gui-utils.c:90: error: for each function it appears in.) dao-gui-utils.c:101: error: 'sensitivity_cb' undeclared (first use in this function) make[4]: *** [dao-gui-utils.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
New description: I've managed to compile all the dependencies of gnumeric, but the gnumeric compile itself fails: {{{ [...lots of output omitted...] mkdir .libs /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DGNUMERIC_DATADIR=\"/opt/local/share/gnumeric/1.9.0\" -I../.. -I../../src -I../../src/tools -DGNUMERIC_INTERNAL -DXTHREADS -D_REENTRANT -DORBIT2=1 -I/opt/local/include/libgoffice-0.6 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libgsf-1 -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo- activation-2.0 -I/opt/local/include/gail-1.0 -I/opt/local/include -O2 -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested- externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -MT dao-gui-utils.lo -MD -MP -MF .deps/dao-gui-utils.Tpo -c dao-gui-utils.c -fno-common -DPIC -o .libs /dao-gui-utils.o In file included from dao-gui-utils.h:35, from dao-gui-utils.c:30: tool-dialogs.h:63: error: syntax error before 'GtkSignalFunc' tool-dialogs.h:66: warning: function declaration isn't a prototype dao-gui-utils.c:86: error: syntax error before 'GtkSignalFunc' dao-gui-utils.c: In function 'dialog_tool_init_outputs': dao-gui-utils.c:87: error: number of arguments doesn't match prototype dao-gui-utils.h:42: error: prototype declaration dao-gui-utils.c:90: error: 'state' undeclared (first use in this function) dao-gui-utils.c:90: error: (Each undeclared identifier is reported only once dao-gui-utils.c:90: error: for each function it appears in.) dao-gui-utils.c:101: error: 'sensitivity_cb' undeclared (first use in this function) make[4]: *** [dao-gui-utils.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Comment(by vakuumfluktuation@quantentunnel.de): I get the exact same error under Tiger 10.4.11, XCode 2.5 and MacPorts 1.6.0 ... Any idea? -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Comment(by cfertig@uga.edu): Same problem on Leopard 10.5.5, XCode 3.1, and MacPorts 1.6.0. -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Comment(by frig.neutron@gmail.com): Replying to [comment:2 vakuumfluktuation@…]:
I get the exact same error under Tiger 10.4.11, XCode 2.5 and MacPorts 1.6.0 ...
Any idea?
No idea thus far. Same issue. -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@cs.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Comment(by macports@henrik.synth.no): Same here (I use MacPorts from SVN). -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard ------------------------------------+--------------------------------------- Reporter: mvanier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gnumeric | Port: gnumeric ------------------------------------+--------------------------------------- Comment(by mike@…): Gnumeric 1.9.0 uses deprecated GTK2 symbols. However, src/dialogs/Makefile defines CFLAGS such that GTK_DISABLE_DEPRECATED is defined. This definition needs to be removed or we will have to wait until gnumeric is updated to avoid deprecated symbols. This is also an issue in src/widgets/Makefile and src/Makefile. In addition, there is a #warning in widget-font-selector.c that causes compilation to fail. All of these are really upstream issues, but they could be temporarily addressed in the Portfile. -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard ------------------------------------+--------------------------------------- Reporter: mvanier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gnumeric | Port: gnumeric ------------------------------------+--------------------------------------- Comment(by mike@…): It looks like releases of gnumeric newer than 1.9.0 require goffice 0.8.0+, which is not yet available in Macports. -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard ------------------------------------+--------------------------------------- Reporter: mvanier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gnumeric | Port: gnumeric ------------------------------------+--------------------------------------- Comment(by vakuumfluktuation@…): Replying to [comment:12 mike@…]:
All of these are really upstream issues, but they could be temporarily addressed in the Portfile.
Could you post an adjusted Portfile, incorporating these temporarily fixes? I'm not quite sure how to do it myself... Thanks! -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * resolution: => fixed Comment: Fixed in r45710 (by switching back to the stable branch). -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16798: gnumeric fails to build on Leopard -------------------------------------+-------------------------------------- Reporter: mvanier@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: gnumeric Port: gnumeric | -------------------------------------+-------------------------------------- Comment(by mike@…): I was able to build gnumeric 1.9.4 on MacPorts 7.1 / Mac OS X 10.4.11. In order to do this, I had to manually build goffice 0.7.4. It seems that newer versions of gnumeric fix the deprecated symbols issue that caused this problem in the first place. -- Ticket URL: <http://trac.macports.org/ticket/16798#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts