From owner-freebsd-ports@FreeBSD.ORG Thu Mar 13 11:31:44 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFB08653 for ; Thu, 13 Mar 2014 11:31:44 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A09C5B9E for ; Thu, 13 Mar 2014 11:31:44 +0000 (UTC) Received: from nemysis3now (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2DBVhtJ084475 for ; Thu, 13 Mar 2014 11:31:43 GMT (envelope-from nemysis@FreeBSD.org) Date: Thu, 13 Mar 2014 12:31:43 +0100 From: Rusmir Dusko To: freebsd-ports@freebsd.org Subject: [games/traingame] Build failures with FreeBSD 10 Message-ID: <20140313123143.475a63fc@nemysis3now> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Thu, 13 Mar 2014 11:31:44 -0000 Hello Trainm Game not build more in FreeBSD 10. With FreeBSD 9.1, 9.2 have all good worked. 10.0-RELEASE-p4 FreeBSD 10.0-RELEASE-p4 #0: Tue Jan 14 20:48:07 UTC 2014 amd64 This is first Cmake and then GCC Port. Have too not worked in FreeBSD 10 with older boost 1.52.0. Train Game not more builds in FreeBSD 10 http://www.doof.me.uk/train-game/ I have now switched to GitHub https://github.com/nickg/traingame but not helps with build. USE_GITHUB= yes GH_ACCOUNT= nickg GH_PROJECT= traingame GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 83abcc9 And use too compat9x .include .if ${OSVERSION} >= 1000009 LIB_DEPENDS+= libarchive.so.5:${PORTSDIR}/misc/compat9x .endif Have had many emails with Upstream, but it can't help. I have look into Re: [graphics/libcdr] Boost issue breaks build? and tried to adjust /etc/make.conf not helps .if !empty(.CURDIR:M/usr/local/ports/local/In-Review/games/traingame) && exists(/usr/local/bin/gcc47) CC=gcc47 CXX=g++47 CPP=cpp47 .endif Have used from rawtherapee, but not helps graphics/rawtherapee When i use GCC USE_GCC= yes or USE_GCC= 4.7+ USE_GCC= 4.8+ http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2014-03-12_01h01m40s/logs/traingame-0.2.2_2.log http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-03-12_01h01m59s/logs/traingame-0.2.2_2.log http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-03-06_23h32m53s/logs/traingame-0.2.2_3.log http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-06_20h47m47s/logs/traingame-0.2.2_3.log and more build failures in FreeBSD 10 also local ... [ 87%] Building CXX object CMakeFiles/TrainGame.dir/src/Mesh.cpp.o [ 89%] Building CXX object CMakeFiles/TrainGame.dir/src/RenderStats.cpp.o [ 91%] Building CXX object CMakeFiles/TrainGame.dir/src/SplineTrack.cpp.o [ 93%] Building CXX object CMakeFiles/TrainGame.dir/src/Map.cpp.o [ 94%] Building CXX object CMakeFiles/TrainGame.dir/src/SmokeTrail.cpp.o [ 96%] Building CXX object CMakeFiles/TrainGame.dir/src/SkyBox.cpp.o [ 98%] Building CXX object CMakeFiles/TrainGame.dir/src/Logger.cpp.o [100%] Building CXX object CMakeFiles/TrainGame.dir/src/Industry.cpp.o Linking CXX executable bin/TrainGame Linking CXX executable bin/TrainGame CMakeFiles/TrainGame.dir/src/Resource.cpp.o: In function `path': /usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, s td::string&, std::codecvt const&)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `boost::program_options::typed_value::xparse(boost::any&, std::vector > const&) const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:170: undefined reference to `boost::program_options::validate(boost::any&, std::vector > const&, std::string*, int)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind _t, std::string const&, std::string const&, int)': /usr/local/include/boost/program_options/errors.hpp:372: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::st ring const&, std::string const&, std::string const&, int)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `to_internal >': /usr/local/include/boost/program_options/detail/convert.hpp:79: undefined reference to `boost::program_options::to_internal(std::string const&)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `boost::program_options::basic_command_line_parser::basic_command_line_parser(int, char const* const *)': /usr/local/include/boost/program_options/detail/parsers.hpp:43: undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector > const&)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `parse_options': /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9/src/Main.cpp:54: undefined reference to `boost::program_options::options_descript ion::options_description(std::string const&, unsigned int, unsigned int)' /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9/src/Main.cpp:80: undefined reference to `boost::program_options::operator<<(std:: ostream&, boost::program_options::options_description const&)' CMakeFiles/TrainGame.dir/src/Main.cpp.o: In function `void boost::program_options::validate(boost::any&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, int*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to `boost::program_options::invalid_option_value::invalid_option_val ue(std::string const&)' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefi ned reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38): undefi ned reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector > const& , bool) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x38): undefine d reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector > const&, bool) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exce ption_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30): undefined reference to `boost::program_options::error_with_option_name::sub stitute_placeholders(std::string const&) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEE E[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38): undefined reference to `boost::progra m_options::error_with_option_name::substitute_placeholders(std::string const&) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30) : undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16 exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30): undefined reference to `boost::program_options::error_with_option_n ame::substitute_placeholders(std::string const&) const' CMakeFiles/TrainGame.dir/src/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_value EEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38): undefined reference to `boost ::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' collect2: error: ld returned 1 exit status --- bin/TrainGame --- *** [bin/TrainGame] Error code 1 make[4]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[4]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 --- CMakeFiles/TrainGame.dir/all --- *** [CMakeFiles/TrainGame.dir/all] Error code 2 make[3]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[3]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 --- all --- *** [all] Error code 2 make[2]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[2]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/local/ports/local/In-Review/games/traingame *** Error code 1 Stop. make: stopped in /usr/local/ports/local/In-Review/games/traingame With newest GCC USE_GCC= 4.9+ [ 1%] Building CXX object CMakeFiles/TrainGame.dir/src/Building.cpp.o [ 3%] Building CXX object CMakeFiles/TrainGame.dir/src/Points.cpp.o [ 6%] Building CXX object CMakeFiles/TrainGame.dir/src/SlopeTrack.cpp.o [ 5%] Building CXX object CMakeFiles/TrainGame.dir/src/ClipVolume.cpp.o [ 8%] Building CXX object CMakeFiles/TrainGame.dir/src/Frustum.cpp.o [ 10%] Building CXX object CMakeFiles/TrainGame.dir/src/MessageArea.cpp.o [ 12%] Building CXX object CMakeFiles/TrainGame.dir/src/XMLParser.cpp.o [ 13%] Building CXX object CMakeFiles/TrainGame.dir/src/TrackGraph.cpp.o [ 15%] Building CXX object CMakeFiles/TrainGame.dir/src/Tree.cpp.o /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9/src/TrackGraph.cpp: In member function 'graph::Node& TrackGraph::add_node(graph:: NodeType)': /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9/src/TrackGraph.cpp:83:31: error: converting to 'std::vector' from ini tializer list would use explicit constructor 'std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = graph::Arc; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator]' graph::Node n = { id, type }; ^ --- CMakeFiles/TrainGame.dir/src/TrackGraph.cpp.o --- *** [CMakeFiles/TrainGame.dir/src/TrackGraph.cpp.o] Error code 1 make[4]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[4]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 --- CMakeFiles/TrainGame.dir/all --- *** [CMakeFiles/TrainGame.dir/all] Error code 2 make[3]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[3]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 --- all --- *** [all] Error code 2 make[2]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 1 error make[2]: stopped in /usr/local/ports/local/In-Review/games/traingame/work/nickg-traingame-83abcc9 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/local/ports/local/In-Review/games/traingame *** Error code 1 Stop. make: stopped in /usr/local/ports/local/In-Review/games/traingame With Clang not works at all. -- Best regards, Rusmir Dusko