Devcontainers: Issues building older release branches

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: devcontainer
    • None
    • DevProd Correctness
    • ALL
    • Correctness 2025-12-15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From benjamin.pearce@mongodb.com 

      Hi All, running into an issue building within the dev container for the 8.0 branch wondering if anyone else has run into these issues

      INFO: Analyzed target //:install-dist-test (0 packages loaded, 77 targets configured). ERROR: /workspaces/mongo/src/mongo/s/BUILD.bazel:765:16: Linking src/mongo/s/mongos_with_debug failed: (Exit 1): clang++ failed: error executing CppLink command (from target //src/mongo/s:mongos_with_debug) external/mongo_toolchain_v4/v4/bin/clang++ @bazel-out/aarch64-fastbuild/bin/src/mongo/s/mongos_with_debug-2.params external/mongo_toolchain_v4/v4/bin/clang+: external/mongo_toolchain_v4/stow/gcc-v4/lib64/libstdc+.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/aarch64-linux-gnu/libicuuc.so.74) Target //:install-dist-test failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 1.677s, Critical Path: 0.62s INFO: 30 processes: 30 internal. 

      From ivan.fefer@mongodb.com 

      I am having a similar issue with v8.2-staging with this error:
       
      ERROR: /workspaces/mongo/src/third_party/unwind/BUILD.bazel:22:17: Compiling src/third_party/unwind/dist/src/mi/Lget_reg.c failed: (Exit 127): clang failed: error executing CppCompile command (from target //src/third_party/unwind:unwind_with_debug) external/mongo_toolchain_v5/v5/bin/clang -U_FORTIFY_SOURCE '-std=c11' '-frandom-seed=bazel-out/aarch64-fastbuild/bin/src/third_party/unwind/_objs/unwind_with_debug/Lget_reg.pic.o' -Wall -Wsign-compare ... (remaining 119 arguments skipped) external/mongo_toolchain_v5/v5/bin/clang: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory Target //:install-devcore failed to build Use --verbose_failures to see the command lines of failed build steps.

            Assignee:
            Eric Lavigne
            Reporter:
            Eric Lavigne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: