New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16798 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

gnumeric fails to build on Leopard

Reported by: mvanier@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gnumeric Cc: vakuumfluktuation@…, cfertig@…, macsforever2000@…, macports@…, dhelder@…, mike@…, jmr@…
Port: gnumeric

Description (last modified by jmr@…) (diff)

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.

Change History

  Changed 3 years ago by jmr@…

  • port set to gnumeric
  • description modified (diff)

in reply to: ↑ description ; follow-up: ↓ 6   Changed 3 years ago by vakuumfluktuation@…

I get the exact same error under Tiger 10.4.11, XCode 2.5 and MacPorts 1.6.0 ...

Any idea?

  Changed 3 years ago by vakuumfluktuation@…

  • cc vakuumfluktuation@… added

Cc Me!

  Changed 3 years ago by cfertig@…

Same problem on Leopard 10.5.5, XCode 3.1, and MacPorts 1.6.0.

  Changed 3 years ago by cfertig@…

  • cc cfertig@… added

Cc Me!

in reply to: ↑ 2   Changed 3 years ago by frig.neutron@…

Replying to 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.

  Changed 3 years ago by macsforever2000@…

  • cc macsforever2000@… added

Cc Me!

  Changed 3 years ago by macports@…

Same here (I use MacPorts from SVN).

  Changed 3 years ago by macports@…

  • cc macports@… added

Cc Me!

  Changed 3 years ago by dhelder@…

  • cc dhelder@… added

Cc Me!

  Changed 3 years ago by mike@…

  • cc mike@… added

Cc Me!

follow-up: ↓ 14   Changed 3 years ago 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.

  Changed 3 years ago 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.

in reply to: ↑ 12   Changed 3 years ago by vakuumfluktuation@…

Replying to 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!

  Changed 3 years ago by jmr@…

  • cc jmr@… added
  • status changed from new to closed
  • resolution set to fixed

Fixed in r45710 (by switching back to the stable branch).

  Changed 3 years ago 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.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.