Bug#1000231: ceres-solver: error: variable or field ‘it’ declared void

Sebastian Ramacher sramacher at debian.org
Fri Nov 19 23:24:08 GMT 2021


Source: ceres-solver
Version: 1.14.0-14
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

| In file included from /<<PKGBUILDDIR>>/internal/ceres/residual_block_test.cc:33:
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h: In instantiation of ‘void testing::internal::DefaultPrintTo(testing::internal::IsContainer, testing::internal::false_type, const C&, std::ostream*) [with C = Eigen::Matrix<double, -1, -1, 1>; testing::internal::IsContainer = int; testing::internal::false_type = testing::internal::bool_constant<false>; std::ostream = std::basic_ostream<char>]’:
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10546:17:   required from ‘void testing::internal::PrintTo(const T&, std::ostream*) [with T = Eigen::Matrix<double, -1, -1, 1>; std::ostream = std::basic_ostream<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10776:12:   required from ‘static void testing::internal::UniversalPrinter<T>::Print(const T&, std::ostream*) [with T = Eigen::Matrix<double, -1, -1, 1>; std::ostream = std::basic_ostream<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10925:30:   required from ‘void testing::internal::UniversalPrint(const T&, std::ostream*) [with T = Eigen::Matrix<double, -1, -1, 1>; std::ostream = std::basic_ostream<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10853:19:   required from ‘static void testing::internal::UniversalTersePrinter<T>::Print(const T&, std::ostream*) [with T = Eigen::Matrix<double, -1, -1, 1>; std::ostream = std::basic_ostream<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:11051:44:   required from ‘std::string testing::PrintToString(const T&) [with T = Eigen::Matrix<double, -1, -1, 1>; std::string = std::__cxx11::basic_string<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10345:36:   required from ‘static std::string testing::internal::FormatForComparison<ToPrint, OtherOperand>::Format(const ToPrint&) [with ToPrint = Eigen::Matrix<double, -1, -1, 1>; OtherOperand = Eigen::Matrix<double, -1, -1, 1>; std::string = std::__cxx11::basic_string<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10420:45:   required from ‘std::string testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&) [with T1 = Eigen::Matrix<double, -1, -1, 1>; T2 = Eigen::Matrix<double, -1, -1, 1>; std::string = std::__cxx11::basic_string<char>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:19989:53:   required from ‘testing::AssertionResult testing::internal::CmpHelperEQFailure(const char*, const char*, const T1&, const T2&) [with T1 = Eigen::Matrix<double, -1, -1, 1>; T2 = Eigen::Matrix<double, -1, -1, 1>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:20006:28:   required from ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = Eigen::Matrix<double, -1, -1, 1>; T2 = Eigen::Matrix<double, -1, -1, 1>]’
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:20030:23:   required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = Eigen::Matrix<double, -1, -1, 1>; T2 = Eigen::Matrix<double, -1, -1, 1>; bool lhs_is_null_literal = false]’
| /<<PKGBUILDDIR>>/internal/ceres/residual_block_test.cc:297:3:   required from here
| /<<PKGBUILDDIR>>/internal/ceres/gtest/gtest.h:10445:35: error: variable or field ‘it’ declared void
| 10445 |   for (typename C::const_iterator it = container.begin();
|       |                                   ^~

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211120/9f687cfc/attachment-0001.sig>


More information about the debian-science-maintainers mailing list