Bug#844878: ignition-transport: FTBFS: gtest.cc:330:52: error: 'GetArgvs' was not declared in this scope

Lucas Nussbaum lucas at debian.org
Sat Nov 19 06:43:31 UTC 2016


Source: ignition-transport
Version: 1.3.0-4
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++    -I/<<PKGBUILDDIR>>/test/gtest/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/uuid -I/usr/src/gtest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Waddress -Warray-bounds -Wcomment -Wformat -Wnonnull -Wparentheses -Wreorder -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-overflow=1 -Wswitch -Wtrigraphs -Wuninitialized -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wvolatile-register-var -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -Wno-pragmas -std=c++11 -O2 -g -DNDEBUG   -fPIC -o CMakeFiles/gtest.dir/usr/src/gtest/src/gtest-all.cc.o -c /usr/src/gtest/src/gtest-all.cc
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 14%] Built target protobuf_compilation
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc: In function 'bool testing::internal::GTestIsInitialized()':
> /usr/src/gtest/src/gtest.cc:330:52: error: 'GetArgvs' was not declared in this scope
>  static bool GTestIsInitialized() { return GetArgvs().size() > 0; }
>                                                     ^
> /usr/src/gtest/src/gtest.cc: At global scope:
> /usr/src/gtest/src/gtest.cc:995:50: error: no 'void testing::AssertionResult::swap(testing::AssertionResult&)' member function declared in class 'testing::AssertionResult'
>  void AssertionResult::swap(AssertionResult& other) {
>                                                   ^
> /usr/src/gtest/src/gtest.cc:1028:13: error: 'EditType' was not declared in this scope
>  std::vector<EditType> CalculateOptimalEdits(const std::vector<size_t>& left,
>              ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1028:21: error: template argument 1 is invalid
>  std::vector<EditType> CalculateOptimalEdits(const std::vector<size_t>& left,
>                      ^
> /usr/src/gtest/src/gtest.cc:1028:21: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc: In function 'int testing::internal::edit_distance::CalculateOptimalEdits(const std::vector<long unsigned int>&, const std::vector<long unsigned int>&)':
> /usr/src/gtest/src/gtest.cc:1032:27: error: 'EditType' was not declared in this scope
>    std::vector<std::vector<EditType> > best_move(
>                            ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1032:35: error: template argument 1 is invalid
>    std::vector<std::vector<EditType> > best_move(
>                                    ^
> /usr/src/gtest/src/gtest.cc:1032:35: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1032:37: error: template argument 1 is invalid
>    std::vector<std::vector<EditType> > best_move(
>                                      ^
> /usr/src/gtest/src/gtest.cc:1032:37: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1033:36: error: the value of 'EditType' is not usable in a constant expression
>        left.size() + 1, std::vector<EditType>(right.size() + 1));
>                                     ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1032:27: note: 'EditType' was not declared 'constexpr'
>    std::vector<std::vector<EditType> > best_move(
>                            ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1033:44: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
>        left.size() + 1, std::vector<EditType>(right.size() + 1));
>                                             ^
> /usr/src/gtest/src/gtest.cc:1033:44: note:   expected a type, got 'EditType'
> /usr/src/gtest/src/gtest.cc:1033:44: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1033:63: error: expression list treated as compound expression in initializer [-fpermissive]
>        left.size() + 1, std::vector<EditType>(right.size() + 1));
>                                                                ^
> /usr/src/gtest/src/gtest.cc:1038:18: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
>      best_move[l_i][0] = kRemove;
>                   ^
> /usr/src/gtest/src/gtest.cc:1038:25: error: 'kRemove' was not declared in this scope
>      best_move[l_i][0] = kRemove;
>                          ^~~~~~~
> /usr/src/gtest/src/gtest.cc:1043:16: error: invalid types 'int[int]' for array subscript
>      best_move[0][r_i] = kAdd;
>                 ^
> /usr/src/gtest/src/gtest.cc:1043:25: error: 'kAdd' was not declared in this scope
>      best_move[0][r_i] = kAdd;
>                          ^~~~
> /usr/src/gtest/src/gtest.cc:1051:26: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
>          best_move[l_i + 1][r_i + 1] = kMatch;
>                           ^
> /usr/src/gtest/src/gtest.cc:1051:39: error: 'kMatch' was not declared in this scope
>          best_move[l_i + 1][r_i + 1] = kMatch;
>                                        ^~~~~~
> /usr/src/gtest/src/gtest.cc:1060:26: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
>          best_move[l_i + 1][r_i + 1] = kAdd;
>                           ^
> /usr/src/gtest/src/gtest.cc:1060:39: error: 'kAdd' was not declared in this scope
>          best_move[l_i + 1][r_i + 1] = kAdd;
>                                        ^~~~
> /usr/src/gtest/src/gtest.cc:1063:26: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
>          best_move[l_i + 1][r_i + 1] = kRemove;
>                           ^
> /usr/src/gtest/src/gtest.cc:1063:39: error: 'kRemove' was not declared in this scope
>          best_move[l_i + 1][r_i + 1] = kRemove;
>                                        ^~~~~~~
> /usr/src/gtest/src/gtest.cc:1068:26: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
>          best_move[l_i + 1][r_i + 1] = kReplace;
>                           ^
> /usr/src/gtest/src/gtest.cc:1068:39: error: 'kReplace' was not declared in this scope
>          best_move[l_i + 1][r_i + 1] = kReplace;
>                                        ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1074:15: error: the value of 'EditType' is not usable in a constant expression
>    std::vector<EditType> best_path;
>                ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1032:27: note: 'EditType' was not declared 'constexpr'
>    std::vector<std::vector<EditType> > best_move(
>                            ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1074:23: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
>    std::vector<EditType> best_path;
>                        ^
> /usr/src/gtest/src/gtest.cc:1074:23: note:   expected a type, got 'EditType'
> /usr/src/gtest/src/gtest.cc:1074:23: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1076:14: error: expected ';' before 'move'
>      EditType move = best_move[l_i][r_i];
>               ^~~~
> /usr/src/gtest/src/gtest.cc:1077:15: error: request for member 'push_back' in 'best_path', which is of non-class type 'int'
>      best_path.push_back(move);
>                ^~~~~~~~~
> /usr/src/gtest/src/gtest.cc:1077:25: error: 'move' was not declared in this scope
>      best_path.push_back(move);
>                          ^~~~
> /usr/src/gtest/src/gtest.cc:1077:25: note: suggested alternative:
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:55,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /usr/include/c++/6/bits/stl_algobase.h:479:5: note:   'std::move'
>      move(_II __first, _II __last, _OI __result)
>      ^~~~
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc:1078:20: error: 'kAdd' was not declared in this scope
>      l_i -= move != kAdd;
>                     ^~~~
> /usr/src/gtest/src/gtest.cc:1079:20: error: 'kRemove' was not declared in this scope
>      r_i -= move != kRemove;
>                     ^~~~~~~
> /usr/src/gtest/src/gtest.cc:1081:26: error: request for member 'begin' in 'best_path', which is of non-class type 'int'
>    std::reverse(best_path.begin(), best_path.end());
>                           ^~~~~
> /usr/src/gtest/src/gtest.cc:1081:45: error: request for member 'end' in 'best_path', which is of non-class type 'int'
>    std::reverse(best_path.begin(), best_path.end());
>                                              ^~~
> /usr/src/gtest/src/gtest.cc: At global scope:
> /usr/src/gtest/src/gtest.cc:1104:13: error: 'EditType' was not declared in this scope
>  std::vector<EditType> CalculateOptimalEdits(
>              ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1104:21: error: template argument 1 is invalid
>  std::vector<EditType> CalculateOptimalEdits(
>                      ^
> /usr/src/gtest/src/gtest.cc:1104:21: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc: In member function 'void testing::internal::edit_distance::{anonymous}::Hunk::PushLine(char, const char*)':
> /usr/src/gtest/src/gtest.cc:1136:12: warning: switch missing default case [-Wswitch-default]
>      switch (edit) {
>             ^
> /usr/src/gtest/src/gtest.cc: In function 'std::__cxx11::string testing::internal::edit_distance::CreateUnifiedDiff(const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&, size_t)':
> /usr/src/gtest/src/gtest.cc:1206:21: error: 'EditType' was not declared in this scope
>    const std::vector<EditType> edits = CalculateOptimalEdits(left, right);
>                      ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1206:29: error: template argument 1 is invalid
>    const std::vector<EditType> edits = CalculateOptimalEdits(left, right);
>                              ^
> /usr/src/gtest/src/gtest.cc:1206:29: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1210:25: error: request for member 'size' in 'edits', which is of non-class type 'const int'
>    while (edit_i < edits.size()) {
>                          ^~~~
> /usr/src/gtest/src/gtest.cc:1212:27: error: request for member 'size' in 'edits', which is of non-class type 'const int'
>      while (edit_i < edits.size() && edits[edit_i] == kMatch) {
>                            ^~~~
> /usr/src/gtest/src/gtest.cc:1212:49: error: invalid types 'const int[size_t {aka long unsigned int}]' for array subscript
>      while (edit_i < edits.size() && edits[edit_i] == kMatch) {
>                                                  ^
> /usr/src/gtest/src/gtest.cc:1212:54: error: 'kMatch' was not declared in this scope
>      while (edit_i < edits.size() && edits[edit_i] == kMatch) {
>                                                       ^~~~~~
> /usr/src/gtest/src/gtest.cc:1228:27: error: request for member 'size' in 'edits', which is of non-class type 'const int'
>      for (; edit_i < edits.size(); ++edit_i) {
>                            ^~~~
> /usr/src/gtest/src/gtest.cc:1231:21: error: the value of 'EditType' is not usable in a constant expression
>          std::vector<EditType>::const_iterator it = edits.begin() + edit_i;
>                      ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1206:21: note: 'EditType' was not declared 'constexpr'
>    const std::vector<EditType> edits = CalculateOptimalEdits(left, right);
>                      ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1231:29: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
>          std::vector<EditType>::const_iterator it = edits.begin() + edit_i;
>                              ^
> /usr/src/gtest/src/gtest.cc:1231:29: note:   expected a type, got 'EditType'
> /usr/src/gtest/src/gtest.cc:1231:29: error: template argument 2 is invalid
> /usr/src/gtest/src/gtest.cc:1231:47: error: expected initializer before 'it'
>          std::vector<EditType>::const_iterator it = edits.begin() + edit_i;
>                                                ^~
> /usr/src/gtest/src/gtest.cc:1232:16: error: 'it' was not declared in this scope
>          while (it != edits.end() && *it == kMatch) ++it;
>                 ^~
> /usr/src/gtest/src/gtest.cc:1232:28: error: request for member 'end' in 'edits', which is of non-class type 'const int'
>          while (it != edits.end() && *it == kMatch) ++it;
>                             ^~~
> /usr/src/gtest/src/gtest.cc:1232:44: error: 'kMatch' was not declared in this scope
>          while (it != edits.end() && *it == kMatch) ++it;
>                                             ^~~~~~
> /usr/src/gtest/src/gtest.cc:1233:13: error: 'it' was not declared in this scope
>          if (it == edits.end() || (it - edits.begin()) - edit_i >= context) {
>              ^~
> /usr/src/gtest/src/gtest.cc:1233:25: error: request for member 'end' in 'edits', which is of non-class type 'const int'
>          if (it == edits.end() || (it - edits.begin()) - edit_i >= context) {
>                          ^~~
> /usr/src/gtest/src/gtest.cc:1233:46: error: request for member 'begin' in 'edits', which is of non-class type 'const int'
>          if (it == edits.end() || (it - edits.begin()) - edit_i >= context) {
>                                               ^~~~~
> /usr/src/gtest/src/gtest.cc:1239:16: error: expected ';' before 'edit'
>        EditType edit = edits[edit_i];
>                 ^~~~
> /usr/src/gtest/src/gtest.cc:1241:18: error: 'edit' was not declared in this scope
>        n_suffix = edit == kMatch ? n_suffix + 1 : 0;
>                   ^~~~
> /usr/src/gtest/src/gtest.cc:1241:26: error: 'kMatch' was not declared in this scope
>        n_suffix = edit == kMatch ? n_suffix + 1 : 0;
>                           ^~~~~~
> /usr/src/gtest/src/gtest.cc:1243:37: error: 'kRemove' was not declared in this scope
>        if (edit == kMatch || edit == kRemove || edit == kReplace) {
>                                      ^~~~~~~
> /usr/src/gtest/src/gtest.cc:1243:56: error: 'kReplace' was not declared in this scope
>        if (edit == kMatch || edit == kRemove || edit == kReplace) {
>                                                         ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1246:19: error: 'kAdd' was not declared in this scope
>        if (edit == kAdd || edit == kReplace) {
>                    ^~~~
> /usr/src/gtest/src/gtest.cc:1246:35: error: 'kReplace' was not declared in this scope
>        if (edit == kAdd || edit == kReplace) {
>                                    ^~~~~~~~
> /usr/src/gtest/src/gtest.cc:1251:22: error: 'kAdd' was not declared in this scope
>        l_i += edit != kAdd;
>                       ^~~~
> /usr/src/gtest/src/gtest.cc:1252:22: error: 'kRemove' was not declared in this scope
>        r_i += edit != kRemove;
>                       ^~~~~~~
> /usr/src/gtest/src/gtest.cc: In function 'testing::AssertionResult testing::internal::EqFailure(const char*, const char*, const string&, const string&, bool)':
> /usr/src/gtest/src/gtest.cc:1338:67: error: too few arguments to function 'std::__cxx11::string testing::internal::edit_distance::CreateUnifiedDiff(const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&, size_t)'
>            << edit_distance::CreateUnifiedDiff(lhs_lines, rhs_lines);
>                                                                    ^
> /usr/src/gtest/src/gtest.cc:1203:13: note: declared here
>  std::string CreateUnifiedDiff(const std::vector<std::string>& left,
>              ^~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc: In constructor 'testing::Test::Test()':
> /usr/src/gtest/src/gtest.cc:2215:29: error: 'GTEST_FLAG_SAVER_' does not name a type
>      : gtest_flag_saver_(new GTEST_FLAG_SAVER_) {
>                              ^~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc: At global scope:
> /usr/src/gtest/src/gtest.cc:2505:30: error: 'testing::internal::CodeLocation' has not been declared
>                     internal::CodeLocation a_code_location,
>                               ^~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc:2501:1: error: prototype for 'testing::TestInfo::TestInfo(const string&, const string&, const char*, const char*, int, testing::internal::TypeId, testing::internal::TestFactoryBase*)' does not match any in class 'testing::TestInfo'
>  TestInfo::TestInfo(const std::string& a_test_case_name,
>  ^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:40:0,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:740:35: error: candidates are: testing::TestInfo::TestInfo(const testing::TestInfo&)
>    GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
>                                    ^
> In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:698:3: error:                 testing::TestInfo::TestInfo(const string&, const string&, const char*, const char*, testing::internal::TypeId, testing::internal::TestFactoryBase*)
>    TestInfo(const std::string& test_case_name,
>    ^~~~~~~~
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc:2548:5: error: 'CodeLocation' has not been declared
>      CodeLocation code_location,
>      ^~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc: In function 'testing::TestInfo* testing::internal::MakeAndRegisterTestInfo(const char*, const char*, const char*, const char*, int, testing::internal::TypeId, testing::internal::SetUpTestCaseFunc, testing::internal::TearDownTestCaseFunc, testing::internal::TestFactoryBase*)':
> /usr/src/gtest/src/gtest.cc:2555:60: error: no matching function for call to 'testing::TestInfo::TestInfo(const char*&, const char*&, const char*&, const char*&, int&, const void*&, testing::internal::TestFactoryBase*&)'
>                     code_location, fixture_class_id, factory);
>                                                             ^
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:40:0,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:740:35: note: candidate: testing::TestInfo::TestInfo(const testing::TestInfo&)
>    GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
>                                    ^
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:740:35: note:   candidate expects 1 argument, 7 provided
> In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:698:3: note: candidate: testing::TestInfo::TestInfo(const string&, const string&, const char*, const char*, testing::internal::TypeId, testing::internal::TestFactoryBase*)
>    TestInfo(const std::string& test_case_name,
>    ^~~~~~~~
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:698:3: note:   candidate expects 6 arguments, 7 provided
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc: At global scope:
> /usr/src/gtest/src/gtest.cc:2562:32: error: 'CodeLocation' has not been declared
>                                 CodeLocation code_location) {
>                                 ^~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc: In function 'void testing::internal::ReportInvalidTestCaseType(const char*, int)':
> /usr/src/gtest/src/gtest.cc:2575:44: error: request for member 'file' in 'code_location', which is of non-class type 'int'
>            FormatFileLocation(code_location.file.c_str(),
>                                             ^~~~
> /usr/src/gtest/src/gtest.cc:2576:44: error: request for member 'line' in 'code_location', which is of non-class type 'int'
>                               code_location.line).c_str(),
>                                             ^~~~
> /usr/src/gtest/src/gtest.cc: In constructor 'testing::internal::UnitTestImpl::UnitTestImpl(testing::UnitTest*)':
> /usr/src/gtest/src/gtest.cc:4327:7: error: class 'testing::internal::UnitTestImpl' does not have any field named 'GTEST_DISABLE_MSC_WARNINGS_PUSH_'
>        GTEST_DISABLE_MSC_WARNINGS_PUSH_(4355 /* using this in initializer */)
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc:4327:76: error: no matching function for call to 'testing::internal::DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter()'
>        GTEST_DISABLE_MSC_WARNINGS_PUSH_(4355 /* using this in initializer */)
>                                                                             ^
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:40:0,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /usr/src/gtest/src/gtest-internal-inl.h:476:35: note: candidate: testing::internal::DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter(const testing::internal::DefaultGlobalTestPartResultReporter&)
>    GTEST_DISALLOW_COPY_AND_ASSIGN_(DefaultGlobalTestPartResultReporter);
>                                    ^
> /usr/src/gtest/src/gtest-internal-inl.h:476:35: note:   candidate expects 1 argument, 0 provided
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc:686:1: note: candidate: testing::internal::DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter(testing::internal::UnitTestImpl*)
>  DefaultGlobalTestPartResultReporter::DefaultGlobalTestPartResultReporter(
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc:686:1: note:   candidate expects 1 argument, 0 provided
> /usr/src/gtest/src/gtest.cc:4327:76: error: no matching function for call to 'testing::internal::DefaultPerThreadTestPartResultReporter::DefaultPerThreadTestPartResultReporter()'
>        GTEST_DISABLE_MSC_WARNINGS_PUSH_(4355 /* using this in initializer */)
>                                                                             ^
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:40:0,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /usr/src/gtest/src/gtest-internal-inl.h:492:35: note: candidate: testing::internal::DefaultPerThreadTestPartResultReporter::DefaultPerThreadTestPartResultReporter(const testing::internal::DefaultPerThreadTestPartResultReporter&)
>    GTEST_DISALLOW_COPY_AND_ASSIGN_(DefaultPerThreadTestPartResultReporter);
>                                    ^
> /usr/src/gtest/src/gtest-internal-inl.h:492:35: note:   candidate expects 1 argument, 0 provided
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc:695:1: note: candidate: testing::internal::DefaultPerThreadTestPartResultReporter::DefaultPerThreadTestPartResultReporter(testing::internal::UnitTestImpl*)
>  DefaultPerThreadTestPartResultReporter::DefaultPerThreadTestPartResultReporter(
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc:695:1: note:   candidate expects 1 argument, 0 provided
> /usr/src/gtest/src/gtest.cc:4327:76: error: no matching function for call to 'testing::internal::Random::Random()'
>        GTEST_DISABLE_MSC_WARNINGS_PUSH_(4355 /* using this in initializer */)
>                                                                             ^
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:40:0,
>                  from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:690:35: note: candidate: testing::internal::Random::Random(const testing::internal::Random&)
>    GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
>                                    ^
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:690:35: note:   candidate expects 1 argument, 0 provided
> In file included from /<<PKGBUILDDIR>>/test/gtest/include/gtest/gtest.h:58:0,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:680:12: note: candidate: testing::internal::Random::Random(testing::internal::UInt32)
>    explicit Random(UInt32 seed) : state_(seed) {}
>             ^~~~~~
> /<<PKGBUILDDIR>>/test/gtest/include/gtest/internal/gtest-internal.h:680:12: note:   candidate expects 1 argument, 0 provided
> In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
> /usr/src/gtest/src/gtest.cc:4328:7: error: expected '{' before 'default_global_test_part_result_reporter_'
>        default_global_test_part_result_reporter_(this),
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest.cc: At global scope:
> /usr/src/gtest/src/gtest.cc:4328:48: error: expected constructor, destructor, or type conversion before '(' token
>        default_global_test_part_result_reporter_(this),
>                                                 ^
> In file included from /usr/src/gtest/src/gtest-all.cc:43:0:
> /usr/src/gtest/src/gtest-death-test.cc:1005:1: error: 'GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_' does not name a type
>  GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/gtest/src/gtest-death-test.cc: In function 'pid_t testing::internal::ExecDeathTestSpawnChild(char* const*, int)':
> /usr/src/gtest/src/gtest-death-test.cc:1072:57: error: 'StackGrowsDown' was not declared in this scope
>      static const bool stack_grows_down = StackGrowsDown();
>                                                          ^
> In file included from /usr/src/gtest/src/gtest-all.cc:45:0:
> /usr/src/gtest/src/gtest-port.cc: At global scope:
> /usr/src/gtest/src/gtest-port.cc:928:33: error: expected constructor, destructor, or type conversion before '(' token
>  GTEST_DISABLE_MSC_WARNINGS_PUSH_(4996)
>                                  ^
> In file included from /usr/src/gtest/src/gtest-all.cc:48:0:
> /usr/src/gtest/src/gtest-typed-test.cc:118:1: error: expected '}' at end of input
>  }  // namespace testing
>  ^
> /usr/src/gtest/src/gtest-typed-test.cc:118:1: error: expected '}' at end of input
> test/CMakeFiles/gtest.dir/build.make:65: recipe for target 'test/CMakeFiles/gtest.dir/usr/src/gtest/src/gtest-all.cc.o' failed
> make[3]: *** [test/CMakeFiles/gtest.dir/usr/src/gtest/src/gtest-all.cc.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/ignition-transport_1.3.0-4_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!

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 debian-science-maintainers mailing list