Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794550

Summary: dev-util/bazel-3.7.2 - external/.../zlib_client.h: error: numeric_limits is not a member of std (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: perfinion
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/bazelbuild/bazel/issues/12756
See Also: https://bugs.gentoo.org/show_bug.cgi?id=787248
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
dev-util:bazel-3.7.2:20210605-235659.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-06 08:36:11 UTC
[25 / 617] Compiling bazel_tools/.../zlib/compress.c [for host]; 0s local
In file included from external/bazel_tools/third_party/ijar/zlib_client.cc:20:
external/bazel_tools/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();
      |                                              ^~~~~~~~~~~~~~
external/bazel_tools/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 unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j3-20210602-103145

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *
  HEAD of ::gentoo
commit 8d885c09274c5a01aa34a2604a1b62ca1e696654
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 5 22:22:24 2021 +0000

    2021-06-05 22:22:23 UTC

emerge -qpvO dev-util/bazel
[ebuild  N    ] dev-util/bazel-3.7.2  USE="-examples (-prefix) -static-libs -tools"
Comment 1 Toralf Förster gentoo-dev 2021-06-06 08:36:12 UTC
Created attachment 713937 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-06 08:36:14 UTC
Created attachment 713940 [details]
dev-util:bazel-3.7.2:20210605-235659.log
Comment 3 Toralf Förster gentoo-dev 2021-06-06 08:36:15 UTC
Created attachment 713943 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-06 08:36:17 UTC
Created attachment 713946 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-06 08:36:18 UTC
Created attachment 713949 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-06 08:36:19 UTC
Created attachment 713952 [details]
logs.tar.bz2
Comment 7 Bernd Feige 2021-06-17 08:00:41 UTC
Upstream bug is here: https://github.com/bazelbuild/bazel/issues/12756
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-01 07:06:04 UTC
(In reply to Bernd Feige from comment #7)
> Upstream bug is here: https://github.com/bazelbuild/bazel/issues/12756

Thanks!
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-05 00:22:03 UTC
gyakovlev let me know that this is fixed in abseil itself, so shoudl be ok now?