Hi hdu, In svn 1308242, build fails on FreeBSD at graphite project (by enabling using graphite) with following build error.
---------------------------------------------------------------------------------------------------- build -- version: 275224 ============= Building module graphite ============= Entering /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/graphite mkdir ./unxfbsdx.pro/misc/build/silgraphite-2.3.1/engine mkdir: ./unxfbsdx.pro/misc/build/silgraphite-2.3.1/engine: File exists cd ./unxfbsdx.pro/misc/build/silgraphite-2.3.1/engine && gmake -j1 && touch /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/graphite/./unxfbsdx.pro/misc/build/so_built_so_graphite Making all in src gmake[1]: Entering directory `/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/graphite/unxfbsdx.pro/misc/build/silgraphite-2.3.1/engine/src' /bin/sh ../libtool --tag=CXX --mode=compile c++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\" -DPACKAGE_VERSION=\"2.3.1\" -DPACKAGE_STRING=\"silgraphite\ 2.3.1\" -DPACKAGE_BUGREPORT=\"silgraphite-de...@lists.sourceforge.net\" -DPACKAGE=\"silgraphite\" -DVERSION=\"2.3.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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DSIZEOF_WCHAR_T=4 -DHAVE_FABSF=1 -I. -I../include/graphite -I../src/generic -I../src/font -I../src/segment -I. -I./unxfbsdx.pro/inc/so_graphite -I../inc -I./inc/pch -I./inc -I./unx/inc -I./unxfbsdx.pro/inc -I. -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/external -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/unxfbsdx/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/res -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc/Xp31 -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -I/usr/local/openjdk6/include/bsd -I/usr/local/openjdk6/include/linux -I/usr/local/openjdk6/include/native_threads/include -I/usr/local/include -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/offuh -I. -I./res -I. -pipe -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DSUPD=340 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -I. -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/external -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/unxfbsdx/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/res -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc/Xp31 -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -I/usr/local/openjdk6/include/bsd -I/usr/local/openjdk6/include/linux -I/usr/local/openjdk6/include/native_threads/include -I/usr/local/include -D_FILE_OFFSET_BITS=no -fPIC -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c -o Font.lo `test -f '../src/font/Font.cpp' || echo './'`../src/font/Font.cpp libtool: compile: c++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\" -DPACKAGE_VERSION=\"2.3.1\" "-DPACKAGE_STRING=\"silgraphite 2.3.1\"" -DPACKAGE_BUGREPORT=\"silgraphite-de...@lists.sourceforge.net\" -DPACKAGE=\"silgraphite\" -DVERSION=\"2.3.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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DSIZEOF_WCHAR_T=4 -DHAVE_FABSF=1 -I. -I../include/graphite -I../src/generic -I../src/font -I../src/segment -I. -I./unxfbsdx.pro/inc/so_graphite -I../inc -I./inc/pch -I./inc -I./unx/inc -I./unxfbsdx.pro/inc -I. -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/external -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/unxfbsdx/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/res -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc/Xp31 -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -I/usr/local/openjdk6/include/bsd -I/usr/local/openjdk6/include/linux -I/usr/local/openjdk6/include/native_threads/include -I/usr/local/include -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/offuh -I. -I./res -I. -pipe -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DSUPD=340 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -I. -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/external -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/unxfbsdx/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/res -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl -I/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solenv/inc/Xp31 -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -I/usr/local/openjdk6/include/bsd -I/usr/local/openjdk6/include/linux -I/usr/local/openjdk6/include/native_threads/include -I/usr/local/include -D_FILE_OFFSET_BITS=no -fPIC -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c ../src/font/Font.cpp -o Font.o In file included from ../src/segment/Main.h:76, from ../src/font/Font.cpp:18: ../include/graphite/GrFeature.h:110: error: 'wstring' in namespace '_STL' does not name a type ../include/graphite/GrFeature.h:111: error: 'wstring' in namespace '_STL' does not name a type ../include/graphite/GrFeature.h:113: error: 'wstring' in namespace '_STL' does not name a type In file included from ../src/segment/Main.h:148, from ../src/font/Font.cpp:18: ../src/segment/GrTableManager.h:546: error: '_STL::wstring' has not been declared ../src/segment/GrTableManager.h:551: error: 'wstring' in namespace '_STL' does not name a type In file included from ../src/segment/Main.h:149, from ../src/font/Font.cpp:18: ../src/segment/FontCache.h:71: error: '_STL::wstring' has not been declared ../src/segment/FontCache.h:72: error: '_STL::wstring' has not been declared ../src/segment/FontCache.h:73: error: '_STL::wstring' has not been declared ../src/segment/FontCache.h:89: error: '_STL::wstring' has not been declared In file included from ../src/segment/Main.h:153, from ../src/font/Font.cpp:18: ../include/graphite/Font.h:392: error: '_STL::wstring' has not been declared In file included from ../src/segment/Main.h:155, from ../src/font/Font.cpp:18: ../src/segment/GrEngine.h:214: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:218: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:247: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:387: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:388: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:389: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:390: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:394: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:397: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:399: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:401: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:402: error: 'wstring' in namespace '_STL' does not name a type ../src/segment/GrEngine.h:405: error: 'wstring' in namespace '_STL' does not name a type In file included from ../src/segment/Main.h:156, from ../src/font/Font.cpp:18: ../src/segment/FontFace.h:79: error: '_STL::wstring' has not been declared ../src/segment/FontFace.h:83: error: '_STL::wstring' has not been declared ../src/segment/FontFace.h: In destructor 'gr3ooo::FontFace::~FontFace()': ../src/segment/FontFace.h:58: error: 'class gr3ooo::GrEngine' has no member named 'FaceName' In file included from ../src/segment/Main.h:157, from ../src/font/Font.cpp:18: ../include/graphite/Segment.h: At global scope: ../include/graphite/Segment.h:206: error: '_STL::wstring' has not been declared ../include/graphite/Segment.h:206: error: '_STL::wstring' has not been declared ../src/font/Font.cpp: In member function 'void gr3ooo::Font::initialiseFontFace(bool)': ../src/font/Font.cpp:114: error: 'wstring' is not a member of '_STL' ../src/font/Font.cpp:114: error: expected `;' before 'stuFaceName' ../src/font/Font.cpp:117: error: 'stuFaceName' was not declared in this scope ../src/font/Font.cpp: At global scope: ../src/font/Font.cpp:139: error: variable or field 'UniqueCacheInfo' declared void ../src/font/Font.cpp:139: error: 'wstring' is not a member of '_STL' ../src/font/Font.cpp:139: error: 'stuFace' was not declared in this scope ../src/font/Font.cpp:139: error: expected primary-expression before 'bool' ../src/font/Font.cpp:139: error: expected primary-expression before 'bool' ../src/font/Font.cpp:947: error: expected `}' at end of input gmake[1]: *** [Font.lo] Error 1 gmake[1]: Leaving directory `/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/graphite/unxfbsdx.pro/misc/build/silgraphite-2.3.1/engine/src' gmake: *** [all-recursive] Error 1 dmake: Error code 2, while making './unxfbsdx.pro/misc/build/so_built_so_graphite' ERROR: error 65280 occurred while making /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/graphite ---------------------------------------------------------------------------------------------------- If you know something, it would be better. Note: we have a workaround patch for that: http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice-3-devel/files/patch-graphite --- graphite/graphite-2.3.1.patch 2012-02-19 18:21:39.000000000 +0900 +++ graphite/graphite-2.3.1.patch 2012-02-20 08:13:43.000000000 +0900 @@ -2394,3 +2394,14 @@ { bool fRet = true; +--- misc/silgraphite-2.3.1/engine/include/graphite/GrFeature.h 2009-01-22 07:36:40.000000000 +0900 ++++ misc/build/silgraphite-2.3.1/engine/include/graphite/GrFeature.h 2012-02-20 08:09:33.000000000 +0900 +@@ -21,6 +21,8 @@ + + //:End Ignore + ++#define wstring basic_string<wchar_t> //quick dirty hack for not finding _STL::wstring ++ + #include "GrAppData.h" + + namespace gr This e-mail was requested by pfg@. Thanks, Nakata Maho From: Maho NAKATA <m...@apache.org> Subject: --with-system-graphite fails on FreeBSD. Date: Wed, 11 Apr 2012 11:36:36 +0900 (JST) > Hi hdu, > Just for your info. > > with svn 1308242 and with --with-system-graphite, > build fails on FreeBSD at vcl project with following build error. pfg and I > tested > several patches to fix, but still in vain. > > [maho@ligeti8amd64 > /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/vcl]$ > gmake -sr[ build DEP ] LNK:Library/libvcl.so > [ build CXX ] vcl/source/glyphs/glyphcache > In file included from /usr/include/c++/4.2/memory:53, > from > /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/inc/stl/preextstl.h:48, > from > /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/vcl/inc/graphite_features.hxx:28, > from > /work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/vcl/source/glyphs/glyphcache.cxx:40: > /usr/include/c++/4.2/bits/stl_algobase.h:321: error: 'ostreambuf_iterator' > was not declared in this scope > /usr/include/c++/4.2/bits/stl_algobase.h:321: error: template argument 2 is > invalid > /usr/include/c++/4.2/bits/stl_algobase.h:321: error: expected unqualified-id > before '>' token > /usr/include/c++/4.2/bits/stl_algobase.h:326: error: 'ostreambuf_iterator' > was not declared in this scope > /usr/include/c++/4.2/bits/stl_algobase.h:326: error: template argument 2 is > invalid > /usr/include/c++/4.2/bits/stl_algobase.h:326: error: expected unqualified-id > before '>' token > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: template declaration of > 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, > _CharT*>::__type std::__copy_aux' > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: 'istreambuf_iterator' > was not declared in this scope > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: expected > primary-expression before '>' token > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: expected > primary-expression before ',' token > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: 'istreambuf_iterator' > was not declared in this scope > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: expected > primary-expression before '>' token > /usr/include/c++/4.2/bits/stl_algobase.h:331: error: expected > primary-expression before ',' token > /usr/include/c++/4.2/bits/stl_algobase.h:332: error: expected > primary-expression before '*' token > /usr/include/c++/4.2/bits/stl_algobase.h:332: error: expected > primary-expression before ')' token > /usr/include/c++/4.2/bits/stl_algobase.h:407: error: 'ostreambuf_iterator' > was not declared in this scope > /usr/include/c++/4.2/bits/stl_algobase.h:407: error: template argument 2 is > invalid > /usr/include/c++/4.2/bits/stl_algobase.h:407: error: expected unqualified-id > before '>' token > gmake: *** > [/work/tinderbox-ligeti8amd64/portstrees/FreeBSD/ports/editors/openoffice-3-devel/work/ooo/main/solver/340/unxfbsdx.pro/workdir/CxxObject/vcl/source/glyphs/glyphcache.o] > エラー 1 > > Best regards, > Nakata Maho >