[Debian-med-packaging] Bug#803145: Bug#803145: opensurgsim: FTBFS: static assertion failed: THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS

Paul Novotny paul at paulnovo.us
Tue Oct 27 13:41:49 UTC 2015


On Tue, 2015-10-27 at 11:20 +0000, Chris Lamb wrote:
> Source: opensurgsim
> Version: 0.6.0-3
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> opensurgsim fails to build from source in unstable/amd64.
> 
> In file included from /usr/include/eigen3/Eigen/Core:297:0,
>                  from
>                  /build/opensurgsim-
> 0.6.0/SurgSim/Math/Quaternion.h:24,
>                  from
>                  /build/opensurgsim-
> 0.6.0/SurgSim/Collision/UnitTests/RepresentationUtilities.h:21,
>                  from
>                  /build/opensurgsim-
> 0.6.0/SurgSim/Collision/UnitTests/ContactCalculationTestsCommon.h:22,
>                  from
>                  /build/opensurgsim-
> 0.6.0/SurgSim/Collision/UnitTests/BoxPlaneContactCalculationTests.cpp
> :16:
> /usr/include/eigen3/Eigen/src/Core/Product.h: In instantiation of
> 'Eigen::ProductImpl<Lhs, Rhs, Option, Eigen::Dense>::Scalar
> Eigen::ProductImpl<Lhs, Rhs, Option, Eigen::Dense>::coeff(Eigen::Ind
> ex, Eigen::Index) const [with Lhs = Eigen::Matrix<double, 3, 3>; Rhs
> =
> Eigen::Matrix<double, 3, 3>; int Option = 0; Eigen::ProductImpl<Lhs,
> Rhs, Option, Eigen::Dense>::Scalar = double; Eigen::In
> dex = long int]':
> /usr/include/eigen3/Eigen/src/Geometry/Quaternion.h:749:31:   require
> d
> from 'static void Eigen::internal::quaternionbase_assign_impl<Other,
> 3,
> 3>::run(Eigen::QuaternionBase<OtherDerived>&, const
>  Other&) [with Derived = Eigen::Quaternion<double>; Other =
>  Eigen::Product<Eigen::Matrix<double, 3, 3>, Eigen::Matrix<double, 3,
>  3>, 0>]'
> /usr/include/eigen3/Eigen/src/Geometry/Quaternion.h:517:59:   require
> d
> from 'Derived& Eigen::QuaternionBase<Derived>::operator=(const
> Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen
> ::Product<Eigen::Matrix<double, 3, 3>, Eigen::Matrix<double, 3, 3>,
> 0>;
> Derived = Eigen::Quaternion<double>]'
> /usr/include/eigen3/Eigen/src/Geometry/Quaternion.h:267:72:   require
> d
> from 'Eigen::Quaternion<Scalar, Options>::Quaternion(const
> Eigen::MatrixBase<OtherDerived>&) [with Derived = Eigen::Product
> <Eigen::Matrix<double, 3, 3>, Eigen::Matrix<double, 3, 3>, 0>;
> _Scalar =
> double; int _Options = 0]'
> /build/opensurgsim-
> 0.6.0/SurgSim/Collision/UnitTests/BoxPlaneContactCalculationTests.cpp
> :135:72:
>   required from here
> /usr/include/eigen3/Eigen/src/Core/Product.h:203:7: error: static
> assertion failed: THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS
>        EIGEN_STATIC_ASSERT(EnableCoeff,
>        THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS);
>        ^
> SurgSim/Collision/UnitTests/CMakeFiles/SurgSimCollisionTest.dir/build
> .make:89:
> recipe for target
> 'SurgSim/Collision/UnitTests/CMakeFiles/SurgSimCollisionTest.dir/BoxD
> oubleSidedPlaneContactCalcul
> ationTests.cpp.o' failed
> 
> [..]
> 
> The full build log is attached or (an alternate build) can be viewed
> here:
> 
>     https://reproducible.debian.net/logs/unstable/amd64/opensurgsim_0
> .6.0-3.build1.log.gz
> 

Thanks for the bug report, I believe this is due to the recent Eigen
update to 3.3-alpha1 in sid. I'll see what I can do. The likely
solution is to upgrade OpenSurgSim to a new release, which should come
out in a couple weeks.

-Paul



More information about the Debian-med-packaging mailing list