falconindy / auracle

A flexible command line client for Arch Linux's User Repository
MIT License
238 stars 26 forks source link

build fails on armv7h (rpi3) #78

Closed solsticedhiver closed 4 years ago

solsticedhiver commented 4 years ago

Using the PKGBUILD from AUR to build current git (83acb95f27cb31df36059061483033ee8c341cc1), on a rpi3 the build fails with an error when compiling ../src/aur/request.cc about no match for aur::RpcRequest::RpcRequest(const QueryParams&, long unsigned int)

complete log:

makepkg -A
==> Making package: auracle-git r333.83acb95-1 (Fri Jun 19 22:04:52 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating auracle git repo...
Fetching origin
==> Validating source files with sha256sums...
    auracle ... Skipped
==> Extracting sources...
  -> Creating working copy of auracle git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.54.3
Source dir: /tmp/auracle-git/src/auracle
Build dir: /tmp/auracle-git/src/auracle/build
Build type: native build
Project name: auracle
Project version: 0
Using 'CXXFLAGS' from environment with value: '-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CXXFLAGS' from environment with value: '-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (GCC) 9.3.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: arm
Host machine cpu: armv7l
Compiler for C++ supports arguments -ffunction-sections: YES 
Compiler for C++ supports arguments -fdata-sections: YES 
Compiler for C++ supports link arguments -Wl,--gc-sections: YES 
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency nlohmann_json found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency nlohmann_json

|Executing subproject nlohmann_json method meson 
|
|Project name: nlohmann_json
|Project version: 3.7.3
|C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (GCC) 9.3.0")
|C++ linker for the host machine: c++ ld.bfd 2.34
|Build targets in project: 0
|Subproject nlohmann_json finished.

Dependency nlohmann_json from subproject subprojects/nlohmann_json found: YES 3.7.3
Run-time dependency libalpm found: YES 12.0.1
Run-time dependency libcurl found: YES 7.70.0
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency fmt

|Executing subproject fmt method meson 
|
|Project name: fmt
|Project version: 6.2.0
|C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (GCC) 9.3.0")
|C++ linker for the host machine: c++ ld.bfd 2.34
|Build targets in project: 1
|Subproject fmt finished.

Dependency fmt from subproject subprojects/fmt found: YES 6.2.0
Run-time dependency libsystemd found: YES 245
Run-time dependency GTest found: YES 1.10.0
Run-time dependency GMock found: YES 1.10.0

|Executing subproject abseil-cpp method meson 
|
|Project name: abseil-cpp
|Project version: 20200225.2
|C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (GCC) 9.3.0")
|C++ linker for the host machine: c++ ld.bfd 2.34
|Compiler for C++ supports arguments -Wno-sign-compare -Wsign-compare: YES 
|Run-time dependency threads found: YES
|Build targets in project: 13
|Subproject abseil-cpp finished.

Program pod2man found: YES (/usr/bin/core_perl/pod2man)
Program python3 found: YES (/usr/bin/python3)
Build targets in project: 26

auracle 0

  Subprojects
       abseil-cpp: YES
              fmt: YES
    nlohmann_json: YES

Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `build'
[53/150] Compiling C++ object 'subprojects/abseil-cpp-20200225.2/ef33c1a@@absl_strings_lib@sta/absl_strings_internal_str_format_parser.cc.o'
../subprojects/abseil-cpp-20200225.2/absl/strings/internal/str_format/parser.cc: In member function 'bool absl::lts_2020_02_25::str_format_internal::ParsedFormatBase::MatchesConversions(bool, std::initializer_list<absl::lts_2020_02_25::str_format_internal::FormatConversionCharSet>) const':
../subprojects/abseil-cpp-20200225.2/absl/strings/internal/str_format/parser.cc:306:6: note: parameter passing for argument of type 'std::initializer_list<absl::lts_2020_02_25::str_format_internal::FormatConversionCharSet>' changed in GCC 7.1
  306 | bool ParsedFormatBase::MatchesConversions(
      |      ^~~~~~~~~~~~~~~~
../subprojects/abseil-cpp-20200225.2/absl/strings/internal/str_format/parser.cc: In constructor 'absl::lts_2020_02_25::str_format_internal::ParsedFormatBase::ParsedFormatBase(std::string_view, bool, std::initializer_list<absl::lts_2020_02_25::str_format_internal::FormatConversionCharSet>)':
../subprojects/abseil-cpp-20200225.2/absl/strings/internal/str_format/parser.cc:299:1: note: parameter passing for argument of type 'std::initializer_list<absl::lts_2020_02_25::str_format_internal::FormatConversionCharSet>' changed in GCC 7.1
  299 | ParsedFormatBase::ParsedFormatBase(string_view format, bool allow_ignored,
      | ^~~~~~~~~~~~~~~~
[63/150] Compiling C++ object 'subprojects/abseil-cpp-20200225.2/ef33c1a@@absl_random_lib@sta/absl_random_discrete_distribution.cc.o'
In file included from /usr/include/c++/9.3.0/vector:72,
                 from ../subprojects/abseil-cpp-20200225.2/absl/random/discrete_distribution.h:25,
                 from ../subprojects/abseil-cpp-20200225.2/absl/random/discrete_distribution.cc:15:
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const double&, int}; _Tp = std::pair<double, unsigned int>; _Alloc = std::allocator<std::pair<double, unsigned int> >]':
/usr/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<std::pair<double, unsigned int> >::iterator' {aka '__gnu_cxx::__normal_iterator<std::pair<double, unsigned int>*, std::vector<std::pair<double, unsigned int> > >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/vector.tcc: In function 'std::vector<std::pair<double, unsigned int> > absl::lts_2020_02_25::random_internal::InitDiscreteDistribution(std::vector<double>*)':
/usr/include/c++/9.3.0/bits/vector.tcc:121:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<std::pair<double, unsigned int>*, std::vector<std::pair<double, unsigned int> > >' changed in GCC 7.1
  121 |    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
[67/150] Compiling C++ object 'subprojects/abseil-cpp-20200225.2/ef33c1a@@absl_random_lib@sta/absl_random_internal_distribution_test_util.cc.o'
../subprojects/abseil-cpp-20200225.2/absl/random/internal/distribution_test_util.cc: In function 'absl::lts_2020_02_25::random_internal::DistributionMoments absl::lts_2020_02_25::random_internal::ComputeDistributionMoments(absl::lts_2020_02_25::Span<const double>)':
../subprojects/abseil-cpp-20200225.2/absl/random/internal/distribution_test_util.cc:39:21: note: parameter passing for argument of type 'absl::lts_2020_02_25::Span<const double>' changed in GCC 7.1
   39 | DistributionMoments ComputeDistributionMoments(
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
[69/150] Compiling C++ object 'subprojects/abseil-cpp-20200225.2/ef33c1a@@absl_random_lib@sta/absl_random_internal_pool_urbg.cc.o'
../subprojects/abseil-cpp-20200225.2/absl/random/internal/pool_urbg.cc: In static member function 'static void absl::lts_2020_02_25::random_internal::RandenPool<T>::Fill(absl::lts_2020_02_25::Span<T>) [with T = long long unsigned int]':
../subprojects/abseil-cpp-20200225.2/absl/random/internal/pool_urbg.cc:241:6: note: parameter passing for argument of type 'absl::lts_2020_02_25::Span<long long unsigned int>' changed in GCC 7.1
  241 | void RandenPool<T>::Fill(absl::Span<result_type> data) {
      |      ^~~~~~~~~~~~~
[95/150] Compiling C++ object 'subprojects/abseil-cpp-20200225.2/ef33c1a@@absl_time_lib@sta/absl_time_internal_cctz_src_time_zone_info.cc.o'
In file included from /usr/include/c++/9.3.0/vector:72,
                 from ../subprojects/abseil-cpp-20200225.2/absl/time/internal/cctz/src/time_zone_info.h:22,
                 from ../subprojects/abseil-cpp-20200225.2/absl/time/internal/cctz/src/time_zone_info.cc:33:
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {}; _Tp = absl::lts_2020_02_25::time_internal::cctz::Transition; _Alloc = std::allocator<absl::lts_2020_02_25::time_internal::cctz::Transition>]':
/usr/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition>::iterator' {aka '__gnu_cxx::__normal_iterator<absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_emplace_aux(std::vector<_Tp, _Alloc>::const_iterator, _Args&& ...) [with _Args = {}; _Tp = absl::lts_2020_02_25::time_internal::cctz::Transition; _Alloc = std::allocator<absl::lts_2020_02_25::time_internal::cctz::Transition>]':
/usr/include/c++/9.3.0/bits/vector.tcc:364:7: note: parameter passing for argument of type 'std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition>::const_iterator' {aka '__gnu_cxx::__normal_iterator<const absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >'} changed in GCC 7.1
  364 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/vector.tcc:387:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >' changed in GCC 7.1
  387 |    _M_realloc_insert(begin() + __n, std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/vector:67,
                 from ../subprojects/abseil-cpp-20200225.2/absl/time/internal/cctz/src/time_zone_info.h:22,
                 from ../subprojects/abseil-cpp-20200225.2/absl/time/internal/cctz/src/time_zone_info.cc:33:
/usr/include/c++/9.3.0/bits/stl_vector.h: In member function 'void absl::lts_2020_02_25::time_internal::cctz::TimeZoneInfo::ExtendTransitions(const string&, const absl::lts_2020_02_25::time_internal::cctz::TimeZoneInfo::Header&)':
/usr/include/c++/9.3.0/bits/stl_vector.h:1246:68: note: parameter passing for argument of type 'std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition>::const_iterator' {aka '__gnu_cxx::__normal_iterator<const absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >'} changed in GCC 7.1
 1246 |  { return _M_emplace_aux(__position, std::forward<_Args>(__args)...); }
      |                                                                    ^
/usr/include/c++/9.3.0/bits/stl_vector.h: In member function 'bool absl::lts_2020_02_25::time_internal::cctz::TimeZoneInfo::ResetToBuiltinUTC(const seconds&)':
/usr/include/c++/9.3.0/bits/stl_vector.h:1246:68: note: parameter passing for argument of type 'std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition>::const_iterator' {aka '__gnu_cxx::__normal_iterator<const absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >'} changed in GCC 7.1
 1246 |  { return _M_emplace_aux(__position, std::forward<_Args>(__args)...); }
      |                                                                    ^
/usr/include/c++/9.3.0/bits/stl_vector.h: In member function 'bool absl::lts_2020_02_25::time_internal::cctz::TimeZoneInfo::Load(const string&, absl::lts_2020_02_25::time_internal::cctz::ZoneInfoSource*)':
/usr/include/c++/9.3.0/bits/stl_vector.h:1246:68: note: parameter passing for argument of type 'std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition>::const_iterator' {aka '__gnu_cxx::__normal_iterator<const absl::lts_2020_02_25::time_internal::cctz::Transition*, std::vector<absl::lts_2020_02_25::time_internal::cctz::Transition> >'} changed in GCC 7.1
 1246 |  { return _M_emplace_aux(__position, std::forward<_Args>(__args)...); }
      |                                                                    ^
[119/150] Compiling C++ object 'aur@sta/src_aur_request.cc.o'
FAILED: aur@sta/src_aur_request.cc.o 
c++ -Iaur@sta -I. -I.. -Isubprojects/abseil-cpp-20200225.2 -I../subprojects/abseil-cpp-20200225.2 -I../subprojects/nlohmann_json-3.7.3/single_include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 '-DPROJECT_VERSION="0"' -ffunction-sections -fdata-sections -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 'aur@sta/src_aur_request.cc.o' -MF 'aur@sta/src_aur_request.cc.o.d' -o 'aur@sta/src_aur_request.cc.o' -c ../src/aur/request.cc
../src/aur/request.cc:73:1: error: no declaration matches 'aur::RpcRequest::RpcRequest(const QueryParams&, long unsigned int)'
   73 | RpcRequest::RpcRequest(const HttpRequest::QueryParams& base_params,
      | ^~~~~~~~~~
In file included from ../src/aur/request.cc:1:
../src/aur/request.hh:78:3: note: candidates are: 'aur::RpcRequest::RpcRequest(aur::RpcRequest&&)'
   78 |   RpcRequest(RpcRequest&&) = default;
      |   ^~~~~~~~~~
../src/aur/request.hh:75:3: note:                 'aur::RpcRequest::RpcRequest(const aur::RpcRequest&)'
   75 |   RpcRequest(const RpcRequest&) = delete;
      |   ^~~~~~~~~~
../src/aur/request.hh:72:3: note:                 'aur::RpcRequest::RpcRequest(const QueryParams&, size_t)'
   72 |   RpcRequest(const HttpRequest::QueryParams& base_params,
      |   ^~~~~~~~~~
../src/aur/request.hh:67:7: note: 'class aur::RpcRequest' defined here
   67 | class RpcRequest : public HttpRequest {
      |       ^~~~~~~~~~
[123/150] Compiling C++ object 'aur@sta/src_aur_response.cc.o'
In file included from /usr/include/c++/9.3.0/vector:72,
                 from /usr/include/c++/9.3.0/functional:62,
                 from /usr/include/c++/9.3.0/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/9.3.0/algorithm:71,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/inlined_vector.h:38,
                 from ../subprojects/abseil-cpp-20200225.2/absl/status/status.h:20,
                 from ../src/aur/response.hh:4,
                 from ../src/aur/response.cc:1:
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {nlohmann::detail::value_t}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]':
/usr/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > >::iterator' {aka '__gnu_cxx::__normal_iterator<nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {nlohmann::detail::value_t}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]':
/usr/include/c++/9.3.0/bits/vector.tcc:121:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
  121 |    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; _Tp = nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]':
/usr/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > >::iterator' {aka '__gnu_cxx::__normal_iterator<nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/map:60,
                 from ../subprojects/abseil-cpp-20200225.2/absl/hash/internal/hash.h:32,
                 from ../subprojects/abseil-cpp-20200225.2/absl/hash/hash.h:73,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/internal/hash_function_defaults.h:55,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/flat_hash_map.h:40,
                 from ../src/aur/json_internal.hh:4,
                 from ../src/aur/response.cc:3:
/usr/include/c++/9.3.0/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/9.3.0/bits/stl_tree.h:2452:7: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >'} changed in GCC 7.1
 2452 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/map:61,
                 from ../subprojects/abseil-cpp-20200225.2/absl/hash/internal/hash.h:32,
                 from ../subprojects/abseil-cpp-20200225.2/absl/hash/hash.h:73,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/internal/hash_function_defaults.h:55,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/flat_hash_map.h:40,
                 from ../src/aur/json_internal.hh:4,
                 from ../src/aur/response.cc:3:
/usr/include/c++/9.3.0/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string<char>; _Tp = nlohmann::basic_json<>; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/9.3.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/include/c++/9.3.0/bits/stl_map.h: In member function 'bool nlohmann::detail::json_sax_dom_callback_parser<BasicJsonType>::key(nlohmann::detail::json_sax_dom_callback_parser<BasicJsonType>::string_t&) [with BasicJsonType = nlohmann::basic_json<>]':
/usr/include/c++/9.3.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
In file included from /usr/include/c++/9.3.0/vector:72,
                 from /usr/include/c++/9.3.0/functional:62,
                 from /usr/include/c++/9.3.0/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/9.3.0/algorithm:71,
                 from ../subprojects/abseil-cpp-20200225.2/absl/container/inlined_vector.h:38,
                 from ../subprojects/abseil-cpp-20200225.2/absl/status/status.h:20,
                 from ../src/aur/response.hh:4,
                 from ../src/aur/response.cc:1:
/usr/include/c++/9.3.0/bits/vector.tcc: In member function 'bool nlohmann::detail::parser<BasicJsonType>::sax_parse_internal(SAX*) [with SAX = nlohmann::detail::json_sax_dom_parser<nlohmann::basic_json<> >; BasicJsonType = nlohmann::basic_json<>]':
/usr/include/c++/9.3.0/bits/vector.tcc:121:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
  121 |    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
[124/150] Compiling C++ object 'auracle@sta/src_auracle_auracle.cc.o'
In file included from /usr/include/c++/9.3.0/functional:65,
                 from ../src/aur/aur.hh:4,
                 from ../src/auracle/auracle.hh:8,
                 from ../src/auracle/auracle.cc:1:
/usr/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_algo.h:1820:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1820 |     __unguarded_linear_insert(_RandomAccessIterator __last,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1839 |     __insertion_sort(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
/usr/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_algo.h:1879:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1879 |     __final_insertion_sort(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h:1879:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
/usr/include/c++/9.3.0/bits/stl_algo.h:1884:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1884 |    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h:1889:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1889 |  std::__insertion_sort(__first, __last, __comp);
      |  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/bits/stl_algo.h:61,
                 from /usr/include/c++/9.3.0/functional:65,
                 from ../src/aur/aur.hh:4,
                 from ../src/auracle/auracle.hh:8,
                 from ../src/auracle/auracle.cc:1:
/usr/include/c++/9.3.0/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Distance = int; _Tp = aur::Package; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
  214 |     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
      |     ^~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_heap.h: In function 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
  326 |     __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
/usr/include/c++/9.3.0/bits/stl_heap.h: In function 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_heap.h:243:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
  243 |     __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_heap.h:243:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
/usr/include/c++/9.3.0/bits/stl_heap.h:243:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
In file included from /usr/include/c++/9.3.0/functional:65,
                 from ../src/aur/aur.hh:4,
                 from ../src/auracle/auracle.hh:8,
                 from ../src/auracle/auracle.cc:1:
/usr/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<std::function<bool(const aur::Package&, const aur::Package&)> >]':
/usr/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1939 |     __introsort_loop(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
/usr/include/c++/9.3.0/bits/stl_algo.h:1671:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1671 |       std::__make_heap(__first, __middle, __comp);
      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/bits/stl_algo.h:61,
                 from /usr/include/c++/9.3.0/functional:65,
                 from ../src/aur/aur.hh:4,
                 from ../src/auracle/auracle.hh:8,
                 from ../src/auracle/auracle.cc:1:
/usr/include/c++/9.3.0/bits/stl_heap.h:408:19: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
  408 |    std::__pop_heap(__first, __last, __last, __comp);
      |    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/functional:65,
                 from ../src/aur/aur.hh:4,
                 from ../src/auracle/auracle.hh:8,
                 from ../src/auracle/auracle.cc:1:
/usr/include/c++/9.3.0/bits/stl_algo.h:1953:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1953 |    std::__introsort_loop(__cut, __last, __depth_limit, __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h: In member function 'int auracle::Auracle::Outdated(const std::vector<std::__cxx11::basic_string<char> >&, const auracle::Auracle::CommandOptions&)':
/usr/include/c++/9.3.0/bits/stl_algo.h:1967:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1967 |    std::__introsort_loop(__first, __last,
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
 1968 |     std::__lg(__last - __first) * 2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1969 |     __comp);
      |     ~~~~~~~              
/usr/include/c++/9.3.0/bits/stl_algo.h:1970:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1970 |    std::__final_insertion_sort(__first, __last, __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/stl_algo.h: In function 'void auracle::{anonymous}::SortUnique(std::vector<aur::Package>&, const Sorter&)':
/usr/include/c++/9.3.0/bits/stl_algo.h:1967:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1967 |    std::__introsort_loop(__first, __last,
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
 1968 |     std::__lg(__last - __first) * 2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1969 |     __comp);
      |     ~~~~~~~              
/usr/include/c++/9.3.0/bits/stl_algo.h:1970:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<aur::Package*, std::vector<aur::Package> >' changed in GCC 7.1
 1970 |    std::__final_insertion_sort(__first, __last, __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
falconindy commented 4 years ago

Probably due to 6cac417ccd1f7ef1d53361c08d30361ca1c25167 missing a parameter change in request.cc. What happens if you change this to size_t?

falconindy commented 4 years ago

Well, ok github... "probably fixes" in a commit message "probably" shouldn't close the bug, but whatever.

Feel free to reopen if the latest on master still doesn't compile.

solsticedhiver commented 4 years ago

no no that's fixed. thanks