From owner-freebsd-ports@FreeBSD.ORG Sun Mar 9 21:58:29 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C06BFAC9 for ; Sun, 9 Mar 2014 21:58:29 +0000 (UTC) Received: from spectrum.skysmurf.nl (spectrum.skysmurf.nl [82.95.125.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40742A7F for ; Sun, 9 Mar 2014 21:58:28 +0000 (UTC) Received: from spectrum.skysmurf.nl (mail.skysmurf.nl [192.168.42.4] (may be forged)) by spectrum.skysmurf.nl (8.14.7/8.14.7) with SMTP id s29LwJdE016314 for ; Sun, 9 Mar 2014 22:58:19 +0100 (CET) (envelope-from freebsd@skysmurf.nl) Received: by spectrum.skysmurf.nl (sSMTP sendmail emulation); Sun, 09 Mar 2014 22:58:19 +0100 Date: Sun, 9 Mar 2014 22:58:19 +0100 From: "A.J. 'Fonz' van Werven" To: freebsd-ports@freebsd.org Subject: [graphics/libcdr] Boost issue breaks build? Message-ID: <20140309215819.GA5920@spectrum.skysmurf.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline X-PGP-Key: http://www.skysmurf.nl/~fonz/fonz_pubkey.asc User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 21:58:29 -0000 --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)...); ~~~~~^~~~~~~ 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)... ~~~~~^ /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--