[MacPorts] #16798: gnumeric fails to build on Leopard

MacPorts noreply at macports.org
Wed Oct 8 23:06:09 PDT 2008


#16798: gnumeric fails to build on Leopard
-------------------------------------+--------------------------------------
  Reporter:  mvanier at cs.caltech.edu  |       Owner:  macports-tickets at 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 at 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


More information about the macports-tickets mailing list