source/shiny/libshiny.a(Preprocessor.cpp.o): In function `boost::wave::impl::pp_iterator_functor<boost::wave::context<std::__1::__wrap_iter<char*>, boost::wave::cpplexer::lex_iterator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > > >, boost::wave::iteration_context_policies::load_utf8_path_to_string, sh::emit_custom_line_directives_hooks, boost::wave::this_type> >::pp_directive()': /wrkdirs/usr/ports/games/stuntrally/work/stuntrally-2.6/source/shiny/Main/Preprocessor.cpp:(.text._ZN5boost4wave4impl19pp_iterator_functorINS0_7contextINSt3__111__wrap_iterIPcEENS0_8cpplexer12lex_iteratorINS8_9lex_tokenINS0_4util13file_positionINSB_11flex_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEENSB_9CowStringINSB_22AllocatorStringStorageIcSH_EES6_EEEEEEEEEENS0_26iteration_context_policies24load_utf8_path_to_stringEN2sh33emit_custom_line_directives_hooksENS0_9this_typeEEEE12pp_directiveEv[_ZN5boost4wave4impl19pp_iterator_functorINS0_7contextINSt3__111__wrap_iterIPcEENS0_8cpplexer12lex_iteratorINS8_9lex_tokenINS0_4util13file_positionINSB_11flex_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEENSB_9CowStringINSB_22AllocatorStringStorageIcSH_EES6_EEEEEEEEEENS0_26iteration_context_policies24load_utf8_path_to_stringEN2sh33emit_custom_line_directives_hooksENS0_9this_typeEEEE12pp_directiveEv]+0x11f): undefined reference to `boost::wave::grammars::cpp_grammar_gen<boost::wave::cpplexer::lex_iterator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > > >, std::__1::list<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > >, boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > >, boost::default_user_allocator_new_delete, boost::mutex, 32u, 0u> > >::parse_cpp_grammar(boost::wave::cpplexer::lex_iterator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > > > const&, boost::wave::cpplexer::lex_iterator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > > > const&, boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > const&, bool&, boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > >&, std::__1::list<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > >, boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > >, boost::default_user_allocator_new_delete, boost::mutex, 32u, 0u> >&)' [...] http://package18.nyi.freebsd.org/data/103i386-default-PR220714/2017-09-10_08h14m47s/logs/errors/stuntrally-2.6.log
Adding USES=compiler:c++11-lib + USE_CXXSTD=gnu++11 would probably fix the error but it usually requires patching source to conform to C++11. Note, the port builds fine against Boost 1.65.1 alone i.e., bug 220714 without bug 220783.
A commit references this bug: Author: jbeich Date: Mon Sep 25 00:05:47 UTC 2017 New revision: 450559 URL: https://svnweb.freebsd.org/changeset/ports/450559 Log: games/stuntrally: switch to C++11 for Boost PR: 222189 Changes: head/games/stuntrally/Makefile head/games/stuntrally/distinfo