Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30918 - gnome-base/ORBit2-2.8.2 fails to compile on idl problem
Summary: gnome-base/ORBit2-2.8.2 fails to compile on idl problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 11:17 UTC by giggles1
Modified: 2003-10-26 12:08 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 giggles1 2003-10-11 11:17:21 UTC
make[8]: Entering directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/include/orbit/orb-core'
(rm -f corba-defs.h corba-defs-stubs.c corba-defs-skels.c corba-defs-common.c
corba-defs-imodule.c corba-defs-skelimpl.c || true) > /dev/null
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL
-I../../../src/idl/CORBA -I../../../src/idl/interop --noskels --nodefskels
--nostubs --noidata --nocommon --showcpperrors --define=Object=OObject
--define=TypeCode=TTypeCode --deps ./.deps/corba-defs.idl.P
../../../src/orb/orb-core/corba-defs.idl
orbit-idl-2 2.8.2 compiling
  mode, show preprocessor errors, passes: headers skel_impl imodule

Error: parse error, unexpected $undefined.

** (process:16995): WARNING **: ../../../src/orb/orb-core/corba-defs.idl
compilation failed
make[8]: *** [corba-defs.h] Error 1
make[8]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/include/orbit/orb-core'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/include/orbit'
make[6]: *** [all] Error 2
make[6]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/include/orbit'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/include'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/src/orb/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/portage/portage/ORBit2-2.8.2/work/ORBit2-2.8.2'
make: *** [all] Error 2

!!! ERROR: gnome-base/ORBit2-2.8.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure



FWIW gnome-base/gnome-panel-2.4.0-r2 fails for me in exactly the same manner.

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




please root # emerge info
Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r3, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -ftracer -ffast-math -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="sandbox autoaddcvs fixpackages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm cups foomaticdb mad mikmod nls xml2 gdbm slang bonobo ruby
libwww motif cdr X 3dnow mmx directfb sse dga opengl xv fbcon kde qt qtmt arts
tcltk aalib imlib ncurses readline sdl svga lcms gif jpeg png tiff gd avi mpeg
quicktime esd gtk gtk2 -gnome alsa ggi dvd xmms oggvorbis encode pam ssl crypt
tcpd mozilla spell truetype xml pdflib plotutils tetex guile perl python libg++
atlas pic berkdb mysql postgres odbc samba gpm zlib java ppds threads"
Comment 1 foser (RETIRED) gentoo-dev 2003-10-12 10:56:14 UTC
and if you go with more conservative CFLAGS ?
Comment 2 giggles1 2003-10-12 12:37:23 UTC
CFLAGS="-pipe" results in the exact same behaviour. 

Also, add gnome-base/libbonobo-2.4.1 (and I assume pretty much assume that
requires the orbit idl compiler) to the list of things that won't build for
me with the same "Error: parse error, unexpected $undefined." from orbit-idl-2



Comment 3 foser (RETIRED) gentoo-dev 2003-10-12 13:11:42 UTC
it might just as well be a lower level lib that is giving the trouble with
CFLAGS.

The error seems to be coming from bison, what version are you using ? Try
updating it to the latest in portage.
Comment 4 giggles1 2003-10-12 14:12:23 UTC
Re-emerging libIDL with CFLAGS="-pipe" seems to solve the problem.  Afterwards,
all packages I mentioned build fine, with my original CFLAGS restored.  If
I have time I will try and track down which of "-O2 -ftracer -omit-frame-pointer
--fast-math" was the offending flag in libIDL.
Comment 5 foser (RETIRED) gentoo-dev 2003-10-12 14:34:23 UTC
i suspect -ftracer, the others are more common used i estimate.
Comment 6 foser (RETIRED) gentoo-dev 2003-10-26 12:08:59 UTC
closing as INVALID due to rare optimizations bug.