I tried to emerge openjade-1.3.2-r1, but it failed with the following error: In file included from /usr/include/OpenSP/RangeMap.h:67, from /usr/include/OpenSP/UnivCharsetDesc.h:13, from /usr/include/OpenSP/CharsetInfo.h:11, from /usr/include/OpenSP/Sd.h:13, from SdNode.h:9, from SdNode.cxx:6: /usr/include/OpenSP/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From, To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) const': /usr/include/OpenSP/RangeMap.cxx:50: error: `wideCharMax' was not declared in this scope make[2]: *** [SdNode.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/OpenSP/RangeMap.h:67, from /usr/include/OpenSP/UnivCharsetDesc.h:13, from /usr/include/OpenSP/CharsetInfo.h:11, from /usr/include/OpenSP/CodingSystemKit.h:15, from /usr/include/OpenSP/CmdLineApp.h:24, from /usr/include/OpenSP/EntityApp.h:11, from /usr/include/OpenSP/ParserApp.h:13, from GroveApp.h:10, from GroveApp.cxx:9: /usr/include/OpenSP/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From, To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) const': /usr/include/OpenSP/RangeMap.cxx:50: error: `wideCharMax' was not declared in this scope make[2]: *** [GroveApp.lo] Error 1 In file included from /usr/include/OpenSP/RangeMap.h:67, from /usr/include/OpenSP/UnivCharsetDesc.h:13, from /usr/include/OpenSP/CharsetInfo.h:11, from /usr/include/OpenSP/Sd.h:13, from /usr/include/OpenSP/Event.h:20, from GroveBuilder.cxx:12: /usr/include/OpenSP/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From, To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) const': /usr/include/OpenSP/RangeMap.cxx:50: error: `wideCharMax' was not declared in this scope make[2]: *** [GroveBuilder.lo] Error 1 make[1]: *** [spgrove] Error 2 make[1]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2' make: *** [all] Error 2 !!! ERROR: app-text/openjade-1.3.2-r1 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. The solution was to emerge opensp-1.5.1 and reemerge openjade-1.3.2-r1. Shouldn't the ebuild for openjade-1.3.2-r1 be modified accordingly, so that it depends on opensp-1.5.1 ? At the moment according to the ebuild the dependency was satisfied with the installation of opensp-1.5-r1, which was not true in my case. Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.4.20040808-r1, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 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.14.90.0.8-r3 sys-devel/libtool: 1.4.3-r3, 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mirror.solnet.ch http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl eds emboss encode esd ethereal expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 java jpeg junit kde lcms ldap libg++ libwww mad mhash mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xine xml xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Have you tried downgrading or upgrading gcc?
I get this after I upgraded gcc 3.3 to 3.4. This is on the revdep-rebuild stage.
Re-emerging opensp before emerging openjade fixes this issue. It seems like these two packages are tied very closely together. This is in line with what most other people stated fixed the problem for them (check out related openjade bugs), Although, I don't understand why.
A local problem. OpenSP should be installed before openjade, and the dependencies are correct in that sense.