Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109681 - ORBit2-2.12.3 fails to emerge: `TTypeCode' undeclared identifier
Summary: ORBit2-2.12.3 fails to emerge: `TTypeCode' undeclared identifier
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 140544 150056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-18 01:30 UTC by veacheslav
Modified: 2006-10-16 04:59 UTC (History)
4 users (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 veacheslav 2005-10-18 01:30:41 UTC
I just try to update my world packages. 

Reproducible: Always
Steps to Reproduce:
1. emerge -u --deep --world

Actual Results:  
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4
-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 -lIDL-2
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lpopt -lm
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -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/libIDL-2.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so /usr/lib/libpopt.so -lm
make[5]: Leaving directory
`/var/tmp/portage/orbit-2.12.3/work/ORBit2-2.12.3/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.12.3 compiling
  mode, show preprocessor errors, passes: common

(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.
-D_PRE_3_0_COMPILER_ --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.12.3 compiling
  mode, show preprocessor errors, passes: common

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

** (process:27025): WARNING **:
../../../include/orbit/orb-core/../../../src/orb/orb-core/orbit-interface.idl
compilation failed
make[4]: *** [../../../include/orbit/orb-core/orbit-interface.h] Ошибка 1
make[4]: Leaving directory
`/var/tmp/portage/orbit-2.12.3/work/ORBit2-2.12.3/src/orb/orb-core'
make[3]: *** [install] Error 2
make[3]: Leaving directory
`/var/tmp/portage/orbit-2.12.3/work/ORBit2-2.12.3/src/orb/orb-core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/orbit-2.12.3/work/ORBit2-2.12.3/src/orb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/orbit-2.12.3/work/ORBit2-2.12.3/src'
make: *** [install-recursive] Error 1

!!! ERROR: gnome-base/orbit-2.12.3 failed.
!!! Function gnome2_src_install, Line 65, Exitcode 2
!!! make DESTDIR install failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="ru_RU.UTF-8"
LINGUAS="ru ua ro"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts crypt cups curl doc dvd
eds emboss encode esd fam ffmpeg foomaticdb fortran gd gdbm gif gpm gstreamer
gtk2 hal imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mp3
mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline ruby samba sdl slang spell ssl tcltk tcpd tiff truetype
truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xv zlib linguas_ru
linguas_ua linguas_ro userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-10-27 14:41:17 UTC
try re-emerging libIDL and report back, Thanks!
Comment 2 veacheslav 2005-10-28 08:48:29 UTC
(In reply to comment #1)
> try re-emerging libIDL and report back, Thanks!

Thanks for help!

It didn't help. Also I searched "TTypeCode" identifier in all *.h files of
/usr/include  and didn't find nothing. 


Comment 3 Sam Yates 2005-11-24 12:08:53 UTC
I was having the identical problem on a dual core athlon64, with -j3 MAKEOPTS.
Rebuilding libIDL and then orbit did not resolve the problem.
Setting -j1 and retrying the orbit emerge did not help either, but rebuilding
libIDL with -j1 first, and /then/ rebuilding orbit, did.
Buggy makefile in libIDL perhaps?
Comment 4 psixi.beta 2005-11-29 09:14:16 UTC
I also have a dual core athlon64 but what you describe doesn't work for me. 
 
 
Comment 5 Alex 2005-11-29 18:26:26 UTC
I tried everything in here and most everything in this thread
http://forums.gentoo.org/viewtopic.php?t=157488 . Finally I tried setting the
date far in the future as suggested in that thread. It worked. Could someone
please explain to me why this worked?
Comment 6 veacheslav 2005-11-30 02:09:48 UTC
Now it works (after emerge --sync). 

Comment 7 Chris Baxter 2006-02-15 02:13:12 UTC
(In reply to comment #5)
> I tried everything in here and most everything in this thread
> http://forums.gentoo.org/viewtopic.php?t=157488 . Finally I tried setting the
> date far in the future as suggested in that thread. It worked. Could someone
> please explain to me why this worked?

I was having the same error with Orbit-2.12.4
Tried changing my CFLAGS and MAKEOPTS etc,
Setting my clock 2 months into the future worked for me as well
Comment 8 Curtis Napier (RETIRED) gentoo-dev 2006-02-17 12:15:39 UTC
Ran into this same problem with Orbit2. I discovered that MANY of my files are dated in the future. I was in the middle of an emerge -e world and it seems that abut half of the files that were installed were done so with a future date. The problem is so wide spread that I will have to set my clock forward or "touch" the entire file system which we all know is a Bad Thing(tm). This is not a problem with my hardware (I use NTPD and the clock is and was correct), this is a deeper problem. Portage is installing things with an incorrect timestamp and there are several threads in the forums about it already so I *know* it isn't just me having a buggy clock.

I'm opening a seperate bug about this since Orbit has nothing to do with the problem.
Comment 9 John N. Laliberte (RETIRED) gentoo-dev 2006-03-25 17:13:40 UTC
this bug has to do with file dates set to times in the future, something which we cannot fix.
Comment 10 John N. Laliberte (RETIRED) gentoo-dev 2006-07-15 13:39:58 UTC
*** Bug 140544 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 06:59:15 UTC
*** Bug 150056 has been marked as a duplicate of this bug. ***
Comment 12 Joël 2006-10-16 04:59:50 UTC
For people who couldn't solve the problem using information from this bug, here's what to do:

emerge -1 glib popt && emerge -1 libIDL orbit

*This* should work - for me it sure did :-)