Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: bazel-3.5.0 #24978

Closed
wants to merge 1 commit into from

Conversation

waynevanson
Copy link
Contributor

I've strictly followed the instructions on the bazel site: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#bootstrap-bazel

I'm unfamiliar with bazel and only want to use it so I can build something.
I'm sure someone more familiar will be able to help.

closes #24681

A few questions:

Copy link
Member

@ericonr ericonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you show the errors you get when trying to cross compile / compile on other platforms? Their website implies that the bootstrap generates a completely arch independent jar, so I don't think there should be any issues.

srcpkgs/bazel/template Outdated Show resolved Hide resolved
srcpkgs/bazel/template Outdated Show resolved Hide resolved
srcpkgs/bazel/template Outdated Show resolved Hide resolved
Copy link
Contributor

@fosslinux fosslinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a look at why this refuses to build for other architectures but given its a build system, I guess it will need some special tooling because that's how build systems normally work.

Yes, you should bootstrap where possible, it makes it much easier and allows us to do more with it, as long as it isnt absurdly complex (like bootstrapping say Rust).

srcpkgs/bazel/template Outdated Show resolved Hide resolved
@waynevanson
Copy link
Contributor Author

I've amended the requested changes and ran the build for x86_64, aarch64, armv7l and i686, with only x86_64 succeeding once again.

I've excluded musl using the archs variable.

Resources

Some resources I've come across regarding other architectures and bazel:

Logs:

Ordered by log length.

i686:

=> bazel-3.5.0_1: running do_install ...
Building Bazel from scratch......
Building Bazel with Bazel.
DEBUG: /tmp/bazel_ox8sTHYx/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_ox8sTHYx/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_ox8sTHYx/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_ox8sTHYx/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_ox8sTHYx/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:47:14:
Current Bazel is not a release version, cannot check for compatibility.
DEBUG: /tmp/bazel_ox8sTHYx/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:49:14: Make sure that you are running at least Bazel 0.21.0.
INFO: Analyzed target //src:bazel_nojdk (309 packages loaded, 8879 targets configured).
INFO: Found 1 target...
[0 / 1,587] 3 actions, 0 running
    [Prepa] BazelWorkspaceStatusAction stable-status.txt
    [Prepa] Writing file .../build/lib/syntax/libcpu_profiler.so-2.params
    [Prepa] Writing file src/embedded_tools_nojdk.params
    [Prepa] Writing file src/main/cpp/util/liberrors.a-2.params [for host]
INFO: From Compiling third_party/ijar/zip_main.cc:
In file included from /usr/lib/gcc/i686-pc-linux-gnu/9.3.0/../../../../i686-pc-linux-gnu/include/string.h:494,
                 from third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/../../../../i686-pc-linux-gnu/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc: In function 'void cpu_profiler::onsigprof(int)':
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:55:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   55 |     write(2, msg, strlen(msg));
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:77:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   77 |       write(2, msg, strlen(msg));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:86:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   86 |       write(2, buf, strlen(buf));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
INFO: From JavacBootstrap src/main/java/com/google/devtools/build/lib/shell/libshell-skylark.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From JavacBootstrap src/java_tools/singlejar/java/com/google/devtools/build/singlejar/libbootstrap.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From Compiling external/bazel_tools/third_party/ijar/zip_main.cc [for host]:
In file included from /usr/lib/gcc/i686-pc-linux-gnu/9.3.0/../../../../i686-pc-linux-gnu/include/string.h:494,
                 from external/bazel_tools/third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at external/bazel_tools/third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/../../../../i686-pc-linux-gnu/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: /builddir/bazel-3.5.0/src/BUILD:94:10: PythonZipper src/create_embedded_tools.zip failed (Exit -1): zipper failed: error executing command
  (cd /tmp/bazel_ox8sTHYx/out/execroot/io_bazel && \
  exec env - \
    PATH=/builddir/.xbps-bazel/wrappers:/usr/bin:/home/wayne/.cargo/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/wayne/Documents/code/void-packages/masterdir/usr/bin \
  bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper cC bazel-out/host/bin/src/create_embedded_tools.zip @bazel-out/host/bin/src/create_embedded_tools.zip-0.params)
Execution platform: //:default_host_platform. Note: Remote connection/protocol failed with: execution failed
Action failed to execute: java.io.IOException: Cannot run program "/tmp/bazel_ox8sTHYx/out/execroot/io_bazel/bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper" (in directory "/tmp/bazel_ox8sTHYx/out/execroot/io_bazel"): error=2, No such file or directory
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 37.848s, Critical Path: 27.94s
INFO: 143 processes: 143 local.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
=> ERROR: bazel-3.5.0_1: do_install: 'EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh' exited with 34
=> ERROR:   in do_install() at srcpkgs/bazel/template:18

aarch64:

=> bazel-3.5.0_1: running do_install ...
Building Bazel from scratch......
Building Bazel with Bazel.
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:47:14:
Current Bazel is not a release version, cannot check for compatibility.
DEBUG: /tmp/bazel_3ZoZE7f6/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:49:14: Make sure that you are running at least Bazel 0.21.0.
INFO: Analyzed target //src:bazel_nojdk (309 packages loaded, 8879 targets configured).
INFO: Found 1 target...
[0 / 86] [Prepa] Writing file src/main/cpp/libarchive_utils.a-2.params
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.devtools.build.lib.unsafe.StringUnsafe (file:/tmp/bazel_3ZoZE7f6/archive/libblaze.jar) to constructor java.lang.String(byte[],byte)
WARNING: Please consider reporting this to the maintainers of com.google.devtools.build.lib.unsafe.StringUnsafe
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
INFO: From Compiling src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc: In function 'void cpu_profiler::onsigprof(int)':
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:55:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   55 |     write(2, msg, strlen(msg));
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:77:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   77 |       write(2, msg, strlen(msg));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:86:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   86 |       write(2, buf, strlen(buf));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
INFO: From JavacBootstrap src/main/java/com/google/devtools/build/lib/shell/libshell-skylark.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From JavacBootstrap src/java_tools/singlejar/java/com/google/devtools/build/singlejar/libbootstrap.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From Compiling src/main/tools/daemonize.c:
src/main/tools/daemonize.c: In function 'WritePidFile':
src/main/tools/daemonize.c:95:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   95 |   write(pid_done_fd, &dummy, sizeof(dummy));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libskylark-deps.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libbootstrap_VanillaJavaBuilder.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
Note: src/java_tools/buildjar/java/com/google/devtools/build/buildjar/VanillaJavaBuilder.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
INFO: From Compiling third_party/ijar/zip_main.cc:
In file included from /usr/lib/gcc/aarch64-linux-gnu/9.3.0/../../../../aarch64-linux-gnu/include/string.h:494,
                 from third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/aarch64-linux-gnu/9.3.0/../../../../aarch64-linux-gnu/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/bazel_tools/third_party/ijar/zip_main.cc [for host]:
In file included from /usr/lib/gcc/aarch64-linux-gnu/9.3.0/../../../../aarch64-linux-gnu/include/string.h:494,
                 from external/bazel_tools/third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at external/bazel_tools/third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/aarch64-linux-gnu/9.3.0/../../../../aarch64-linux-gnu/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: /builddir/bazel-3.5.0/src/BUILD:94:10: PythonZipper src/create_embedded_tools.zip failed (Exit 126): zipper failed: error executing command
  (cd /tmp/bazel_3ZoZE7f6/out/execroot/io_bazel && \
  exec env - \
    PATH=/builddir/.xbps-bazel/wrappers:/usr/bin:/home/wayne/.cargo/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/wayne/Documents/code/void-packages/masterdir/usr/bin \
  bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper cC bazel-out/host/bin/src/create_embedded_tools.zip @bazel-out/host/bin/src/create_embedded_tools.zip-0.params)
Execution platform: //:default_host_platform
/tmp/bazel_3ZoZE7f6/out/execroot/io_bazel/bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper: /tmp/bazel_3ZoZE7f6/out/execroot/io_bazel/bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper: cannot execute binary file
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 169.058s, Critical Path: 86.93s
INFO: 845 processes: 805 local, 40 worker.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
=> ERROR: bazel-3.5.0_1: do_install: 'EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh' exited with 1
=> ERROR:   in do_install() at srcpkgs/bazel/template:18

armv7l

