Subject: pkg/33766: devel/bonobo fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: pkgsrc-bugs
Date: 06/19/2006 12:40:01
>Number:         33766
>Category:       pkg
>Synopsis:       devel/bonobo fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 19 12:40:01 +0000 2006
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 3.99.21, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 3.99.21 NetBSD 3.99.21 (BONNIE) #612: Mon Jun 19 17:44:52 JST 2006 ryoh@bonnie.jaist.ac.jp:/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
devel/bonobo fails to build as follows:

$ make
...
Making all in tests
gmake[2]: Entering directory `/usr/pkgsrc/devel/bonobo/work/bonobo-1.0.22/tests'
cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/pkg/share/locale"\" -I. -I.. -I. -I../bonobo -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/orbit-1.0 -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/xorg/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gnome-xml  -I/usr/pkg/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/xorg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/xorg/include  -O2 -pipe -I/usr/pkg/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/xorg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -Wunused  -c test-any.c
In file included from ../bonobo/bonobo-property-bag-client.h:16,
                 from ../bonobo/bonobo-control-frame.h:19,
                 from ../bonobo/bonobo-view-frame.h:15,
                 from ../bonobo/bonobo-client-site.h:31,
                 from ../bonobo.h:30,
                 from test-any.c:8:
../bonobo/bonobo-property-bag.h:122: warning: type qualifiers ignored on function return type
test-any.c:19: error: static declaration of 'TC_CORBA_sequence_CORBA_octet_struct' follows non-static declaration
../bonobo/Bonobo.h:381: error: previous declaration of 'TC_CORBA_sequence_CORBA_octet_struct' was here
gmake[2]: *** [test-any.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/devel/bonobo/work/bonobo-1.0.22/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/bonobo/work/bonobo-1.0.22'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/bonobo

gcc4 is used for compiling.
	
>How-To-Repeat:
	
>Fix: