Date: Sun, 9 Mar 2014 22:58:19 +0100 From: "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl> To: freebsd-ports@freebsd.org Subject: [graphics/libcdr] Boost issue breaks build? Message-ID: <20140309215819.GA5920@spectrum.skysmurf.nl>
next in thread | raw e-mail | index | archive | help
--a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dyes WITHOUT_HAL=3Dyes =2Eif ! ${.CURDIR:M/usr/ports/emulators/dosbox} CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp =2Eendif =2Eif ${.CURDIR:M/usr/ports*} CFLAGS+=3D-fstack-protector CXXFLAGS+=3D-fstack-protector =2Eendif MAKE_JOBS_UNSAFE=3D"yes" TEX_DEFAULT=3D"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)] =3D=3D=3D>>> Starting build for editors/libreoffice-i18n <<<=3D=3D=3D [snip] =3D=3D=3D>>> Dependency check complete for graphics/libcdr =3D=3D=3D>>> editors/libreoffice-i18n >> editors/libreoffice-en_GB >> edito= rs/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] =3D=3D=3D> 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.hp= p: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= =2Ehpp:21: In file included from /usr/local/include/boost/multi_index/detail/index_bas= e.hpp:25: /usr/local/include/boost/multi_index/detail/vartempl_support.hpp:237:28: er= ror: 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.hp= p: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= =2Ehpp:21: /usr/local/include/boost/multi_index/detail/index_base.hpp:211:29: error: n= o 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: no= te: 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=3D] 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)] =3D=3D=3D> 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=3Dc++0x" *** [CDRCollector.lo] Error code 1 [end log] Any thoughts? Should I perhaps ask the maintainer (which would be the Office team)? AvW --=20 I'm not completely useless, I can be used as a bad example. --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTHOP7AAoJEAfP7gJTaCe8uAkP/3E8gowE14pt99rhQ5q+YbvG YQAOGmIccygSlYA5tJ8Z5HDbq9jFKfpx0tgc1AiNvvDjh6Bj0RyAPvDF4OewnmEW arySOI9rUaFQUjut6cChGYly4Movr0MOiCHL1XAJ+ckNFcrZMuzIFxTEUkwsbs82 59+bmrYAMNSfK2JohV4oHCeiOpN3t2gBAYIZbm+FInPCJOEvoUNNYLNe/XS0ypeu VdbkIlQ8t25R2djw9d8GKHw2tEewCtYCj+VrQcYYFCkpqOM1iJFGmV4vHMUC8Bmf eeRj8h50IyM/uxQd8/hOjm0qpO6dFKh+9xpwKxvBP7t7XbYdTRJjSxAKcAU72yYR Yd1wRbPId0djWnJn5dMSL8Wixww/6+Ry3VqR7Hz2icyMJEFZiRsH4lpPxOdvt2Pi YhEIU1GmuIq/YgKN6CMtwP0WTepKzNM6ElNXno2nHp0rIF9UnsJY1MhFsi5lgQ2j GPafguVR1XaMytIC/TsELSaKg0JBcV2cMqOoPFQmYi9S0QFTgnXpzQ+/5ufJAF0E 14p8j0uWf4txoEaV51JDAUGgdRCDgZ3zPzWw98rODZlL52Wpl4/aK8RJiceL9xov 91x39RKaNEqSs4wbIxPqDd1MUQTp30KWWvsfDIxTYizmZKA6FdXTIKDnryj/HFGF 2KrHgQP8zfdymagTrHfF =pLbS -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140309215819.GA5920>