To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100049 Issue #|100049 Summary|GXX_INCLUDE_PATH with -linux- as part of filename can |cause trouble Component|tools Version|DEV300m42 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|configure Assigned to|rene Reported by|cloph
------- Additional comments from cl...@openoffice.org Mon Mar 9 12:40:35 +0000 2009 ------- stl uses macros to assemble include-paths, this can cause trouble if the GXX_INCLUDE_PATH causes -linux- as part of the filename and when a system-header replaces the #define linux linux of stl with #define linux 1 You'll then end up with a path where the -linux- gets replaced with -1- like in this example: Making: ../../unxlngi6.pro/slo/fontconfig.obj g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -I../fontsubset -I/usr/include/freetype2 -I. -I../../unxlngi6.pro/inc/fontman -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I. -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/external -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/unxlngi6/inc -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/inc -I/home/cl/svn/ooo/untar/DEV300_m42/res -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/inc/Xp31 -I/usr/lib/jvm/java-1.6.0-sun/include -I/usr/lib/jvm/java-1.6.0-sun/include/linux -I/usr/lib/jvm/java-1.6.0-sun/include/native_threads/include -I/usr/include -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/offuh -I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -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=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/../../../../include/c++/4.3.2 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DENABLE_FONTCONFIG -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxlngi6.pro/slo/fontconfig.o /home/cl/svn/ooo/untar/DEV300_m42/psprint/source/fontmanager/fontconfig.cxx In file included from /home/cl/svn/ooo/untar/DEV300_m42/psprint/source/fontmanager/fontconfig.cxx:69: /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstdio:27:45: error: /usr/lib/gcc/i586-manbo-1-gnu/4.3.2/../../../../include/c++/4.3.2/cstdio: No such file or directory In file included from /home/cl/svn/ooo/untar/DEV300_m42/psprint/source/fontmanager/fontconfig.cxx:70: /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstdarg:25:46: error: /usr/lib/gcc/i586-manbo-1-gnu/4.3.2/../../../../include/c++/4.3.2/cstdarg: No such file or directory to illustrate even more: $ GXX_INCLUDE_PATH=/marker/a-linux-b build 2>&1 |grep marker g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -I../fontsubset -I/usr/include/freetype2 -I. -I../../unxlngi6.pro/inc/fontman -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I. -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/external -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/unxlngi6/inc -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/inc -I/home/cl/svn/ooo/untar/DEV300_m42/res -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl -I/home/cl/svn/ooo/untar/DEV300_m42/solenv/inc/Xp31 -I/usr/lib/jvm/java-1.6.0-sun/include -I/usr/lib/jvm/java-1.6.0-sun/include/linux -I/usr/lib/jvm/java-1.6.0-sun/include/native_threads/include -I/usr/include -I/home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/offuh -I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -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=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/marker/a-linux-b -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DENABLE_FONTCONFIG -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxlngi6.pro/slo/fontconfig.o /home/cl/svn/ooo/untar/DEV300_m42/psprint/source/fontmanager/fontconfig.cxx /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstddef:35:46: error: /marker/a-linux-b/cstddef: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstring:25:46: error: /marker/a-linux-b/cstring: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/climits:27:46: error: /marker/a-linux-b/climits: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstdlib:25:46: error: /marker/a-linux-b/cstdlib: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/new:50:49: error: /marker/a-linux-b/new: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstdio:27:45: error: /marker/a-1-b/cstdio: No such file or directory /home/cl/svn/ooo/untar/DEV300_m42/solver/300/unxlngi6.pro/inc/stl/cstdarg:25:46: error: /marker/a-1-b/cstdarg: No such file or directory correct path used for the first five, but s/-linux-/-1-/ for the last two.. In my case, the system header that has the #define linux 1 is /usr/include/multiarch-dispatch.h (distro is Mandriva) A workaround/solution is to resolve the relative include path to an absolute one (that doesn't contain the linux anymore) /usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/../../../../include/c++/4.3.2 → /usr/include/c++/4.3.2 A GXX_INCLUDE_PATH=$(cd "$GXX_INCLUDE_PATH" && pwd) in configure.in should do the trick. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@tools.openoffice.org For additional commands, e-mail: issues-h...@tools.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org