Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bazel-3.5.0
@ 2020-09-19  4:04 waynevanson
  2020-09-19  4:14 ` [PR REVIEW] " ericonr
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: waynevanson @ 2020-09-19  4:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

There is a new pull request by waynevanson against master on the void-packages repository

https://github.com/waynevanson/void-packages package/bazel
https://github.com/void-linux/void-packages/pull/24978

New package: bazel-3.5.0
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:

- Should I be bootstrapping this? According to the instructions, that's what is I'm doing: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#compiling-from-source
- The build doesn't work for any other archs besides `x86_64`. Any tips on getting this to work cross architecture?


A patch file from https://github.com/void-linux/void-packages/pull/24978.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-package/bazel-24978.patch --]
[-- Type: text/x-diff, Size: 1237 bytes --]

From 102dd954b77f797db2a57b0f60cdadea266cabf0 Mon Sep 17 00:00:00 2001
From: Wayne Van Son <waynevanson@gmail.com>
Date: Sat, 19 Sep 2020 00:14:43 +0000
Subject: [PATCH] New package: bazel-3.5.0

---
 srcpkgs/bazel/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/bazel/template

diff --git a/srcpkgs/bazel/template b/srcpkgs/bazel/template
new file mode 100644
index 00000000000..940722a94cb
--- /dev/null
+++ b/srcpkgs/bazel/template
@@ -0,0 +1,24 @@
+# Template file for 'bazel'
+pkgname=bazel
+version=3.5.0
+revision=1
+archs="x86_64"
+wrksrc="."
+hostmakedepends="gcc openjdk11 unzip which zip"
+makedepends="python3-devel"
+short_desc="Open-source build and test tool similar to Make, Maven, and Gradle"
+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"
+
+do_install() {
+	env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk"
+	bash ./compile.sh
+}
+
+post_install() {
+	vbin "${wrksrc}/output/bazel"
+}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
@ 2020-09-19  4:14 ` ericonr
  2020-09-19  4:14 ` ericonr
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-09-19  4:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491266076

Comment:
You need to use `export`, not `env`.

`compile.sh` seems to have a `bash` shebang already, so it isn't necessary to run it with `bash`, you can just do `./compile.sh`.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
  2020-09-19  4:14 ` [PR REVIEW] " ericonr
@ 2020-09-19  4:14 ` ericonr
  2020-09-19  4:14 ` ericonr
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-09-19  4:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491266282

Comment:
I would use the description from the repository "fast, scalable, multi-language and extensible build system"

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
  2020-09-19  4:14 ` [PR REVIEW] " ericonr
  2020-09-19  4:14 ` ericonr
@ 2020-09-19  4:14 ` ericonr
  2020-09-19  9:07 ` waynevanson
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-09-19  4:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491266396

Comment:
You need to use `create_wrksrc` if the tarball doesn't contain a toplevel directory.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (2 preceding siblings ...)
  2020-09-19  4:14 ` ericonr
@ 2020-09-19  9:07 ` waynevanson
  2020-09-19 14:28 ` ericonr
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2020-09-19  9:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New review comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491342412

Comment:
What value do I put into it?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (3 preceding siblings ...)
  2020-09-19  9:07 ` waynevanson
@ 2020-09-19 14:28 ` ericonr
  2020-09-20  8:47 ` fosslinux
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-09-19 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491455157

Comment:
Just `create_wrksrc=yes` is enough c:

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (4 preceding siblings ...)
  2020-09-19 14:28 ` ericonr
@ 2020-09-20  8:47 ` fosslinux
  2020-09-23 21:55 ` [PR PATCH] [Updated] " waynevanson
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: fosslinux @ 2020-09-20  8:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

New review comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#discussion_r491669189

Comment:
Or, even better `EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh`.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (5 preceding siblings ...)
  2020-09-20  8:47 ` fosslinux
@ 2020-09-23 21:55 ` waynevanson
  2020-09-23 21:56 ` waynevanson
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2020-09-23 21:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

There is an updated pull request by waynevanson against master on the void-packages repository

https://github.com/waynevanson/void-packages package/bazel
https://github.com/void-linux/void-packages/pull/24978

New package: bazel-3.5.0
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:

- Should I be bootstrapping this? According to the instructions, that's what is I'm doing: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#compiling-from-source
- The build doesn't work for any other archs besides `x86_64`. Any tips on getting this to work cross architecture?


A patch file from https://github.com/void-linux/void-packages/pull/24978.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-package/bazel-24978.patch --]
[-- Type: text/x-diff, Size: 1227 bytes --]

From 1e7a5c43febcfed3a123afe895ec69df521e562f Mon Sep 17 00:00:00 2001
From: Wayne Van Son <waynevanson@gmail.com>
Date: Sat, 19 Sep 2020 00:14:43 +0000
Subject: [PATCH] New package: bazel-3.5.0

---
 srcpkgs/bazel/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/bazel/template

