Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24866 - updating openjade fails
Summary: updating openjade fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 04:12 UTC by Friedhelm Hinrichs
Modified: 2003-08-29 10:25 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 Friedhelm Hinrichs 2003-07-20 04:12:43 UTC
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"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-07-20 09:07:25 UTC
openjade depends on opensp which should replace the files from the older openjade. have you got opensp installed?
Comment 2 Friedhelm Hinrichs 2003-07-20 10:55:02 UTC
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)
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-07-21 02:21:40 UTC
can you try emerging opensp again? 
Comment 4 Dietrich Heise 2003-07-21 15:37:08 UTC
same error here,

after reemerge opensp it works :)
Comment 5 Friedhelm Hinrichs 2003-07-21 22:02:34 UTC
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?
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-08-29 10:25:58 UTC
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.