Howdy, I'm trying to build editors/libreoffice, which fails at the dependency graphics/libcdr.
The system in question runs 9.2-RELEASE-p3/amd64. My Makefile contains the following: [begin file] WITH_PKGNG=yes WITHOUT_HAL=yes .if ! ${.CURDIR:M/usr/ports/emulators/dosbox} CC=clang CXX=clang++ CPP=clang-cpp .endif .if ${.CURDIR:M/usr/ports*} CFLAGS+=-fstack-protector CXXFLAGS+=-fstack-protector .endif MAKE_JOBS_UNSAFE="yes" TEX_DEFAULT="texlive" [end file] When compiled with Clang, the result is as follows (summarised; a complete log can be found here: http://www.skysmurf.nl/tmp/clang.txt): [begin log (summary)] ===>>> Starting build for editors/libreoffice-i18n <<<=== [snip] ===>>> Dependency check complete for graphics/libcdr ===>>> editors/libreoffice-i18n >> editors/libreoffice-en_GB >> editors/libreoffice >> graphics/libcdr (3/33) [snip] checking for boost/optional.hpp... yes checking for boost/property_tree/ptree.hpp... yes checking for boost/spirit/include/classic.hpp... yes checking for boost/property_tree/json_parser.hpp... yes [snip] ===> Building for libcdr-0.0.14_1 [snip] CXX CDRParser.lo In file included from CDRParser.cpp:38: In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13: In file included from /usr/local/include/boost/property_tree/ptree.hpp:21: In file included from /usr/local/include/boost/multi_index_container.hpp:34: In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21: In file included from /usr/local/include/boost/multi_index/detail/index_base.hpp:25: /usr/local/include/boost/multi_index/detail/vartempl_support.hpp:237:28: error: no template named 'forward' in namespace 'std'; did you mean 'forward'? return new(x) Value(std::forward<Args>(args)...); ~~~~~^~~~~~~ forward /usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here inline T&& forward(U&& t ^ In file included from CDRParser.cpp:38: In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13: In file included from /usr/local/include/boost/property_tree/ptree.hpp:21: In file included from /usr/local/include/boost/multi_index_container.hpp:34: In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21: /usr/local/include/boost/multi_index/detail/index_base.hpp:211:29: error: no template named 'forward' in namespace 'std'; did you mean 'forward'? return final().emplace_(BOOST_MULTI_INDEX_FORWARD_PARAM_PACK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK' #define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK std::forward<Args>(args)... ~~~~~^ /usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here inline T&& forward(U&& t ^ [snip several similar instances of these errors] fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [CDRParser.lo] Error code 1 Stop in /usr/ports/graphics/libcdr/work/libcdr-0.0.14/src/lib. *** [all-recursive] Error code 1 [snip] [end log] Just to be sure I also attempted the build with GCC by commenting out the Clang lines in /etc/make.conf. That fails too, much earlier even. The relevant part of the output is: [begin log (snippet)] ===> Building for libcdr-0.0.14_1 /usr/bin/make all-recursive Making all in build Making all in win32 Making all in inc Making all in libcdr Making all in src Making all in lib CXX CDRCollector.lo cc1plus: error: unrecognized command line option "-std=c++0x" *** [CDRCollector.lo] Error code 1 [end log] Any thoughts? Should I perhaps ask the maintainer (which would be the Office team)? AvW -- I'm not completely useless, I can be used as a bad example.
pgpsHOp1RYuKy.pgp
Description: PGP signature