diff --git a/srcpkgs/bazel/template b/srcpkgs/bazel/template
new file mode 100644
index 00000000000..ad742b0a56d
--- /dev/null
+++ b/srcpkgs/bazel/template
@@ -0,0 +1,23 @@
+# Template file for 'bazel'
+pkgname=bazel
+version=3.5.0
+revision=1
+archs="~*-musl"
+create_wrksrc="yes"
+hostmakedepends="gcc openjdk11 unzip which zip"
+makedepends="python3-devel"
+short_desc="Fast, scalable, multi-language and extensible build system"
+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"
+
+do_install() {
+	EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh
+}
+
+post_install() {
+	vbin "${wrksrc}/output/bazel"
+}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (6 preceding siblings ...)
  2020-09-23 21:55 ` [PR PATCH] [Updated] " waynevanson
@ 2020-09-23 21:56 ` waynevanson
  2020-09-23 22:12 ` ericonr
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2020-09-23 21:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 89657 bytes --]

New comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-697993433

Comment:
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:
- [aarch64](https://github.com/bazelbuild/bazel/issues/8833)
- [armv7l](https://github.com/bazelbuild/bazel/issues/606)


### 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
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (7 preceding siblings ...)
  2020-09-23 21:56 ` waynevanson
@ 2020-09-23 22:12 ` ericonr
  2020-10-05 13:31 ` smorimoto
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-09-23 22:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-697999127

Comment:
Why is it broken for musl?

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (8 preceding siblings ...)
  2020-09-23 22:12 ` ericonr
@ 2020-10-05 13:31 ` smorimoto
  2020-10-05 21:04 ` waynevanson
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: smorimoto @ 2020-10-05 13:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

New comment by smorimoto on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-703633944

Comment:
Status?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (9 preceding siblings ...)
  2020-10-05 13:31 ` smorimoto
@ 2020-10-05 21:04 ` waynevanson
  2020-10-05 21:11 ` waynevanson
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2020-10-05 21:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

New comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-703888196

Comment:
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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (10 preceding siblings ...)
  2020-10-05 21:04 ` waynevanson
@ 2020-10-05 21:11 ` waynevanson
  2020-12-23  2:11 ` fosslinux
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2020-10-05 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

New comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-703887035

Comment:
> 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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (11 preceding siblings ...)
  2020-10-05 21:11 ` waynevanson
@ 2020-12-23  2:11 ` fosslinux
  2020-12-28 11:16 ` fosslinux
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: fosslinux @ 2020-12-23  2:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-749883308

Comment:
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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (12 preceding siblings ...)
  2020-12-23  2:11 ` fosslinux
@ 2020-12-28 11:16 ` fosslinux
  2020-12-28 11:17 ` fosslinux
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: fosslinux @ 2020-12-28 11:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 7163 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-751678461

Comment:
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 https://github.com/bazelbuild/bazel/issues/12049 https://github.com/bazelbuild/bazel/issues/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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (13 preceding siblings ...)
  2020-12-28 11:16 ` fosslinux
@ 2020-12-28 11:17 ` fosslinux
  2021-06-20 21:00 ` waynevanson
  2021-06-20 21:00 ` [PR PATCH] [Closed]: " waynevanson
  16 siblings, 0 replies; 18+ messages in thread
From: fosslinux @ 2020-12-28 11:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 7138 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-751678461

Comment:
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 https://github.com/bazelbuild/bazel/issues/12049 https://github.com/bazelbuild/bazel/issues/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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (14 preceding siblings ...)
  2020-12-28 11:17 ` fosslinux
@ 2021-06-20 21:00 ` waynevanson
  2021-06-20 21:00 ` [PR PATCH] [Closed]: " waynevanson
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2021-06-20 21:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 208 bytes --]

New comment by waynevanson on void-packages repository

https://github.com/void-linux/void-packages/pull/24978#issuecomment-864611252

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Closed]: New package: bazel-3.5.0
  2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
                   ` (15 preceding siblings ...)
  2021-06-20 21:00 ` waynevanson
@ 2021-06-20 21:00 ` waynevanson
  16 siblings, 0 replies; 18+ messages in thread
From: waynevanson @ 2021-06-20 21:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

There's a closed pull request on the void-packages repository

New package: bazel-3.5.0
https://github.com/void-linux/void-packages/pull/24978

Description:
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:

- Should I be bootstrapping this? According to the instructions, that's what is I'm doing: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#compiling-from-source
- The build doesn't work for any other archs besides `x86_64`. Any tips on getting this to work cross architecture?


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-06-20 21:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
2020-09-19  4:14 ` [PR REVIEW] " ericonr
2020-09-19  4:14 ` ericonr
2020-09-19  4:14 ` ericonr
2020-09-19  9:07 ` waynevanson
2020-09-19 14:28 ` ericonr
2020-09-20  8:47 ` fosslinux
2020-09-23 21:55 ` [PR PATCH] [Updated] " waynevanson
2020-09-23 21:56 ` waynevanson
2020-09-23 22:12 ` ericonr
2020-10-05 13:31 ` smorimoto
2020-10-05 21:04 ` waynevanson
2020-10-05 21:11 ` waynevanson
2020-12-23  2:11 ` fosslinux
2020-12-28 11:16 ` fosslinux
2020-12-28 11:17 ` fosslinux
2021-06-20 21:00 ` waynevanson
2021-06-20 21:00 ` [PR PATCH] [Closed]: " waynevanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).