Problem building latest version of r-cran-rstan
Hi,
I've commited the packaging for the latest version of r-cran-rstan[1].
Unfortunately I hit one of the rare cases where an R package does not
build out of the box (and it is not obvious that a Build-Depend is
missing):
...
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" -I"`"/usr/lib/R/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" - DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -I"/usr/lib/R/site-library/Rcpp/include" -I"/usr/lib/R/site-library/RcppEigen/include" -I"/usr/lib/R/site-library/BH/ include" -I"/usr/lib/R/site-library/StanHeaders/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-udh3fS/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format- security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c lang__grammars__expression07_grammar_inst.cpp -o lang__grammars__expression07_grammar_inst.o
In file included from /usr/include/boost/phoenix/core/detail/preprocessed/function_eval.hpp:12,
from /usr/include/boost/phoenix/core/detail/function_eval.hpp:14,
from /usr/include/boost/phoenix/function/function.hpp:14,
from /usr/include/boost/phoenix/function.hpp:11,
from /usr/include/boost/spirit/include/phoenix_function.hpp:11,
from /usr/include/boost/spirit/home/support/terminal.hpp:18,
from /usr/include/boost/spirit/home/support/common_terminals.hpp:15,
from /usr/include/boost/spirit/home/qi/auto/auto.hpp:13,
from /usr/include/boost/spirit/home/qi/auto.hpp:15,
from /usr/include/boost/spirit/home/qi.hpp:15,
from /usr/include/boost/spirit/include/qi.hpp:16,
from /usr/lib/R/site-library/StanHeaders/include/src/stan/lang/grammars/expression07_grammar_def.hpp:6,
from /usr/lib/R/site-library/StanHeaders/include/src/stan/lang/grammars/expression07_grammar_inst.cpp:1,
from lang__grammars__expression07_grammar_inst.cpp:18:
/usr/include/boost/phoenix/core/detail/preprocessed/function_eval_10.hpp: In instantiation of ‘struct boost::phoenix::detail::function_eval::result<boost::phoenix::detail:: function_eval(const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<stan::lang::validate_expr_type3>, 0>&, const boost::phoenix:: actor<boost::spirit::attribute<0> >&, const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::phoenix:: argument<3> >, 0> >&, const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::reference_wrapper<std:: __cxx11::basic_stringstream<char> > >, 0> >&, const boost::phoenix::vector2<boost::phoenix::vector4<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list4<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<stan::lang::validate_expr_type3>, 0>, boost::phoenix::actor<boost::spirit::attribute<0> >, boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost:: phoenix::argument<3> >, 0> >, boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::reference_wrapper<std:: __cxx11::basic_stringstream<char> > >, 0> > >, 4> >*, const boost::fusion::vector<boost::spirit::unused_type&>&, const boost::spirit::context<boost::fusion::cons<stan::lang:: expression&, boost::fusion::cons<stan::lang::scope, boost::fusion::nil_> >, boost::fusion::vector<> >&, const bool&>&, const boost::phoenix::default_actions&>&)>’:
...
Any idea how to fix this or is this something I should report
upstream?
Kind regards
Andreas.
[1] https://salsa.debian.org/r-pkg-team/r-cran-rstan
--
http://fam-tille.de
Reply to: