Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14149

tcmalloc buildscript fails to build if not cached in S3

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Evergreen
    • Storage Engines
    • 1
    • StorEng - 2025-02-28

      When building TCmalloc onto to a new machine, I faced an installation error:

      [ec2-user@ip-10-122-26-118 tcmalloc-mongo-20240522]$ bazel test //tcmalloc/...
      ERROR: Skipping '//tcmalloc/...': error loading package under directory 'tcmalloc': error loading package 'tcmalloc': Unable to find package for @@[unknown repo 'rules_fuzzing' requested from @@]//fuzzing:cc_defs.bzl: The repository '@@[unknown repo 'rules_fuzzing' requested from @@]' could not be resolved: No repository visible as '@rules_fuzzing' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
      ERROR: error loading package under directory 'tcmalloc': error loading package 'tcmalloc': Unable to find package for @@[unknown repo 'rules_fuzzing' requested from @@]//fuzzing:cc_defs.bzl: The repository '@@[unknown repo 'rules_fuzzing' requested from @@]' could not be resolved: No repository visible as '@rules_fuzzing' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
      

      This was reproduced under ubuntu2004 (our main machine) as well. Following the error it says this line:

      The WORKSPACE file is disabled by default in Bazel 8 (late 2024)
      

      It seems that bazel has disabled the use of WORKSPACE and is forcing us to migrate to Bzlmod.

            Assignee:
            jie.chen@mongodb.com Jie Chen
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: