Control: retitle -1  src:r-cran-rstanarm: FTBFS on mips64el and risc64
Control: reopen -1
Control: tags -1 upstream
Control: forwarded -1 https://github.com/stan-dev/rstanarm/issues/619
thanks

As per autobuilders log[1] the package fails to build on mips64el and risc64 
with

...
g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" 
-I"/usr/lib/R/site-library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS 
-DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 
-D_HAS_AUTO_PTR_ETC=0 -I'/usr/lib/R/site-library/StanHeaders/include' 
-I'/usr/lib/R/site-library/rstan/include' 
-I'/usr/lib/R/site-library/BH/include' -I'/usr/lib/R/site-library/Rcpp/include' 
-I'/usr/lib/R/site-library/RcppEigen/include' 
-I'/usr/lib/R/site-library/RcppParallel/include'    -I/usr/include 
-DTBB_INTERFACE_NEW -I'/usr/lib/R/site-library/RcppParallel/include' 
-D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW    -fpic  -g -O2 
-ffile-prefix-map=/<<BUILDDIR>>/r-base-4.3.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c 
stan_files/count.cc -o stan_files/count.o
In file included from 
/usr/include/boost/math/special_functions/detail/bessel_jy.hpp:14,
                 from /usr/include/boost/math/special_functions/bessel.hpp:20,
                 from 
/usr/lib/R/site-library/StanHeaders/include/stan/math/prim/fun/bessel_first_kind.hpp:6,
                 from 
/usr/lib/R/site-library/StanHeaders/include/stan/math/prim/fun.hpp:31,
                 from 
/usr/lib/R/site-library/StanHeaders/include/stan/math/prim.hpp:14,
                 from 
/usr/lib/R/site-library/StanHeaders/include/src/stan/io/dump.hpp:7,
                 from 
/usr/lib/R/site-library/rstan/include/rstan/stan_fit.hpp:43,
                 from 
/usr/lib/R/site-library/rstan/include/rstan/rstaninc.hpp:4,
                 from stan_files/count.hpp:18,
                 from stan_files/count.cc:3:
/usr/include/boost/math/special_functions/gamma.hpp: In instantiation of 
‘boost::math::detail::upper_incomplete_gamma_fract<T>::result_type 
boost::math::detail::upper_incomplete_gamma_fract<T>::operator()() [with T = 
double; result_type = std::pair<double, double>]’:
/usr/include/boost/math/tools/fraction.hpp:217:20:   required from ‘typename 
boost::math::tools::detail::fraction_traits<Gen>::result_type 
boost::math::tools::continued_fraction_a(Gen&, const U&, uintmax_t&) [with Gen 
= boost::math::detail::upper_incomplete_gamma_fract<double>; U = double; 
typename detail::fraction_traits<Gen>::result_type = double; uintmax_t = long 
unsigned int]’
/usr/include/boost/math/tools/fraction.hpp:252:31:   required from ‘typename 
boost::math::tools::detail::fraction_traits<Gen>::result_type 
boost::math::tools::continued_fraction_a(Gen&, const U&) [with Gen = 
boost::math::detail::upper_incomplete_gamma_fract<double>; U = double; typename 
detail::fraction_traits<Gen>::result_type = double]’
/usr/include/boost/math/special_functions/gamma.hpp:314:68:   required from ‘T 
boost::math::detail::upper_gamma_fraction(T, T, T) [with T = double]’
/usr/include/boost/math/special_functions/gamma.hpp:1176:44:   required from ‘T 
boost::math::detail::gamma_incomplete_imp(T, T, bool, bool, const Policy&, T*) 
[with T = double; Policy = 
boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>,
 boost::math::policies::promote_float<false>, 
boost::math::policies::promote_double<false>, 
boost::math::policies::default_policy, boost::math::policies::default_policy, 
boost::math::policies::default_policy, boost::math::policies::default_policy, 
boost::math::policies::default_policy, boost::math::policies::default_policy, 
boost::math::policies::default_policy, boost::math::policies::default_policy, 
boost::math::policies::default_policy, boost::math::policies::default_policy>]’
/usr/include/boost/math/special_functions/gamma.hpp:2130:35:   required from 
‘boost::math::tools::promote_args_t<RT1, RT2> boost::math::gamma_p(RT1, RT2, 
const Policy&) [with RT1 = double; RT2 = double; Policy = 
policies::policy<policies::overflow_error<boost::math::policies::errno_on_error>,
 policies::pole_error<boost::math::policies::errno_on_error>, 
policies::promote_double<false>, policies::digits2<0>, 
policies::default_policy, policies::default_policy, policies::default_policy, 
policies::default_policy, policies::default_policy, policies::default_policy, 
policies::default_policy, policies::default_policy, policies::default_policy>; 
tools::promote_args_t<RT1, RT2> = double]’
/usr/lib/R/site-library/StanHeaders/include/stan/math/prim/fun/gamma_p.hpp:76:30:
   required from here
/usr/include/boost/math/special_functions/gamma.hpp:299:16: note: the ABI for 
returning a value with C++17 empty bases but otherwise an aggregate with only 
one or two floating-point fields was changed in GCC 12.1
  299 |    result_type operator()()
      |                ^~~~~~~~
"/usr/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); 
make_cc(commandArgs(TRUE))" stan_files/jm.stan
code for methods in class "Rcpp_model_base" was not checked for suspicious 
field assignments (recommended package 'codetools' not available?)
code for methods in class "Rcpp_model_base" was not checked for suspicious 
field assignments (recommended package 'codetools' not available?)
code for methods in class "Rcpp_stan_fit" was not checked for suspicious field 
assignments (recommended package 'codetools' not available?)
code for methods in class "Rcpp_stan_fit" was not checked for suspicious field 
assignments (recommended package 'codetools' not available?)
Error: segfault from C stack overflow
Execution halted
make[1]: *** [Makevars:24: stan_files/jm.cc] Error 1


Kind regards
    Andreas.


[1] 
https://buildd.debian.org/status/fetch.php?pkg=r-cran-rstanarm&arch=mips64el&ver=2.32.1-1&stamp=1706840125&raw=0

-- 
https://fam-tille.de

Reply via email to