Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104062 - unable to emerge libbonobo, gives parse error. Is it a problem with ORBit2?
Summary: unable to emerge libbonobo, gives parse error. Is it a problem with ORBit2?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 13:14 UTC by Paul
Modified: 2005-09-11 19:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2005-08-28 13:14:13 UTC
I am under an AMD64 system.  I haven't been able to install firefox, gaim, or 
thunderbird because libbonobo won't compile.  I notice that bonobo-activation 
has been masked.

Here are things I've tried and didn't work:
re-emerging orbit2 indent 
set MAKOPTS='-j1'

If you need more info, just ask!

Reproducible: Always
Steps to Reproduce:
1. emerge libbonobo
2.
3.

Actual Results:  
<command line>:2:3: warning: ISO C requires whitespace after the macro name
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I.. -I.. -DPREFIX=\""/usr\"" -DSERVER_LIBEXECDIR=\""/usr/libexec\"" -
DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -I/usr/
include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -
DVERSION=\"2.10.1\" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo-Activation\"  
   -O2 -march=k8 -pipe -MT Bonobo_GenericFactory-common.lo -MD -MP -MF ".deps/
Bonobo_GenericFactory-common.Tpo" \
  -c -o Bonobo_GenericFactory-common.lo `test -f 'Bonobo_GenericFactory-common.
c' || echo './'`Bonobo_GenericFactory-common.c; \
  then mv -f ".deps/Bonobo_GenericFactory-common.Tpo" ".deps/
Bonobo_GenericFactory-common.Plo"; \
  else rm -f ".deps/Bonobo_GenericFactory-common.Tpo"; exit 1; \
  fi
   x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DPREFIX=\"/
usr\" -DSERVER_LIBEXECDIR=\"/usr/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/
share/locale\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-
2.0 -I/usr/lib64/glib-2.0/include -DVERSION=\"2.10.1\" -DG_DISABLE_DEPRECATED -
DG_LOG_DOMAIN=\"Bonobo-Activation\" -O2 -march=k8 -pipe -MT 
Bonobo_GenericFactory-common.lo -MD -MP -MF .deps/Bonobo_GenericFactory-common.
Tpo -c Bonobo_GenericFactory-common.c  -fPIC -DPIC -o .libs/
Bonobo_GenericFactory-common.o
   In file included from Bonobo_GenericFactory-common.c:9:
   Bonobo_GenericFactory.h:108: error: parse error before 
"POA_Bonobo_Unknown__epv"
   Bonobo_GenericFactory.h:108: warning: no semicolon at end of struct or union
   Bonobo_GenericFactory.h:110: error: parse error before '}' token
   Bonobo_GenericFactory.h:110: warning: data definition has no type or storage 
class
   Bonobo_GenericFactory.h:113: error: parse error before 
"POA_Bonobo_GenericFactory__vepv"
   Bonobo_GenericFactory.h:113: warning: no semicolon at end of struct or union
   Bonobo_GenericFactory.h:114: warning: data definition has no type or storage 
class
   Bonobo_GenericFactory.h:120: error: parse error before '*' token
   Bonobo_GenericFactory.h:120: error: parse error before ')' token
   Bonobo_GenericFactory-common.c:14: error: parse error before '*' token
   Bonobo_GenericFactory-common.c:15: error: parse error before ')' token
   make[2]: *** [Bonobo_GenericFactory-common.lo] Error 1
   make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.10.1/work/libbonobo-
2.10.1/bonobo-activation'
   make[1]: *** [install] Error 2
   make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.10.1/work/libbonobo-
2.10.1/bonobo-activation'
   make: *** [install-recursive] Error 1

Expected Results:  
Expected to finish the compilation.

I looked at the source and it looked fine to me...
/*
 * This file was generated by orbit-idl-2 - DO NOT EDIT!
 */

#ifndef Bonobo_GenericFactory_H
#define Bonobo_GenericFactory_H 1
#include <glib.h>
#define ORBIT_IDL_SERIAL 20
#include <orbit/orbit-types.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/** typedefs **/
#include <bonobo-activation/Bonobo_Unknown.h>
#include <bonobo-activation/Bonobo_Activation_types.h>
#if !defined(ORBIT_DECL_Bonobo_GenericFactory) && !
defined(_Bonobo_GenericFactory_defined)
#define ORBIT_DECL_Bonobo_GenericFactory 1
#define _Bonobo_GenericFactory_defined 1
#define Bonobo_GenericFactory__freekids CORBA_Object__freekids
typedef CORBA_Object Bonobo_GenericFactory;
extern CORBA_unsigned_long Bonobo_GenericFactory__classid;
#if !defined(TC_IMPL_TC_Bonobo_GenericFactory_0)
#define TC_IMPL_TC_Bonobo_GenericFactory_0 'B'
#define TC_IMPL_TC_Bonobo_GenericFactory_1 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_2 'n'
#define TC_IMPL_TC_Bonobo_GenericFactory_3 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_4 'b'
#define TC_IMPL_TC_Bonobo_GenericFactory_5 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_6 '_'
#define TC_IMPL_TC_Bonobo_GenericFactory_7 'G'
#define TC_IMPL_TC_Bonobo_GenericFactory_8 'e'
#define TC_IMPL_TC_Bonobo_GenericFactory_9 'n'
#define TC_IMPL_TC_Bonobo_GenericFactory_10 'e'
#define TC_IMPL_TC_Bonobo_GenericFactory_11 'r'
#define TC_IMPL_TC_Bonobo_GenericFactory_12 'i'
#define TC_IMPL_TC_Bonobo_GenericFactory_13 'c'
#define TC_IMPL_TC_Bonobo_GenericFactory_14 'F'
#define TC_IMPL_TC_Bonobo_GenericFactory_15 'a'
#define TC_IMPL_TC_Bonobo_GenericFactory_16 'c'
#define TC_IMPL_TC_Bonobo_GenericFactory_17 't'
#define TC_IMPL_TC_Bonobo_GenericFactory_18 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_19 'r'
#define TC_IMPL_TC_Bonobo_GenericFactory_20 'y'
#ifdef ORBIT_IDL_C_IMODULE_Bonobo_GenericFactory
static
#else
extern
#endif
struct CORBA_TypeCode_struct TC_Bonobo_GenericFactory_struct;
#define TC_Bonobo_GenericFactory ((CORBA_TypeCode)
&TC_Bonobo_GenericFactory_struct)
#endif
#endif
#undef ex_Bonobo_GenericFactory_CannotActivate
#define ex_Bonobo_GenericFactory_CannotActivate "IDL:Bonobo/GenericFactory/
CannotActivate:1.0"
#if !defined(_Bonobo_GenericFactory_CannotActivate_defined)
#define _Bonobo_GenericFactory_CannotActivate_defined 1
typedef struct Bonobo_GenericFactory_CannotActivate_type 
Bonobo_GenericFactory_CannotActivate;
struct Bonobo_GenericFactory_CannotActivate_type {
int dummy;
};

