Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794550 - dev-util/bazel-3.7.2 - external/.../zlib_client.h: error: numeric_limits is not a member of std (maybe gcc-11 related)
Summary: dev-util/bazel-3.7.2 - external/.../zlib_client.h: error: numeric_limits is n...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL: https://github.com/bazelbuild/bazel/i...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-06-06 08:36 UTC by Toralf Förster
Modified: 2021-08-05 00:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.21 KB, text/plain)
2021-06-06 08:36 UTC, Toralf Förster
Details
dev-util:bazel-3.7.2:20210605-235659.log (dev-util:bazel-3.7.2:20210605-235659.log,74.95 KB, text/plain)
2021-06-06 08:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,237.34 KB, text/plain)
2021-06-06 08:36 UTC, Toralf Förster
Details
environment (environment,115.14 KB, text/plain)
2021-06-06 08:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.30 KB, application/x-bzip)
2021-06-06 08:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.89 KB, application/x-bzip)
2021-06-06 08:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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-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-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?