=> bazel-3.5.0_1: running do_install ...
Building Bazel from scratch......
Building Bazel with Bazel.
DEBUG: /tmp/bazel_gvRNRo3L/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_gvRNRo3L/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_gvRNRo3L/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_gvRNRo3L/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_gvRNRo3L/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:47:14:
Current Bazel is not a release version, cannot check for compatibility.
DEBUG: /tmp/bazel_gvRNRo3L/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:49:14: Make sure that you are running at least Bazel 0.21.0.
INFO: Analyzed target //src:bazel_nojdk (309 packages loaded, 8879 targets configured).
INFO: Found 1 target...
[0 / 863] 12 actions, 0 running
    [Prepa] BazelWorkspaceStatusAction stable-status.txt
    [Prepa] Writing file src/main/cpp/util/liblogging.pic.a-2.params
    [Prepa] Writing file src/main/cpp/util/libstrings.pic.a-2.params
    [Prepa] Expanding template src/create_embedded_tools.temp [for host]
INFO: From Compiling src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc: In function 'void cpu_profiler::onsigprof(int)':
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:55:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   55 |     write(2, msg, strlen(msg));
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:77:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   77 |       write(2, msg, strlen(msg));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:86:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   86 |       write(2, buf, strlen(buf));
      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/bazel_tools/third_party/ijar/zip_main.cc [for host]:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/string.h:494,
                 from external/bazel_tools/third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at external/bazel_tools/third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From JavacBootstrap src/main/java/com/google/devtools/build/lib/shell/libshell-skylark.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From JavacBootstrap src/java_tools/singlejar/java/com/google/devtools/build/singlejar/libbootstrap.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h:39,
                 from external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:31:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 = {google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event}; _Tp = google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event; _Alloc = std::allocator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event*, std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event}; _Tp = google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event; _Alloc = std::allocator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:121:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event*, std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event> >' changed in GCC 7.1
  121 |    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/wire_format.cc:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::MapKey&}; _Tp = google::protobuf::MapKey; _Alloc = std::allocator<google::protobuf::MapKey>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::MapKey>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1820:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1820 |     __unguarded_linear_insert(_RandomAccessIterator __last,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1839 |     __insertion_sort(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Distance = int; _Tp = google::protobuf::MapKey; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
  214 |     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
      |     ^~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h: In function 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
  326 |     __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1939 |     __introsort_loop(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1953:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1953 |    std::__introsort_loop(__cut, __last, __depth_limit, __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1671:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1671 |       std::__make_heap(__first, __middle, __comp);
      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In static member function 'static google::protobuf::uint8* google::protobuf::internal::WireFormat::InternalSerializeField(const google::protobuf::FieldDescriptor*, const google::protobuf::Message&, google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1967:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1967 |    std::__introsort_loop(__first, __last,
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
 1968 |     std::__lg(__last - __first) * 2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1969 |     __comp);
      |     ~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1884:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1884 |    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1889:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1889 |  std::__insertion_sort(__first, __last, __comp);
      |  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::UnknownField&}; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::PackedEnumParser(void*, const char*, google::protobuf::internal::ParseContext*, bool (*)(int), google::protobuf::internal::InternalMetadataWithArena*, int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::PackedEnumParserArg(void*, const char*, google::protobuf::internal::ParseContext*, bool (*)(const void*, int), const void*, google::protobuf::internal::InternalMetadataWithArena*, int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::MergeFrom(const google::protobuf::UnknownFieldSet&)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddFixed32(int, google::protobuf::uint32)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddFixed64(int, google::protobuf::uint64)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddVarint(int, google::protobuf::uint64)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddField(const google::protobuf::UnknownField&)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'std::string* google::protobuf::UnknownFieldSet::AddLengthDelimited(int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'google::protobuf::UnknownFieldSet* google::protobuf::UnknownFieldSet::AddGroup(int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::FieldParser(google::protobuf::uint64, T&, const char*, google::protobuf::internal::ParseContext*) [with T = google::protobuf::internal::UnknownFieldParserHelper]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
  721 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::MergeFromAndDestroy(google::protobuf::UnknownFieldSet*)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1662:4: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
 1662 |    _M_range_insert(__pos, __first, __last,
      |    ^~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1662:4: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
INFO: From Compiling third_party/ijar/zip_main.cc:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/string.h:494,
                 from third_party/ijar/zip_main.cc:28:
In function 'char* strncpy(char*, const char*, size_t)',
    inlined from 'int devtools_ijar::extract(char*, char*, char**, bool, bool, bool)' at third_party/ijar/zip_main.cc:159:12:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/struct.pb.cc:
In file included from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
                 from external/com_google_protobuf/src/google/protobuf/struct.pb.h:26,
                 from external/com_google_protobuf/src/google/protobuf/struct.pb.cc:4:
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::__cxx11::basic_string<char>; T = google::protobuf::Value]':
external/com_google_protobuf/src/google/protobuf/map.h:1132:12: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1132 |   iterator erase(iterator pos) {
      |            ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'bool google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::DeleteMapValue(const google::protobuf::MapKey&) [with Derived = google::protobuf::Struct_FieldsEntry_DoNotUse; Key = std::__cxx11::basic_string<char>; T = google::protobuf::Value; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = google::protobuf::internal::WireFormatLite::TYPE_STRING; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = google::protobuf::internal::WireFormatLite::TYPE_MESSAGE; int default_enum_value = 0]':
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'const char* google::protobuf::internal::MapEntryImpl<Derived, Base, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value>::Parser<MapField, Map>::_InternalParse(const char*, google::protobuf::internal::ParseContext*) [with MapField = google::protobuf::internal::MapFieldLite<google::protobuf::Struct_FieldsEntry_DoNotUse, std::__cxx11::basic_string<char>, google::protobuf::Value, google::protobuf::internal::WireFormatLite::TYPE_STRING, google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0>; Map = google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>; Derived = google::protobuf::Struct_FieldsEntry_DoNotUse; Base = google::protobuf::Message; Key = std::__cxx11::basic_string<char>; Value = google::protobuf::Value; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = google::protobuf::internal::WireFormatLite::TYPE_STRING; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = google::protobuf::internal::WireFormatLite::TYPE_MESSAGE; int default_enum_value = 0]':
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/map:60,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.h:36,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc:33:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::FieldDescriptor* const&>, std::tuple<>}; _Key = const google::protobuf::FieldDescriptor*; _Val = std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>; _KeyOfValue = std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >; _Compare = std::less<const google::protobuf::FieldDescriptor*>; _Alloc = std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_tree.h:2452:7: note: parameter passing for argument of type 'std::_Rb_tree<const google::protobuf::FieldDescriptor*, std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>, std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >, std::less<const google::protobuf::FieldDescriptor*>, std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >'} changed in GCC 7.1
 2452 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/map:61,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.h:36,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc:33:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_map.h: In member function 'void google::protobuf::util::DefaultFieldComparator::SetFractionAndMargin(const google::protobuf::FieldDescriptor*, double, double)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<const google::protobuf::FieldDescriptor*, std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>, std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >, std::less<const google::protobuf::FieldDescriptor*>, std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libskylark-deps.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc [for host]:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h:39,
                 from external/com_google_protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:31:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 = {google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event}; _Tp = google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event; _Alloc = std::allocator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event*, std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event}; _Tp = google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event; _Alloc = std::allocator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:121:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event*, std::vector<google::protobuf::util::converter::ProtoStreamObjectWriter::AnyWriter::Event> >' changed in GCC 7.1
  121 |    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
      |    ^~~~~~~~~~~~~~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/wire_format.cc [for host]:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::MapKey&}; _Tp = google::protobuf::MapKey; _Alloc = std::allocator<google::protobuf::MapKey>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::MapKey>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1820:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1820 |     __unguarded_linear_insert(_RandomAccessIterator __last,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1839 |     __insertion_sort(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1839:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Distance = int; _Tp = google::protobuf::MapKey; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
  214 |     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
      |     ^~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h: In function 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
  326 |     __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_heap.h:326:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<google::protobuf::internal::MapKeySorter::MapKeyComparator>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1939 |     __introsort_loop(_RandomAccessIterator __first,
      |     ^~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1939:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1953:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1953 |    std::__introsort_loop(__cut, __last, __depth_limit, __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1671:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1671 |       std::__make_heap(__first, __middle, __comp);
      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In static member function 'static google::protobuf::uint8* google::protobuf::internal::WireFormat::InternalSerializeField(const google::protobuf::FieldDescriptor*, const google::protobuf::Message&, google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/algorithm:62,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:38,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.h:44,
                 from external/com_google_protobuf/src/google/protobuf/wire_format.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1967:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1967 |    std::__introsort_loop(__first, __last,
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
 1968 |     std::__lg(__last - __first) * 2,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1969 |     __comp);
      |     ~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1884:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1884 |    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_algo.h:1889:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::MapKey*, std::vector<google::protobuf::MapKey> >' changed in GCC 7.1
 1889 |  std::__insertion_sort(__first, __last, __comp);
      |  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libbootstrap_VanillaJavaBuilder.jar [for host]:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
Note: src/java_tools/buildjar/java/com/google/devtools/build/buildjar/VanillaJavaBuilder.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc [for host]:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::UnknownField&}; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
  426 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::PackedEnumParser(void*, const char*, google::protobuf::internal::ParseContext*, bool (*)(int), google::protobuf::internal::InternalMetadataWithArena*, int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::PackedEnumParserArg(void*, const char*, google::protobuf::internal::ParseContext*, bool (*)(const void*, int), const void*, google::protobuf::internal::InternalMetadataWithArena*, int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::MergeFrom(const google::protobuf::UnknownFieldSet&)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddFixed32(int, google::protobuf::uint32)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddFixed64(int, google::protobuf::uint64)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddVarint(int, google::protobuf::uint64)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::AddField(const google::protobuf::UnknownField&)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'std::string* google::protobuf::UnknownFieldSet::AddLengthDelimited(int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'google::protobuf::UnknownFieldSet* google::protobuf::UnknownFieldSet::AddGroup(int)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In function 'const char* google::protobuf::internal::FieldParser(google::protobuf::uint64, T&, const char*, google::protobuf::internal::ParseContext*) [with T = google::protobuf::internal::UnknownFieldParserHelper]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1195:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >' changed in GCC 7.1
 1195 |    _M_realloc_insert(end(), __x);
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:72,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >; _Tp = google::protobuf::UnknownField; _Alloc = std::allocator<google::protobuf::UnknownField>]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
  721 |       vector<_Tp, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/vector.tcc:721:7: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/vector:67,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.h:44,
                 from external/com_google_protobuf/src/google/protobuf/unknown_field_set.cc:35:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h: In member function 'void google::protobuf::UnknownFieldSet::MergeFromAndDestroy(google::protobuf::UnknownFieldSet*)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1662:4: note: parameter passing for argument of type 'std::vector<google::protobuf::UnknownField>::iterator' {aka '__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> >'} changed in GCC 7.1
 1662 |    _M_range_insert(__pos, __first, __last,
      |    ^~~~~~~~~~~~~~~
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_vector.h:1662:4: note: parameter passing for argument of type 'std::move_iterator<__gnu_cxx::__normal_iterator<google::protobuf::UnknownField*, std::vector<google::protobuf::UnknownField> > >' changed in GCC 7.1
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/struct.pb.cc [for host]:
In file included from external/com_google_protobuf/src/google/protobuf/generated_message_table_driven.h:34,
                 from external/com_google_protobuf/src/google/protobuf/struct.pb.h:26,
                 from external/com_google_protobuf/src/google/protobuf/struct.pb.cc:4:
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'google::protobuf::Map<Key, T>::iterator google::protobuf::Map<Key, T>::erase(google::protobuf::Map<Key, T>::iterator) [with Key = std::__cxx11::basic_string<char>; T = google::protobuf::Value]':
external/com_google_protobuf/src/google/protobuf/map.h:1132:12: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1132 |   iterator erase(iterator pos) {
      |            ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'bool google::protobuf::internal::MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>::DeleteMapValue(const google::protobuf::MapKey&) [with Derived = google::protobuf::Struct_FieldsEntry_DoNotUse; Key = std::__cxx11::basic_string<char>; T = google::protobuf::Value; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = google::protobuf::internal::WireFormatLite::TYPE_STRING; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = google::protobuf::internal::WireFormatLite::TYPE_MESSAGE; int default_enum_value = 0]':
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h: In member function 'const char* google::protobuf::internal::MapEntryImpl<Derived, Base, Key, Value, kKeyFieldType, kValueFieldType, default_enum_value>::Parser<MapField, Map>::_InternalParse(const char*, google::protobuf::internal::ParseContext*) [with MapField = google::protobuf::internal::MapFieldLite<google::protobuf::Struct_FieldsEntry_DoNotUse, std::__cxx11::basic_string<char>, google::protobuf::Value, google::protobuf::internal::WireFormatLite::TYPE_STRING, google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0>; Map = google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>; Derived = google::protobuf::Struct_FieldsEntry_DoNotUse; Base = google::protobuf::Message; Key = std::__cxx11::basic_string<char>; Value = google::protobuf::Value; google::protobuf::internal::WireFormatLite::FieldType kKeyFieldType = google::protobuf::internal::WireFormatLite::TYPE_STRING; google::protobuf::internal::WireFormatLite::FieldType kValueFieldType = google::protobuf::internal::WireFormatLite::TYPE_MESSAGE; int default_enum_value = 0]':
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
external/com_google_protobuf/src/google/protobuf/map.h:1128:7: note: parameter passing for argument of type 'google::protobuf::Map<std::__cxx11::basic_string<char>, google::protobuf::Value>::iterator' changed in GCC 7.1
 1128 |       erase(it);
      |       ^~~~~
INFO: From Compiling external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc [for host]:
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/map:60,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.h:36,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc:33:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/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 google::protobuf::FieldDescriptor* const&>, std::tuple<>}; _Key = const google::protobuf::FieldDescriptor*; _Val = std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>; _KeyOfValue = std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >; _Compare = std::less<const google::protobuf::FieldDescriptor*>; _Alloc = std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >]':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_tree.h:2452:7: note: parameter passing for argument of type 'std::_Rb_tree<const google::protobuf::FieldDescriptor*, std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>, std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >, std::less<const google::protobuf::FieldDescriptor*>, std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >'} changed in GCC 7.1
 2452 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/map:61,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.h:36,
                 from external/com_google_protobuf/src/google/protobuf/util/field_comparator.cc:33:
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_map.h: In member function 'void google::protobuf::util::DefaultFieldComparator::SetFractionAndMargin(const google::protobuf::FieldDescriptor*, double, double)':
/usr/lib/gcc/armv7l-linux-gnueabihf/9.3.0/../../../../armv7l-linux-gnueabihf/include/c++/9.3.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<const google::protobuf::FieldDescriptor*, std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance>, std::_Select1st<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >, std::less<const google::protobuf::FieldDescriptor*>, std::allocator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const google::protobuf::FieldDescriptor* const, google::protobuf::util::DefaultFieldComparator::Tolerance> >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
ERROR: /builddir/bazel-3.5.0/src/BUILD:94:10: PythonZipper src/create_embedded_tools.zip failed (Exit 126): zipper failed: error executing command
  (cd /tmp/bazel_gvRNRo3L/out/execroot/io_bazel && \
  exec env - \
    PATH=/builddir/.xbps-bazel/wrappers:/usr/bin:/home/wayne/.cargo/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/wayne/Documents/code/void-packages/masterdir/usr/bin \
  bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper cC bazel-out/host/bin/src/create_embedded_tools.zip @bazel-out/host/bin/src/create_embedded_tools.zip-0.params)
Execution platform: //:default_host_platform
/tmp/bazel_gvRNRo3L/out/execroot/io_bazel/bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper: /tmp/bazel_gvRNRo3L/out/execroot/io_bazel/bazel-out/host/bin/external/bazel_tools/third_party/ijar/zipper: cannot execute binary file
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 127.768s, Critical Path: 91.30s
INFO: 418 processes: 378 local, 40 worker.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
=> ERROR: bazel-3.5.0_1: do_install: 'EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh' exited with 1
=> ERROR:   in do_install() at srcpkgs/bazel/template:18

@ericonr
Copy link
Member

ericonr commented Sep 23, 2020

Why is it broken for musl?

Those errors look like it's trying to execute a cross built file, I think.

@smorimoto
Copy link
Contributor

Status?

@waynevanson
Copy link
Contributor Author

WHy is it broken for musl?

@ericonr I just can't get it to work for all architectures yet, which is why it's disabled currently.

Those errors look like it's trying to execute a cross built file, I think.

It looks like it's downloading something during build, but not quite sure what it is.

status?

@smorimoto unsuccessful. Still facing issues with it.

I don't feel I have the knowledge to get this working currently. I have no familiarity with other architectures and their nuances.
Everyone is free to copy the template and get it to work, so it can be added. It looks like there's definitely demand for this package.

I thank everyone who has been able to help troubleshoot.

@waynevanson
Copy link
Contributor Author

nix packages have bazel 3.3.1 building, but not sure if they're compiling cross architecture though: https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/tools/build-managers/bazel/bazel_3

@ericonr ericonr added the new-package This PR adds a new package label Dec 20, 2020
@fosslinux
Copy link
Contributor

I now need this for anki so I'll be getting a patch shortly fixing this. You certinaly need a bazel-bootstrap package and then a real package as per the two parts of the official instructions to get this to cross build, the bootstrap method is extremely hostile to cross compilation.

@fosslinux
Copy link
Contributor

fosslinux commented Dec 28, 2020

Ugh this reallly reallllly sucks.

It:

  1. runs a lot of random binaries
  2. approx 0 cross support
  3. downloads these binaries from the net

Hence it is executing an absolute metric ton of cross stuff. To work around this I attempted to use binfmts and build_helper=qemu but due to bazel bugs bazelbuild/bazel#12049 bazelbuild/bazel#3320 it still failed on protobuf >:(. To this end, I have given up on full cross support, and left patches available to be picked up when these issues are resolved.

Furthermore (this is not clearly referenced anywhere) the actual target built when using the bootstrap method is different from the normal method (using a source bazel). However, there were a large number of difficulties I ran into using the bootstrap method to bootstrap the normal method (using a source bazel), notably musl refusing to work at all!

One thing that is still very perplexing is how musl works, if it is downloading all these binaries how do they work on musl? They are dynlinked.....

My work here is done, I don't have the time or energy to do any more on this, and since it is a build system it works well enough. I might come back to this in a few months, but Ihave already spend wayyy more time than I would have liked on this thing.

diff --git a/srcpkgs/bazel/patches/fix-host-action-env.patch b/srcpkgs/bazel/patches/fix-host-action-env.patch
new file mode 100644
index 0000000000..4b2bf2bd76
--- /dev/null
+++ b/srcpkgs/bazel/patches/fix-host-action-env.patch
@@ -0,0 +1,27 @@
+From e6670825b1e183f81f5c864aafd425d512fa9ff5 Mon Sep 17 00:00:00 2001
+From: mai93 <messa@google.com>
+Date: Thu, 17 Dec 2020 06:34:40 -0800
+Subject: [PATCH] Pass --host_action_env to host options hostActionEnvironment
+ attribute
+
+This PR passes the value of `host_action_env` to `hostActionEnvironment` attribute of the host options in `CoreOptions.getHost`.
+
+Fixes: #12403
+
+Closes #12694.
+
+PiperOrigin-RevId: 348011332
+
+diff --git src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java
+index 64c84910b5a..bdc712ffb98 100644
+--- src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java
++++ src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java
+@@ -963,6 +963,7 @@ public FragmentOptions getHost() {
+ 
+     // Pass host action environment variables
+     host.actionEnvironment = hostActionEnvironment;
++    host.hostActionEnvironment = hostActionEnvironment;
+ 
+     return host;
+   }
+un_suite "Tests for bazel's handling of environment variables in actions"
diff --git a/srcpkgs/bazel/patches/musl.patch b/srcpkgs/bazel/patches/musl.patch
new file mode 100644
index 0000000000..75c44c89d4
--- /dev/null
+++ b/srcpkgs/bazel/patches/musl.patch
@@ -0,0 +1,21 @@
+musl compat with TEMP_FAILURE_RETRY.
+
+--- src/main/tools/linux-sandbox-pid1.cc	2020-12-26 09:57:40.680045570 +1100
++++ src/main/tools/linux-sandbox-pid1.cc	2020-12-26 09:58:30.393411479 +1100
+@@ -49,6 +49,16 @@
+ #include <linux/fs.h>
+ #endif
+ 
++// Some libcs (musl) don't define this macro.
++#ifndef TEMP_FAILURE_RETRY
++#define TEMP_FAILURE_RETRY(expression) \
++  (__extension__                                                   \
++    ({ long int __result;                                          \
++       do __result = (long int) (expression);                      \
++       while (__result == -1L && errno == EINTR);                  \
++       __result; }))
++#endif
++
+ #include "src/main/tools/linux-sandbox-options.h"
+ #include "src/main/tools/linux-sandbox.h"
+ #include "src/main/tools/logging.h"
diff --git a/srcpkgs/bazel/patches/pass-ld-prefix.patch b/srcpkgs/bazel/patches/pass-ld-prefix.patch
new file mode 100644
index 0000000000..1320315402
--- /dev/null
+++ b/srcpkgs/bazel/patches/pass-ld-prefix.patch
@@ -0,0 +1,14 @@
+Passes through QEMU_LD_PREFIX into the sandbox, which is required for
+cross compilation of bazel.
+
+--- compile.sh	2020-12-28 11:45:33.688204017 +1100
++++ compile.sh	2020-12-28 11:46:09.381470614 +1100
+@@ -65,6 +65,8 @@
+ # host.
+ bazel_build "src:bazel_nojdk${EXE_EXT}" \
+   --action_env=PATH \
++  --action_env=QEMU_LD_PREFIX=${XBPS_CROSS_BASE} \
++  --host_action_env=QEMU_LD_PREFIX=${XBPS_CROSS_BASE} \
+   --host_platform=@local_config_platform//:host \
+   --platforms=@local_config_platform//:host \
+   || fail "Could not build Bazel"
diff --git a/srcpkgs/bazel/template b/srcpkgs/bazel/template
index ad742b0a56..7d8a3ddb47 100644
--- a/srcpkgs/bazel/template
+++ b/srcpkgs/bazel/template
@@ -1,23 +1,46 @@
 # Template file for 'bazel'
+#
+# It would be really nice if we could use the full verion of bazel taken from
+# the main source tarball instead of using the bootstrapping method, and change
+# this to a bazel-bootstrap package (a la debian). However, using the main
+# source tarball is extremely broken, particuarly on musl. This also has a few
+# features missing that are only compiled in the main tarball.
+# (reasoning: src/bazel vs src/bazel_nojdk targets being compiled)
 pkgname=bazel
-version=3.5.0
+version=3.7.2
 revision=1
-archs="~*-musl"
 create_wrksrc="yes"
-hostmakedepends="gcc openjdk11 unzip which zip"
+build_helper=qemu
+hostmakedepends="openjdk11 which unzip zip python python3"
 makedepends="python3-devel"
-short_desc="Fast, scalable, multi-language and extensible build system"
+short_desc="Bazel bootstrap binary"
 maintainer="Wayne Van Son <waynevanson@gmail.com>"
 license="Apache-2.0"
 homepage="https://www.bazel.build/"
 distfiles="https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"
-checksum=334429059cf82e222ca8a9d9dbbd26f8e1eb308613463c2b8655dd4201b127ec
-nopie_files="/usr/bin/bazel"
+checksum=de255bb42163a915312df9f4b86e5b874b46d9e8d4b72604b5123c3a845ed9b1
+nostrip=yes
+nopie=yes
+# All the patches are there and everything, it is so nearly ready to go.
+# Two blockers:
+# 1. Figure out how to manage binfmts in qemu-user-static within xbps-src.
+# 2. bazel needs to fix issues #12049 and #3320. None of the workarounds listed
+# there work here. FWIW, it fails with protobuf. XXX: Idea; manually override
+# the protobuf repository and force it to use the host, then we can work around
+# this problem (not possible for all the other things so the binfmt hack would
+# still be required).
+nocross=yes
 
-do_install() {
+export SOURCE_DATE_EPOCH=1608688514
+
+if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
+	broken="bazel does not support 32-bit targets"
+fi
+
+do_build() {
 	EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh
 }
 
-post_install() {
+do_install() {
 	vbin "${wrksrc}/output/bazel"
 }

Or, https://ttm.sh/drp.txt.

Oh, and builds are reproducible now.

@Filius-Patris Filius-Patris mentioned this pull request Jun 11, 2021
3 tasks
@waynevanson
Copy link
Contributor Author

Closing as I'm no longer working on this, and #31382 is active.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

package request: bazel
4 participants