[Bug 2143783] Re: bazel-bootstrap fails to build due to the : in the package-metadata

Vladimir Petko 2143783 at bugs.launchpad.net
Mon Mar 9 22:42:57 UTC 2026


Note: after url-encoding the :, bazel build still fails as bazel urldecodes the value. 
We need a newer version of bazel to process it correctly.

** Also affects: bazel-bootstrap (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 bazel-bootstrap package in Ubuntu:
  New
Status in dpkg package in Ubuntu:
  New

Bug description:
  bazel-bootstrap fails to build due to unquoted : in the package-
  metadata:


  ERROR: /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'
  Analyzing: 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

  
  
  
  
  ERROR: Analysis 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/bazel-bootstrap/+bug/2143783/+subscriptions




More information about the foundations-bugs mailing list