[R-pkg-team] Bug#978198: r-cran-rstan: FTBFS: Eigen_NumTraits.hpp:200:77: error: wrong number of template arguments (8, should be 9)

Lucas Nussbaum lucas at debian.org
Sat Dec 26 21:33:17 GMT 2020


Source: r-cran-rstan
Version: 2.21.2-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"." -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DBOOST_NO_AUTO_PTR -D_REENTRANT -DSTAN_THREADS   -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' -I'/usr/lib/R/site-library/RcppParallel/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oKyfjH/r-base-4.0.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Module.cpp -o Module.o
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:397,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘__m128’ [-Wignored-attributes]
>    60 | template<> struct is_arithmetic<__m128>  { enum { value = true }; };
>       |                                       ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ignoring attributes on template argument ‘__m128i’ [-Wignored-attributes]
>    61 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
>       |                                        ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:62:40: warning: ignoring attributes on template argument ‘__m128d’ [-Wignored-attributes]
>    62 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
>       |                                        ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:161:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘__m128’} [-Wignored-attributes]
>   161 | template<> struct unpacket_traits<Packet4f> { typedef float  type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
>       |                                           ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:162:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes]
>   162 | template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned16}; typedef Packet2d half; };
>       |                                           ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:163:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘__m128i’} [-Wignored-attributes]
>   163 | template<> struct unpacket_traits<Packet4i> { typedef int    type; enum {size=4, alignment=Aligned16}; typedef Packet4i half; };
>       |                                           ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:718:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘__m128’} [-Wignored-attributes]
>   718 | struct palign_impl<Offset,Packet4f>
>       |                                   ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:741:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘__m128i’} [-Wignored-attributes]
>   741 | struct palign_impl<Offset,Packet4i>
>       |                                   ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:764:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes]
>   764 | struct palign_impl<Offset,Packet2d>
>       |                                   ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:778:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘__m128’} [-Wignored-attributes]
>   778 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
>       |                                  ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:783:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes]
>   783 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
>       |                                  ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:790:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka ‘__m128i’} [-Wignored-attributes]
>   790 | ptranspose(PacketBlock<Packet4i,4>& kernel) {
>       |                                  ^
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:377,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘__m128’} [-Wignored-attributes]
>    15 |   template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> {                                          \
>       |                                                                      ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
>   232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka ‘__m128’} [-Wignored-attributes]
>    22 |   template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> {                                          \
>       |                                                                      ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
>   232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes]
>    15 |   template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> {                                          \
>       |                                                                      ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
>   417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka ‘__m128d’} [-Wignored-attributes]
>    22 |   template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> {                                          \
>       |                                                                      ^
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
>   417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:370,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<float, 4>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:243:49:   required from ‘struct Eigen::internal::traits<Eigen::Quaternion<float> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:24:46:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type’ {aka ‘__m128’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type’ {aka ‘__m128’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type’ {aka ‘__m128’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(4) float>::half’ {aka ‘__m128’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type’ {aka ‘__m128’} [-Wignored-attributes]
>   205 |   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
>       |                                                                                        ^~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:439,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<float, 4, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from ‘class Eigen::QuaternionBase<Eigen::Quaternion<float> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:250:7:   required from ‘class Eigen::Quaternion<float>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:27:3:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type’ {aka ‘__m128’} [-Wignored-attributes]
>    55 |                      >::type PacketReturnType;
>       |                              ^~~~~~~~~~~~~~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:370,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, 4>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:243:49:   required from ‘struct Eigen::internal::traits<Eigen::Quaternion<double> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:88:47:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   205 |   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
>       |                                                                                        ^~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:439,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, 4, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from ‘class Eigen::QuaternionBase<Eigen::Quaternion<double> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:250:7:   required from ‘class Eigen::Quaternion<double>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:92:3:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>    55 |                      >::type PacketReturnType;
>       |                              ^~~~~~~~~~~~~~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:370,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, -1>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, -1, -1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, -1, -1>’
> /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat/fun/typedefs.hpp:11:72:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   187 |          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
>       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:187:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:205:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>   205 |   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
>       |                                                                                        ^~~~
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:439,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 0>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 3>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, -1, -1>’
> /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat/fun/typedefs.hpp:11:72:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
>    55 |                      >::type PacketReturnType;
>       |                              ^~~~~~~~~~~~~~~~
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, -1, 1>’
> /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat/meta/operands_and_partials.hpp:20:14:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>’:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >’
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7:   required from ‘class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >’
> /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat/meta/operands_and_partials.hpp:23:45:   required from here
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
> In file included from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/matrix_vari.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:16,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat/fun/Eigen_NumTraits.hpp:200:77: error: wrong number of template arguments (8, should be 9)
>   200 |                                      RhsStorageOrder, ConjugateRhs, ColMajor> {
>       |                                                                             ^
> In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:454,
>                  from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/meta/append_return_type.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/meta.hpp:9,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:7,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
>                  from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
>                  from ./stan/model/model_base.hpp:5,
>                  from Module.cpp:2:
> /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/util/BlasUtil.h:35:8: note: provided for ‘template<class Index, class LhsScalar, int LhsStorageOrder, bool ConjugateLhs, class RhsScalar, int RhsStorageOrder, bool ConjugateRhs, int ResStorageOrder, int ResInnerStride> struct Eigen::internal::general_matrix_matrix_product’
>    35 | struct general_matrix_matrix_product;
>       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[1]: *** [/usr/lib/R/etc/Makeconf:181: Module.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/r-cran-rstan_2.21.2-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the R-pkg-team mailing list