ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Cross-compiled distribution archives currently put the build host architecture in their extraction directory. An s390x build on ARM64 therefore extracts into mongodb-linux-aarch64-... even though its binaries target s390x.

      Use the target platform's OS and CPU constraints in bazel/install_rules/archive_name.bzl, shared by the dist definition and packaging regression tests. Preserve the existing distribution architecture spellings and edition, distro, and version suffixes. Add tar/zip analysis coverage across Linux, macOS, and Windows, with ARM64 host metadata supplied independently of the target.

      Fixes SERVER-138547.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: