Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906914 - dev-build/bazel-6.2.0 fails to compile: extension.h:34:33: error: found : in nested-name-specifier, expected ::
Summary: dev-build/bazel-6.2.0 fails to compile: extension.h:34:33: error: found : in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL: https://github.com/bazelbuild/bazel/i...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13 922374
  Show dependency tree
 
Reported: 2023-05-22 06:45 UTC by Agostino Sarubbo
Modified: 2024-02-24 12:53 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,274.65 KB, text/plain)
2023-05-22 06:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-22 06:45:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/bazel-6.2.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-22 06:45:44 UTC
CC'ing also the author of the commit (fff6e7099ea6a9cf790d54fcd5aef3105111ab97)
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-22 06:45:45 UTC
Created attachment 862152 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2023-05-22 06:45:46 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: Build did NOT complete successfully
external/com_google_absl/absl/strings/internal/str_format/extension.h:34:33: error: found ':' in nested-name-specifier, expected '::'
Comment 4 pva 2023-06-12 11:00:14 UTC
This looks like gcc-13 issue. I've tried bazel-6.2.1 and it has the same issue. opened upstream issue: https://github.com/bazelbuild/bazel/issues/18642
Comment 5 Lemon Lime 2023-06-12 13:39:53 UTC
(In reply to pva from comment #4)
> This looks like gcc-13 issue. I've tried bazel-6.2.1 and it has the same
> issue. opened upstream issue:
> https://github.com/bazelbuild/bazel/issues/18642

This could be it.
I built it using gcc-12 and compiled fine
Comment 6 Larry the Git Cow gentoo-dev 2024-02-03 19:35:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b99e43843a56b446dacfb90c9881e743ac7249

commit e9b99e43843a56b446dacfb90c9881e743ac7249
Author:     wangjiezhe <wangjiezhe@gmail.com>
AuthorDate: 2024-01-20 03:18:22 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2024-02-03 19:32:52 +0000

    dev-build/bazel: add notation for gcc-13 compilation issue
    
    Bug: https://bugs.gentoo.org/906914
    Bug: https://bugs.gentoo.org/917689
    Bug: https://bugs.gentoo.org/918703
    
    Signed-off-by: wangjiezhe <wangjiezhe@gmail.com>
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 dev-build/bazel/bazel-5.3.0.ebuild | 8 +++++++-
 dev-build/bazel/bazel-6.2.0.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2024-02-24 12:53:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937bb2fe50b5f938cca85d4a3b2ba55dbf71e617

commit 937bb2fe50b5f938cca85d4a3b2ba55dbf71e617
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:50:14 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:50:14 +0000

    dev-build/bazel: treeclean
    
    Bug: https://bugs.gentoo.org/878501
    Closes: https://bugs.gentoo.org/906914
    Closes: https://bugs.gentoo.org/917689
    Closes: https://bugs.gentoo.org/918703
    Closes: https://bugs.gentoo.org/634046
    Closes: https://bugs.gentoo.org/652776
    Closes: https://bugs.gentoo.org/687538
    Closes: https://bugs.gentoo.org/747370
    Closes: https://bugs.gentoo.org/766243
    Closes: https://bugs.gentoo.org/790116
    Closes: https://bugs.gentoo.org/820179
    Closes: https://bugs.gentoo.org/820182
    Closes: https://bugs.gentoo.org/832935
    Closes: https://bugs.gentoo.org/837023
    Closes: https://bugs.gentoo.org/846464
    Closes: https://bugs.gentoo.org/858314
    Closes: https://bugs.gentoo.org/867292
    Closes: https://bugs.gentoo.org/872455
    Closes: https://bugs.gentoo.org/884477
    Closes: https://bugs.gentoo.org/895300
    Closes: https://bugs.gentoo.org/909434
    Closes: https://bugs.gentoo.org/917257
    Closes: https://bugs.gentoo.org/919798
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-build/bazel/Manifest                           |   7 --
 dev-build/bazel/bazel-3.7.2-r1.ebuild              | 117 ---------------------
 dev-build/bazel/bazel-4.2.2.ebuild                 | 100 ------------------
 dev-build/bazel/bazel-5.0.0.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.1.1.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.3.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.2.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.4.0.ebuild                 | 102 ------------------
 .../bazel-3.2.0-include-limits-for-gcc-11.patch    |  25 -----
 .../bazel-3.7.2-musl-temp-failure-retry.patch      |  34 ------
 .../files/bazel-4.2.2-absl_numeric_limits.patch    |  41 --------
 dev-build/bazel/metadata.xml                       |  20 ----
 profiles/package.mask                              |  15 ---
 profiles/updates/1Q-2024                           |   1 -
 14 files changed, 858 deletions(-)