[Bug 2143783] [NEW] bazel-bootstrap fails to build due to the : in the package-metadata
Vladimir Petko
2143783 at bugs.launchpad.net
Mon Mar 9 22:20:07 UTC 2026
Public bug reported:
bazel-bootstrap fails to build due to unquoted : in the package-
metadata:
[1A[K[31m[1mERROR: [0m/tmp/bazel_yc0Y6fdD/out/external/local_config_cc/BUILD:73:20: in cc_toolchain_config rule @local_config_cc//:local:
Traceback (most recent call last):
File "/tmp/bazel_yc0Y6fdD/out/external/local_config_cc/cc_toolchain_config.bzl", line 1229, column 53, in _impl
return cc_common.create_cc_toolchain_config_info(
Error in create_cc_toolchain_config_info: Invalid toolchain configuration: expected '{' at position 24 while parsing a flag containing '-Wl,--package-metadata=%7B%22type%22'
[32mAnalyzing:[0m target //src:bazel_nojdk (155 packages loaded, 804 targets configur\
ed)
currently loading: src/main/java/com/google/devtools/build/lib ... (5 pack\
ages)
Fetching @debian_java_deps; fetching
[1A[K
[1A[K
[1A[K
[1A[K
[1A[K[31m[1mERROR: [0mAnalysis of target '//src:bazel_nojdk' failed; build aborted: Analysis of target '@local_config_cc//:local' failed
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2143783
Title:
bazel-bootstrap fails to build due to the : in the package-metadata
Status in dpkg package in Ubuntu:
New
Bug description:
bazel-bootstrap fails to build due to unquoted : in the package-
metadata:
[1A[K[31m[1mERROR: [0m/tmp/bazel_yc0Y6fdD/out/external/local_config_cc/BUILD:73:20: in cc_toolchain_config rule @local_config_cc//:local:
Traceback (most recent call last):
File "/tmp/bazel_yc0Y6fdD/out/external/local_config_cc/cc_toolchain_config.bzl", line 1229, column 53, in _impl
return cc_common.create_cc_toolchain_config_info(
Error in create_cc_toolchain_config_info: Invalid toolchain configuration: expected '{' at position 24 while parsing a flag containing '-Wl,--package-metadata=%7B%22type%22'
[32mAnalyzing:[0m target //src:bazel_nojdk (155 packages loaded, 804 targets configur\
ed)
currently loading: src/main/java/com/google/devtools/build/lib ... (5 pack\
ages)
Fetching @debian_java_deps; fetching
[1A[K
[1A[K
[1A[K
[1A[K
[1A[K[31m[1mERROR: [0mAnalysis of target '//src:bazel_nojdk' failed; build aborted: Analysis of target '@local_config_cc//:local' failed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2143783/+subscriptions
More information about the foundations-bugs
mailing list