Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51791 - ORBit2-2.10.0.ebuild fails to compile
Summary: ORBit2-2.10.0.ebuild fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-22 21:03 UTC by scootersmk
Modified: 2004-05-30 11:23 UTC (History)
1 user (show)

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 scootersmk 2004-05-22 21:03:45 UTC
An emerge of ORBit2-1.10.0 fails with the following output below.  This is depended on by an emerge world to upgrade libbonobo-2.6.0.  There is another bug that reports of a newly made ebuild for ORBit (http://bugs.gentoo.org/show_bug.cgi?id=51622) but I am not sure if this is releated or not.  I have not tried the new ebuild attached to that bug, but I will report back if it works.

----------------------------------------

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../.. -I../../include -DORBIT_BACKENDS_DIR="\"/var/tmp/portage/ORBit2-2.10.0/image//usr/lib/orbit-2.0/idl-backends\"" -DVERSION=\"2.10.0\" -DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -I/usr/include/libIDL-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'orbit-idl-c-typecode.c' || echo './'`orbit-idl-c-typecode.c
source='orbit-idl-c-deps.c' object='orbit-idl-c-deps.o' libtool=no \
depfile='.deps/orbit-idl-c-deps.Po' tmpdepfile='.deps/orbit-idl-c-deps.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../.. -I../../include -DORBIT_BACKENDS_DIR="\"/var/tmp/portage/ORBit2-2.10.0/image//usr/lib/orbit-2.0/idl-backends\"" -DVERSION=\"2.10.0\" -DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -I/usr/include/libIDL-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'orbit-idl-c-deps.c' || echo './'`orbit-idl-c-deps.c
/bin/sh ../../libtool --mode=link gcc  -march=athlon-xp -O3 -pipe -fomit-frame-pointer   -o orbit-idl-2  orbit-idl-main.o orbit-idl-driver.o orbit-idl-backend.o orbit-idl-utils.o orbit-idl-c-backend.o orbit-idl-c-stubs.o orbit-idl-c-skels.o orbit-idl-c-headers.o orbit-idl-c-common.o orbit-idl-c-imodule.o orbit-idl-c-skelimpl.o orbit-idl-c-utils.o orbit-idl-c-typecode.o orbit-idl-c-deps.o -lpopt -lm -Wl,--export-dynamic -lIDL-2 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -o orbit-idl-2 orbit-idl-main.o orbit-idl-driver.o orbit-idl-backend.o orbit-idl-utils.o orbit-idl-c-backend.o orbit-idl-c-stubs.o orbit-idl-c-skels.o orbit-idl-c-headers.o orbit-idl-c-common.o orbit-idl-c-imodule.o orbit-idl-c-skelimpl.o orbit-idl-c-utils.o orbit-idl-c-typecode.o orbit-idl-c-deps.o -Wl,--export-dynamic  /usr/lib/libpopt.so -lm /usr/lib/libIDL-2.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
make[4]: warning:  Clock skew detected.  Your build may be incomplete.
make[4]: Leaving directory `/var/tmp/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/idl-compiler'
(rm -f orbit-interface-common.c || true) > /dev/null
../../../src/idl-compiler/orbit-idl-2 --nostubs --noskels --showcpperrors --noheaders --deps .deps/orbit-interface.idl.P orbit-interface.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: common skel_impl imodule

(rm -f ../../../include/orbit/orb-core/orbit-interface.h ../../../include/orbit/orb-core/orbit-interface-stubs.c ../../../include/orbit/orb-core/orbit-interface-skels.c ../../../include/orbit/orb-core/orbit-interface-common.c ../../../include/orbit/orb-core/orbit-interface-imodule.c ../../../include/orbit/orb-core/orbit-interface-skelimpl.c || true) > /dev/null
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../src/idl/CORBA -I../../../src/idl/misc -I../../../src/idl/interop -I. --noskels --nodefskels --nostubs --noidata --noheaders --define=Object=OObject --define=TypeCode=TTypeCode --showcpperrors --deps ../../../include/orbit/orb-core/.deps/orbit-interface.idl.P ../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl
orbit-idl-2 2.10.0 compiling
  mode, show preprocessor errors, passes: common skel_impl imodule

../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl:15: Error: `TTypeCode' undeclared identifier

** (process:32118): WARNING **: ../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl compilation failed
make[3]: *** [../../../include/orbit/orb-core/orbit-interface.h] Error 1
make[3]: Leaving directory `/var/tmp/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/orb/orb-core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/orb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src'
make: *** [install-recursive] Error 1

!!! ERROR: gnome-base/ORBit2-2.10.0 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed


Reproducible: Always
Steps to Reproduce:




Gentoo Base System version 1.4.10
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc1-mm2)
=================================================================
System uname: 2.6.4-rc1-mm2 i686 AMD Athlon(tm) XP 2100+
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++
libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"

~                                                                              
                                                              
~                                                                              
                                                              
~                                                                              
                                                              
~                                                                              
                                                              
~                                                                              
                                                              
~
Comment 1 foser (RETIRED) gentoo-dev 2004-05-25 02:15:44 UTC
and if you set makejobs to 1 ?
Comment 2 scootersmk 2004-05-25 04:01:00 UTC
I also tried:

MAKEOPTS="-j1" emerge world

and it still failed w/ the same error...(I assume that is what you are refering to foser)
Comment 3 scootersmk 2004-05-26 15:46:35 UTC
Update: Currently the only version of ORBit2 I can successfully install is 2.8.3, however libbonobo requires >=2.9.<something> i have tried 2.9.8, 2.10.0, 2.10.1, and 2.10.2(both with and without the MAKEOPTS set to 1). It must be something specifically wrong with my system because I can find no trace of a similar problem anywhere.  Unless anyone has any suggestion, I think I am going to alert the ORBit2 mailing list concering this issue and see what the can do.
Comment 4 foser (RETIRED) gentoo-dev 2004-05-26 16:00:59 UTC
well.. i would first lower CFLAGS, build without ccache. You do have indent installed ?

'make[4]: warning:  Clock skew detected.  Your build may be incomplete.' is a clear indicator something is wrong before that and your problem is just a result.
Comment 5 scootersmk 2004-05-27 06:41:51 UTC
This is obviously just a problem with my system, not a bug.  After you pointed that out I remeber that my time was set incorrectly, but I recently fixed it. So I probably so files with some future dates/times.  Any way to resolve this besides recompiling everything? Anyways thanks for the tip and you can close this bug.

Scott
Comment 6 foser (RETIRED) gentoo-dev 2004-05-30 11:23:16 UTC
not really.. you could try rebuilding deps of ORBit2 first, if this is the only pack exhibiting the problem it's likely closely related to it.

closing