Subject: pkg/28349: devel/gal2 doesn't build (parse error before ']' token)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 11/18/2004 18:33:00
>Number: 28349
>Category: pkg
>Synopsis: devel/gal2 doesn't build (parse error before ']' token)
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 18 18:33:00 +0000 2004
>Originator: Michael Wolfson
>Release: 2.0RC5
>Organization:
>Environment:
NetBSD gizmobook 2.0_RC5 NetBSD 2.0_RC5 (GIZMOBOOK) #4: Tue Nov 16 19:17:22 PST 2004 mw@gizmobook:/usr/src/src-2-0/sys/arch/macppc/compile/GIZMOBOOK macppc
>Description:
When building it fails as follows:
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gal -DXTHREADS -DORBIT2=1 -pthread -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libgnomeprint-2.2 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libart-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/glib/glib-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/lib/glib-2.0/include -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libxml2 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/pango-1.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libgnomeprintui-2.2 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libgnomecanvas-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/freetype2 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/gtk-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/lib/gtk-2.0/include -I/usr/src/pkgsrc/devel/gal2/work/.x11-buildlink/include -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/atk-1.0 -I/usr/src/pkgsrc
/devel/gal2/work/.buildlink/include/libglade-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libgnomeui-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libgnome-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/gconf/2 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libbonoboui-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/orbit-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/libbonobo-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/gnome-vfs-2.0 -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/lib/gnome-vfs-2.0/include -I/usr/src/pkgsrc/devel/gal2/work/.buildlink/include/bonobo-activation-2.0 -DETABLE_GLADEDIR=\"/usr/pkg/share/gal-2.2/2.2.3/glade\" -DG_LOG_DOMAIN=\"e-table\" -O2 -pthread -Wall -Wmissing-prototypes -D_REENTRANT -c e-tree-memory-callbacks.c -MT e-tree-memory-callbacks.lo -MD -MP -MF .deps/e-tree-memory-callbacks.TPlo -fPIC -DPIC -o .libs/e-tree-memory-callbacks.o
e-tree-memory-callbacks.c:74: error: parse error before ']' token
e-tree-memory-callbacks.c: In function `e_tree_memory_callbacks_class_init':
e-tree-memory-callbacks.c:187: error: `etmc_has_get_node_by_id' undeclared (first use in this function)
e-tree-memory-callbacks.c:187: error: (Each undeclared identifier is reported on
ly once
e-tree-memory-callbacks.c:187: error: for each function it appears in.)
gmake[3]: *** [e-tree-memory-callbacks.lo] Error 1
gmake[3]: Leaving directory `/usr/src/pkgsrc/devel/gal2/work/gal-2.2.3/gal/e-table'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/pkgsrc/devel/gal2/work/gal-2.2.3/gal'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/pkgsrc/devel/gal2/work/gal-2.2.3'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/src/pkgsrc/devel/gal2
*** Error code 1
>How-To-Repeat:
cd devel/gal2;make
>Fix: