Richard Schilling
2004-Feb-26 15:04 UTC
libbonobo install fails - due to bad ORBit output?
Trying to install /usr/ports/devel/libbonobo, and it fails on `make install'. Looks like the cause of the install error has to do with the code that is generated by orbit-idl-2: /usr/local/bin/orbit-idl-2 -I../idl "-D__Bonobo_GenericFactory_COMPILATION" --deps ./.deps/Bonobo_GenericFactory.idl.P ../idl/Bonobo_GenericFactory.idl On `make install' in the bonobo package, I get this error: (rm -f Bonobo_ActivationContext.h Bonobo_ActivationContext-stubs.c Bonobo_ActivationContext-skels.c Bonobo_ActivationContext-common.c Bonobo_ActivationContext-imodule.c Bonobo_ActivationContext-skelimpl.c || true) > /dev/null /usr/local/bin/orbit-idl-2 -I../idl "-D__Bonobo_ActivationContext_COMPILATION" --deps ./.deps/Bonobo_ActivationContext.idl.P ../idl/Bonobo_ActivationContext.idl orbit-idl-2 2.8.3 compiling And here is the last 50 lines of the install output (notice the syntax error in Bonobo_GenericFactory.h mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule source='Bonobo_Unknown-common.c' object='Bonobo_Unknown-common.lo' libtool=yes \ depfile='.deps/Bonobo_Unknown-common.Plo' tmpdepfile='.deps/Bonobo_Unknown-common.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\""/usr/local/libexec\"" -DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c -o Bonobo_Unknown-common.lo `test -f 'Bonobo_Unknown-common.c' || echo './'`Bonobo_Unknown-common.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_Unknown-common.c -Wp,-MD,.deps/Bonobo_Unknown-common.TPlo -fPIC -DPIC -o .libs/Bonobo_Unknown-common.o cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_Unknown-common.c -Wp,-MD,.deps/Bonobo_Unknown-common.TPlo -o Bonobo_Unknown-common.o >/dev/null 2>&1 echo "top_srcdir: .." top_srcdir: .. echo "IDL_DIR: ../idl/" IDL_DIR: ../idl/ echo "IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl" IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl (rm -f ../bonobo-activation/Bonobo_Unknown.h ../bonobo-activation/Bonobo_Unknown-stubs.c ../bonobo-activation/Bonobo_Unknown-skels.c ../bonobo-activation/Bonobo_Unknown-common.c ../bonobo-activation/Bonobo_Unknown-imodule.c ../bonobo-activation/Bonobo_Unknown-skelimpl.c || true) > /dev/null /usr/local/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Unknown_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Unknown.idl.P ../bonobo-activation/../idl/Bonobo_Unknown.idl :0: malformed option `-D __../bonobo-activation/Bonobo_Unknown_COMPILATION' orbit-idl-2 2.8.3 compiling mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule echo "top_srcdir: .." top_srcdir: .. echo "IDL_DIR: ../idl/" IDL_DIR: ../idl/ echo "IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl" IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl (rm -f ../bonobo-activation/Bonobo_Activation_types.h ../bonobo-activation/Bonobo_Activation_types-stubs.c ../bonobo-activation/Bonobo_Activation_types-skels.c ../bonobo-activation/Bonobo_Activation_types-common.c ../bonobo-activation/Bonobo_Activation_types-imodule.c ../bonobo-activation/Bonobo_Activation_types-skelimpl.c || true) > /dev/null /usr/local/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Activation_types_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Activation_types.idl.P ../bonobo-activation/../idl/Bonobo_Activation_types.idl :0: malformed option `-D __../bonobo-activation/Bonobo_Activation_types_COMPILATION' orbit-idl-2 2.8.3 compiling mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule source='Bonobo_GenericFactory-common.c' object='Bonobo_GenericFactory-common.lo' libtool=yes \ depfile='.deps/Bonobo_GenericFactory-common.Plo' tmpdepfile='.deps/Bonobo_GenericFactory-common.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\""/usr/local/libexec\"" -DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c -o Bonobo_GenericFactory-common.lo `test -f 'Bonobo_GenericFactory-common.c' || echo './'`Bonobo_GenericFactory-common.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_GenericFactory-common.c -Wp,-MD,.deps/Bonobo_GenericFactory-common.TPlo -fPIC -DPIC -o .libs/Bonobo_GenericFactory-common.o In file included from Bonobo_GenericFactory-common.c:9: Bonobo_GenericFactory.h:108: syntax error before `POA_Bonobo_Unknown__epv' gmake[2]: *** [Bonobo_GenericFactory-common.lo] Error 1 gmake[2]: Leaving directory `/bugs/ports/devel/libbonobo/work/libbonobo-2.4.3/bonobo-activation' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/bugs/ports/devel/libbonobo/work/libbonobo-2.4.3/bonobo-activation' gmake: *** [install-recursive] Error 1 *** Error code 2 Stop in /bugs/ports/devel/libbonobo. Any one have a clue as to why the code OBRit generates code causes this error? To make things worse, I don't see any problem with the code itself: /* * This file was generated by orbit-idl-2 - DO NOT EDIT! */ /** code omitted for brevity **/ /** Line 108, where the syntax error occurs, is marked below **/ /** POA structures **/ #ifndef _defined_POA_Bonobo_GenericFactory #define _defined_POA_Bonobo_GenericFactory 1 typedef struct { void *_private; CORBA_Object (*createObject)(PortableServer_Servant _servant, const CORBA_char * iid, CORBA_Environment *ev); } POA_Bonobo_GenericFactory__epv; typedef struct { PortableServer_ServantBase__epv *_base_epv; /** LINE 108 **/ POA_Bonobo_Unknown__epv *Bonobo_Unknown_epv; POA_Bonobo_GenericFactory__epv *Bonobo_GenericFactory_epv; } POA_Bonobo_GenericFactory__vepv; typedef struct { void *_private; POA_Bonobo_GenericFactory__vepv *vepv; } POA_Bonobo_GenericFactory; extern void POA_Bonobo_GenericFactory__init(PortableServer_Servant servant, CORBA_Environment *ev); extern void POA_Bonobo_GenericFactory__fini(PortableServer_Servant servant, CORBA_Environment *ev); #endif /* _defined_POA_Bonobo_GenericFactory */ Richard Schilling
Joe Marcus Clarke
2004-Feb-26 15:27 UTC
libbonobo install fails - due to bad ORBit output?
On Thu, 2004-02-26 at 17:55, Richard Schilling wrote:> Trying to install /usr/ports/devel/libbonobo, and it fails on `make > install'. > > Looks like the cause of the install error has to do with the code that is > generated by orbit-idl-2: > > /usr/local/bin/orbit-idl-2 -I../idl "-D__Bonobo_GenericFactory_COMPILATION" --deps ./.deps/Bonobo_GenericFactory.idl.P ../idl/Bonobo_GenericFactory.idl > > > On `make install' in the bonobo package, I get this error: > > (rm -f Bonobo_ActivationContext.h Bonobo_ActivationContext-stubs.c Bonobo_ActivationContext-skels.c Bonobo_ActivationContext-common.c Bonobo_ActivationContext-imodule.c Bonobo_ActivationContext-skelimpl.c || true) > /dev/null > /usr/local/bin/orbit-idl-2 -I../idl "-D__Bonobo_ActivationContext_COMPILATION" --deps ./.deps/Bonobo_ActivationContext.idl.P ../idl/Bonobo_ActivationContext.idl > orbit-idl-2 2.8.3 compiling > > And here is the last 50 lines of the install output (notice the syntax > error in Bonobo_GenericFactory.h > > > mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule > > source='Bonobo_Unknown-common.c' object='Bonobo_Unknown-common.lo' libtool=yes \ > depfile='.deps/Bonobo_Unknown-common.Plo' tmpdepfile='.deps/Bonobo_Unknown-common.TPlo' \ > depmode=gcc /bin/sh ../depcomp \ > /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\""/usr/local/libexec\"" -DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c -o Bonobo_Unknown-common.lo `test -f 'Bonobo_Unknown-common.c' || echo './'`Bonobo_Unknown-common.c > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_Unknown-common.c -Wp,-MD,.deps/Bonobo_Unknown-common.TPlo -fPIC -DPIC -o .libs/Bonobo_Unknown-common.o > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_Unknown-common.c -Wp,-MD,.deps/Bonobo_Unknown-common.TPlo -o Bonobo_Unknown-common.o >/dev/null 2>&1 > echo "top_srcdir: .." > top_srcdir: .. > echo "IDL_DIR: ../idl/" > IDL_DIR: ../idl/ > echo "IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl" > IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl > (rm -f ../bonobo-activation/Bonobo_Unknown.h ../bonobo-activation/Bonobo_Unknown-stubs.c ../bonobo-activation/Bonobo_Unknown-skels.c ../bonobo-activation/Bonobo_Unknown-common.c ../bonobo-activation/Bonobo_Unknown-imodule.c ../bonobo-activation/Bonobo_Unknown-skelimpl.c || true) > /dev/null > /usr/local/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Unknown_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Unknown.idl.P ../bonobo-activation/../idl/Bonobo_Unknown.idl > :0: malformed option `-D __../bonobo-activation/Bonobo_Unknown_COMPILATION' > orbit-idl-2 2.8.3 compiling > mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule > > echo "top_srcdir: .." > top_srcdir: .. > echo "IDL_DIR: ../idl/" > IDL_DIR: ../idl/ > echo "IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl" > IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl > (rm -f ../bonobo-activation/Bonobo_Activation_types.h ../bonobo-activation/Bonobo_Activation_types-stubs.c ../bonobo-activation/Bonobo_Activation_types-skels.c ../bonobo-activation/Bonobo_Activation_types-common.c ../bonobo-activation/Bonobo_Activation_types-imodule.c ../bonobo-activation/Bonobo_Activation_types-skelimpl.c || true) > /dev/null > /usr/local/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Activation_types_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Activation_types.idl.P ../bonobo-activation/../idl/Bonobo_Activation_types.idl > :0: malformed option `-D __../bonobo-activation/Bonobo_Activation_types_COMPILATION' > orbit-idl-2 2.8.3 compiling > mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule > > source='Bonobo_GenericFactory-common.c' object='Bonobo_GenericFactory-common.lo' libtool=yes \ > depfile='.deps/Bonobo_GenericFactory-common.Plo' tmpdepfile='.deps/Bonobo_GenericFactory-common.TPlo' \ > depmode=gcc /bin/sh ../depcomp \ > /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\""/usr/local/libexec\"" -DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c -o Bonobo_GenericFactory-common.lo `test -f 'Bonobo_GenericFactory-common.c' || echo './'`Bonobo_GenericFactory-common.c > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/usr/local/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -I/usr/local/include -O -pipe -c Bonobo_GenericFactory-common.c -Wp,-MD,.deps/Bonobo_GenericFactory-common.TPlo -fPIC -DPIC -o .libs/Bonobo_GenericFactory-common.o > In file included from Bonobo_GenericFactory-common.c:9: > Bonobo_GenericFactory.h:108: syntax error before `POA_Bonobo_Unknown__epv' > gmake[2]: *** [Bonobo_GenericFactory-common.lo] Error 1 > gmake[2]: Leaving directory `/bugs/ports/devel/libbonobo/work/libbonobo-2.4.3/bonobo-activation' > gmake[1]: *** [install] Error 2 > gmake[1]: Leaving directory `/bugs/ports/devel/libbonobo/work/libbonobo-2.4.3/bonobo-activation' > gmake: *** [install-recursive] Error 1 > *** Error code 2 > > Stop in /bugs/ports/devel/libbonobo. > > > > Any one have a clue as to why the code OBRit generates code causes this > error? > > To make things worse, I don't see any problem with the code itself: > > /* > * This file was generated by orbit-idl-2 - DO NOT EDIT! > */ > > /** code omitted for brevity **/ > /** Line 108, where the syntax error occurs, is marked below **/ > > /** POA structures **/ > #ifndef _defined_POA_Bonobo_GenericFactory > #define _defined_POA_Bonobo_GenericFactory 1 > typedef struct { > void *_private; > CORBA_Object (*createObject)(PortableServer_Servant _servant, const CORBA_char * iid, CORBA_Environment *ev); > } POA_Bonobo_GenericFactory__epv; > typedef struct { > PortableServer_ServantBase__epv *_base_epv; > > > > /** LINE 108 **/ POA_Bonobo_Unknown__epv *Bonobo_Unknown_epv; > > > > POA_Bonobo_GenericFactory__epv *Bonobo_GenericFactory_epv; > } POA_Bonobo_GenericFactory__vepv; > typedef struct { > void *_private; > POA_Bonobo_GenericFactory__vepv *vepv; > } POA_Bonobo_GenericFactory; > extern void POA_Bonobo_GenericFactory__init(PortableServer_Servant servant, CORBA_Environment *ev); > extern void POA_Bonobo_GenericFactory__fini(PortableServer_Servant servant, CORBA_Environment *ev); > #endif /* _defined_POA_Bonobo_GenericFactory */This works fine for me on -STABLE from the 8th of this month. I recommend you reinstall ORBit2 and libIDL, then do a make clean in libbonobo, and try to build again. Joe> > > > > Richard Schilling > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"-- PGP Key : http://www.marcuscom.com/pgp.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040226/5c6a3fcc/attachment.bin
Richard Schilling
2004-Feb-26 17:08 UTC
libbonobo install fails - due to bad ORBit output?
On Thu, 26 Feb 2004 Joe wrote:> > #endif /* _defined_POA_Bonobo_GenericFactory */ > > This works fine for me on -STABLE from the 8th of this month. I > recommend you reinstall ORBit2 and libIDL, then do a make clean in > libbonobo, and try to build again.Gave this a try - no dice. Using libIDL-0.8.3_1. Here's my uname -a: FreeBSD foghorn.rsmba.biz 4.9-STABLE FreeBSD 4.9-STABLE #2: Mon Feb 23 02:05:31 PST 2004 rschi@rsmba.biz:/usr/obj/usr/src/sys/DEVELOPMENT i386 Richard> > Joe > > >=20 > >=20 > >=20 > >=20 > > Richard Schilling > >=20 > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 > PGP Key : http://www.marcuscom.com/pgp.asc > > --=-SbLvPS4p+7XL9/OpvsgF > Content-Type: application/pgp-signature; name=signature.asc > Content-Description: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (FreeBSD) > > iD8DBQBAPn/Ob2iPiv4Uz4cRAnsTAKCFuqFBjssg9zDBk9ZpyAtwagVQdQCeKuRD > 0UOhGrbAGnDnm4bJ+jpHBIQ> =FkBg > -----END PGP SIGNATURE----- > > --=-SbLvPS4p+7XL9/OpvsgF-- > > >
Richard Schilling
2004-Feb-26 17:15 UTC
libbonobo install fails - due to bad ORBit output?
Joe Wrote:> I recommend you reinstall ORBit2 and libIDL . . . then try to buildagain. O.K. Gave that a try. Did a make clean on ORBit2, libIDL, and libbonobo, and still no dice. Anything else I can try? I'm still not sure what the syntax error is trying to tell me. The code looks fine. Here's my uname -a output: FreeBSD foghorn.rsmba.biz 4.9-STABLE FreeBSD 4.9-STABLE #2: Mon Feb 23 02:05:31 PST 2004 rschirsmba.biz:/usr/obj/usr/src/sys/DEVELOPMENT i386 Richard