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

Vladimir Petko 2143783 at bugs.launchpad.net
Wed Mar 11 01:39:35 UTC 2026


*** This bug is a duplicate of bug 2141591 ***
    https://bugs.launchpad.net/bugs/2141591

** This bug has been marked a duplicate of bug 2141591
   bazel-bootstrap 4.2.3+ds-11.1build1 fails to build from source: chokes on -Wl,--package-metadata

-- 
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