#if !defined(TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_0)
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_0 'B'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_1 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_2 'n'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_3 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_4 'b'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_5 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_6 '_'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_7 'G'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_8 'e'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_9 'n'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_10 'e'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_11 'r'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_12 'i'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_13 'c'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_14 'F'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_15 'a'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_16 'c'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_17 't'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_18 'o'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_19 'r'
#define TC_IMPL_TC_Bonobo_GenericFactory_CannotActivate_20 'y'
#ifdef ORBIT_IDL_C_IMODULE_Bonobo_GenericFactory
static
#else
extern
#endif
struct CORBA_TypeCode_struct TC_Bonobo_GenericFactory_CannotActivate_struct;
#define TC_Bonobo_GenericFactory_CannotActivate ((CORBA_TypeCode)
&TC_Bonobo_GenericFactory_CannotActivate_struct)
#endif
#define Bonobo_GenericFactory_CannotActivate__alloc() 
((Bonobo_GenericFactory_CannotActivate *)ORBit_small_alloc 
(TC_Bonobo_GenericFactory_CannotActivate))
#define Bonobo_GenericFactory_CannotActivate__freekids(m,d) ORBit_small_freekids 
(TC_Bonobo_GenericFactory_CannotActivate,(m),(d))
#endif

/** 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;
  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 */

/** skel prototypes **/
void 
_ORBIT_skel_small_Bonobo_GenericFactory_createObject(POA_Bonobo_GenericFactory 
*_ORBIT_servant, gpointer _ORBIT_retval, gpointer *_ORBIT_args, CORBA_Context 
ctx,CORBA_Environment *ev, CORBA_Object (*_impl_createObject)
(PortableServer_Servant _servant, const CORBA_char * iid, CORBA_Environment *ev
));

/** stub prototypes **/
#define Bonobo_GenericFactory_ref Bonobo_Unknown_ref
#define Bonobo_GenericFactory_unref Bonobo_Unknown_unref
#define Bonobo_GenericFactory_queryInterface Bonobo_Unknown_queryInterface
CORBA_Object Bonobo_GenericFactory_createObject(Bonobo_GenericFactory _obj, 
const CORBA_char * iid, CORBA_Environment *ev);
#include <orbit/orb-core/orbit-interface.h>

#ifdef ORBIT_IDL_C_IMODULE_Bonobo_GenericFactory
static 
#else
extern 
#endif
ORBit_IInterface Bonobo_GenericFactory__iinterface;
#define Bonobo_GenericFactory_IMETHODS_LEN 1
#ifdef ORBIT_IDL_C_IMODULE_Bonobo_GenericFactory
static 
#else
extern 
#endif
ORBit_IMethod 
Bonobo_GenericFactory__imethods[Bonobo_GenericFactory_IMETHODS_LEN];
#ifdef __cplusplus
}
#endif /* __cplusplus */

#ifndef EXCLUDE_ORBIT_H
#include <orbit/orbit.h>

#endif /* EXCLUDE_ORBIT_H */
#endif
#undef ORBIT_IDL_SERIAL

Gentoo Base System version 1.12.0_pre6
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.
6.12.5 x86_64)
=================================================================
System uname: 2.6.12.5 x86_64 Dual Core AMD Opteron(tm) Processor 270
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/
X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acc alsa avi berkdb bitmap-fonts bzip2 cdparanoia cdr 
crypt cups dv dvd dvdr dvdread eds encode esd ethereal fam ffmpeg flash 
foomaticdb fortran ftp gif glut gmp gnome gpm gstreamer gtk gtk2 hal ieee1394 
imap imlib ipv6 java jpeg kde libwww lzw lzw-tiff motif mozilla mp3 mpeg ncurses 
nls nmap ogg opengl oss pam pdflib perl png python qt quicktime readline sandbox 
sdl spell ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales videos 
xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Paul 2005-09-11 19:43:45 UTC
Found it.  Ahh man I wish I could have saved which exact package it was, but 
this is what happened:
emerge libbonobo... failed
emerge libbonoboui... emerge 1 package failed on second package
emerge libbonobo... failed
emerge libgnome... emerge first package (I wish I knew what) failed on second
emerge libbonobo.. success!!!