When emerge tries to compile openjade-1.3.2-r1, while version 1.3.1-r6 is installed, it complains about not finding include file SubstTable.cxx It is to be noticed, that it includes files from directory /usr/include/OpenSP, which I find is not correct, as the include files found there belong to the older version. Reproducible: Always Steps to Reproduce: 1. emerge -u openjade while version 1.3.1-r6 is installed Actual Results: term output make[2]: Entering directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/spgrove' mkdir .libs g++ -O2 -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c GroveApp.cxx -fPIC -DPIC In file included from /usr/include/OpenSP/EntityCatalog.h:11, from /usr/include/OpenSP/EntityManager.h:14, from /usr/include/OpenSP/SgmlParser.h:14, from /usr/include/OpenSP/ParserApp.h:11, from GroveApp.h:10, from GroveApp.cxx:9: /usr/include/OpenSP/SubstTable.h:38:26: SubstTable.cxx: No such file or directory In file included from /usr/include/OpenSP/CharMap.h:144, from /usr/include/OpenSP/UnivCharsetDesc.h:12, from /usr/include/OpenSP/CharsetInfo.h:11, from /usr/include/OpenSP/CodingSystemKit.h:15, from /usr/include/OpenSP/CmdLineApp.h:18, 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/CharMap.cxx: In member function `void CharMap<T>::setChar(short unsigned int, T)': /usr/include/OpenSP/CharMap.cxx:58: syntax error before `>' token /usr/include/OpenSP/CharMap.cxx: In member function `void CharMap<T>::setRange(short unsigned int, short unsigned int, T)': /usr/include/OpenSP/CharMap.cxx:115: syntax error before `>' token /usr/include/OpenSP/CharMap.cxx:123: syntax error before `>' token /usr/include/OpenSP/CharMap.cxx:143: syntax error before `>' token /usr/include/OpenSP/CharMap.cxx: At global scope: /usr/include/OpenSP/CharMap.cxx:184: syntax error before `::' token /usr/include/OpenSP/CharMap.cxx:185: ISO C++ forbids declaration of ` CharMapPlane' with no type /usr/include/OpenSP/CharMap.cxx: In function `int CharMapPlane()': /usr/include/OpenSP/CharMap.cxx:186: only constructors take base initializers /usr/include/OpenSP/CharMap.cxx:186: confused by earlier errors, bailing out make[2]: *** [GroveApp.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/spgrove' 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 48, Exitcode 2 !!! (no error message) emerge info: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl alsa bonobo cdr doc dvd emacs flash gb gtkhtml guile imap ldap libgda matrox mbox mozilla mpeg mysql pda perl plotutils scanner tcltk tetex tiff usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -falign-jumps=5 -falign-loops=5 -falign-functions=64 -funroll-loops" CXXFLAGS="-march=athlon-tbird -O3 -pipe -falign-jumps=5 -falign-loops=5 -falign-functions=64 -funroll-loops" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
openjade depends on opensp which should replace the files from the older openjade. have you got opensp installed?
opensp is installed. version is 1.5-r1 as can be seen from etcat: etcat versions opensp [ Results for search key : opensp ] [ Applications found : 1 ] * app-text/opensp : [ ] app-text/opensp-1.5 (0) [ I] app-text/opensp-1.5-r1 (0)
can you try emerging opensp again?
same error here, after reemerge opensp it works :)
Surprise, surprise!! That really fixed the problem. Thank you very much for your help. But one question remains: why did this happen in the first place?
dunno why this happens, but i haven't seen any more people reporting this, so i'm guessing its a transient thing, possibly due to the opensp/openjade being bumped to stable at different times .. closing now, reopen if someone else has this problem.