ORBit2-2.10.0 fails to compile: Error: `TTypeCode' undeclared identifier. This is the output of the compile: 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:17704): 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: 1. emerge gnome // I find out ORBit fails 2. emerge =ORBit2-2.10.0 // Same error 3. Actual Results: ORBit failed to compile Expected Results: ORBit should have compiled and been installed. Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -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/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
I just found another bug with the same error but had a solution of updating the system clock. I merged ntp and updated my system clock and going to `emerge world -euD`, then `emerge gnome` and report back if I get the same problem.
*** Bug 63634 has been marked as a duplicate of this bug. ***
Sorry, I just noticed that this is indeed a duplicate bug report... The original bug report is: 54099
I read the forums to find an answer, and found it that some people have managed to fix it by setting the clock to show a future time... I set mine to year 2010 and I managed to emerge this ebuild with no problems :)
this is odd, i can't reproduce this, possibly the timestamps were inaccurate in the tarball? but seems to work fine for me. haven't seen any additional report, so closing for now.
*** Bug 80674 has been marked as a duplicate of this bug. ***