View previous topic :: View next topic |
Author |
Message |
houtworm Guru
Joined: 08 Mar 2003 Posts: 391 Location: Den Haag, Netherlands
|
Posted: Fri Jan 12, 2007 11:47 pm Post subject: OpenOffice include nested too deeply [solved] |
|
|
While updating OpenOffice 2.0.4 -> 2.1.0
from/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solver/680/unxlngi6.pro/inc/rtl/ustring.hxx:61,
from /mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/jvmfwk/source/framework.cxx:39:
/usr/include/stlport/limits.h:27:41: error:#include nested too deeply
/usr/include/stlport/stl/_limits.h:148: error: 'CHAR_BIT' was not declared in this scope
/usr/include/stlport/stl/_limits.h:253: error: 'CHAR_MIN' was not declared in this scope
[lots of messages like this]
/usr/include/stlport/stl/_tempbuf.h:89: error: 'INT_MAX' was not declared in this scope
/usr/include/stlport/stl/_tempbuf.c: In function 'stlp_std::pair<_Tp*, int> stlp_std::__get_temporary_buffer(ptrdiff_t, _Tp*)':
/usr/include/stlport/stl/_tempbuf.c:39: error: 'INT_MAX' was not declared in this scope
dmake: Error code 1, while making '../unxlngi6.pro/slo/framework.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/jvmfwk/source
make: *** [stamp/build] Fout 1
!!! ERROR: app-office/openoffice-2.1.0 failed.
Call stack:
ebuild.sh, line 1610: Called dyn_compile
ebuild.sh, line 970: Called qa_call 'src_compile'
environment, line 5090: Called src_compile
openoffice-2.1.0.ebuild, line 304: Called die
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
so it will not be possible to compile then, or is there a way to increase the depth of the nesting?
[..]
The error started earlier:
Making: ../unxlngi6.pro/slo/framework.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DSYSTEM_LIBXML -I/usr/include/libxml2 -I. -I../unxlngi6.pro/inc -I../inc -I../inc/pch -I../inc -I../unx/inc -I../unxlngi6.pro/inc -I. -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solver/680/unxlngi6.pro/inc/stl -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solver/680/unxlngi6.pro/inc/external -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solver/680/unxlngi6.pro/inc -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solenv/unxlngi6/inc -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solenv/inc -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/res -I/usr/stlport -I/usr/include/stlport -I/usr/include/stlport -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.10/include -I/opt/sun-jdk-1.5.0.10/include/linux -I/opt/sun-jdk-1.5.0.10/include/native_threads/include -I/usr/include -I/mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/solver/680/unxlngi6.pro/inc/offuh -I. -I../res -I. -pipe -march=athlon-xp -O2 -pipe -msse -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=500 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOE680=OOE680 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../unxlngi6.pro/slo/framework.o /mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/jvmfwk/source/framework.cxx
In file included from /usr/include/stlport/limits.h:27,
from /usr/include/libxml2/../include/limits.h:125,
from /usr/include/stlport/limits.h:27,
[repeats 97 times..]
from /usr/include/stlport/limits.h:27,
from /usr/include/boost/config/suffix.hpp:33,
from /usr/include/boost/config.hpp:57,
from /usr/include/boost/scoped_array.hpp:16,
from /mnt/gentoo/tmp/portage/app-office/openoffice-2.1.0/work/ooo/build/OOE680_m6/jvmfwk/source/framework.cxx:38:
/usr/include/libxml2/../include/limits.h:125:26: error: #include nested too deeply
/usr/include/libxml2/../include/limits.h:145:30: error: #include nested too deeply
/usr/include/libxml2/../include/limits.h:149:30: error: #include nested too deeply
/usr/include/libxml2/../include/limits.h:153:29: error: #include nested too deeply
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/libxml2/../include/limits.h:145,
from /usr/include/stlport/limits.h:27,
from /usr/include/libxml2/../include/limits.h:125,
from /usr/include/stlport/limits.h:27,
from /usr/include/libxml2/../include/limits.h:125,
from /usr/include/stlport/limits.h:27,
from /usr/include/libxml2/../include/limits.h:125,
from /usr/include/stlport/limits.h:27,
[etc..]
from /usr/include/libxml2/../include/limits.h:125,
from /usr/include/stlport/limits.h:27,
[...] _________________ niemand is onbekwamer, dan een timmerman zonder hamer
Kees
Last edited by houtworm on Sat Jan 13, 2007 10:58 pm; edited 1 time in total |
|
Back to top |
|
|
Chin Yee n00b
Joined: 31 Jul 2003 Posts: 48
|
Posted: Sat Jan 13, 2007 2:27 pm Post subject: |
|
|
I had the same problem. When you look into /usr/include you will find a link called "include" which points to "../include". I don't know which package created this symbolic link, It work for me by simply deleting the this link. |
|
Back to top |
|
|
houtworm Guru
Joined: 08 Mar 2003 Posts: 391 Location: Den Haag, Netherlands
|
Posted: Sat Jan 13, 2007 3:21 pm Post subject: |
|
|
Thanks Chin Yee !!
I have searched only for new files there and the ~include is from October 13th and i have had no problems before, so ..
I have renamed it to ~exclude and the compilation is past that point now, so i think it is ok.
When it is done i will add [solved] to the topic
--Kees _________________ niemand is onbekwamer, dan een timmerman zonder hamer
Kees |
|
Back to top |
|
|
houtworm Guru
Joined: 08 Mar 2003 Posts: 391 Location: Den Haag, Netherlands
|
Posted: Sat Jan 13, 2007 11:01 pm Post subject: |
|
|
Ok, openoffice is ready now )
So removing /usr/include/~include worked!
Thanks again Chin Yee
--Kees _________________ niemand is onbekwamer, dan een timmerman zonder hamer
Kees |
|
Back to top |
|
|
ExecutorElassus Veteran
Joined: 11 Mar 2004 Posts: 1435 Location: Berlin, Germany
|
Posted: Thu Jan 18, 2007 12:52 am Post subject: |
|
|
man, Chin Yee, thanks for finding this (that's a pretty sweet fix)! worked here, too.
many thanks,
EE |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|