Compiling third_party/zlib/gzwrite.c; 0s local In file included from third_party/ijar/zlib_client.cc:20: ./third_party/ijar/zlib_client.h:64:46: error: 'numeric_limits' is not a member of 'std' 64 | static const size_t MAX_BUFFER_SIZE = std::numeric_limits<int32_t>::max(); | ^~~~~~~~~~~~~~ ./third_party/ijar/zlib_client.h:64:68: error: expected primary-expression before '>' token 64 | static const size_t MAX_BUFFER_SIZE = std::numeric_limits<int32_t>::max(); ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j3_stable-20210811-165947 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 [2] rust-1.53.0 * The following VMs are available for generation-2: 1) JamVM JDK 2.0.0 [jamvm] *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] 3) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] jamvm [2] openjdk-bin-8 system-vm [3] openjdk-jre-bin-8 HEAD of ::gentoo commit 93880c86f41f6707fb6626b6b17e99215b06cf09 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Aug 18 00:08:10 2021 +0000 2021-08-18 00:08:08 UTC emerge -qpvO dev-util/bazel [ebuild N ] dev-util/bazel-1.2.1 USE="-examples -tools"
Created attachment 733689 [details] emerge-info.txt
Created attachment 733691 [details] dev-util:bazel-1.2.1:20210818-014435.log
Created attachment 733693 [details] emerge-history.txt
Created attachment 733695 [details] environment
Created attachment 733697 [details] etc.portage.tar.bz2
Created attachment 733699 [details] logs.tar.bz2
*** Bug 808903 has been marked as a duplicate of this bug. ***
ping
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee781d18fd2bbba3e78c70229f7aacd7d6c5a13 commit 4ee781d18fd2bbba3e78c70229f7aacd7d6c5a13 Author: Kerin Millar <kfm@plushkava.net> AuthorDate: 2021-09-14 03:48:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-19 01:38:16 +0000 dev-util/bazel: >=glibc-2.30 and gcc:11 compatibility fixes Ensure that versions 0.22.0, 0.24.1 and 0.27.2 are also patched so as not to conflict with glibc's gettid(2) function. Have all versions include the <limits> header, where required, for compatibility with gcc:11. Revise the dubious test for the presence of ccache so as to consider the value of FEATURES instead. Drop version 2.0.0 in favour of 2.0.1. Closes: https://bugs.gentoo.org/show_bug.cgi?id=720032 Closes: https://bugs.gentoo.org/show_bug.cgi?id=787248 Closes: https://bugs.gentoo.org/show_bug.cgi?id=808827 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org> dev-util/bazel/Manifest | 5 +- dev-util/bazel/bazel-0.22.0.ebuild | 8 +- dev-util/bazel/bazel-0.24.1.ebuild | 8 +- dev-util/bazel/bazel-0.27.2.ebuild | 6 +- dev-util/bazel/bazel-0.29.1.ebuild | 15 ++- dev-util/bazel/bazel-1.0.1.ebuild | 8 +- dev-util/bazel/bazel-1.2.0-r1.ebuild | 114 ------------------- dev-util/bazel/bazel-1.2.1.ebuild | 13 +-- dev-util/bazel/bazel-2.0.0.ebuild | 109 ------------------ .../{bazel-1.2.0.ebuild => bazel-2.0.1.ebuild} | 7 +- dev-util/bazel/bazel-3.2.0.ebuild | 5 +- dev-util/bazel/bazel-3.7.2.ebuild | 5 +- .../bazel-0.22.0-include-limits-for-gcc-11.patch | 125 +++++++++++++++++++++ .../bazel-0.22.0-rename-gettid-functions.patch | 44 ++++++++ .../bazel-0.24.1-rename-gettid-functions.patch | 66 +++++++++++ .../bazel-3.2.0-include-limits-for-gcc-11.patch | 25 +++++ 16 files changed, 310 insertions(+), 253 deletions(-)