Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47399

Handling of dSYM directories in separate_debug.py is problematic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc2
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Dev Platform 2020-04-20
    • Linked BF Score:
      71

      Description

      In the separate_debug.py tool, we don't do anything special to account for the fact that on macOS, the separate debug information (the .dSYM) is a directory with substructure rather than a file. SCons is heavily file based, and it appears that trying to ignore this nuance breaks SCons in subtle ways. Instead, we will need to teach separate_debug.py about the substructure and let SCons handle it file by file. This will require changes to how auto_install_binaries.py integrates with separate_debug.py as well, since it currently uses suffix matching to determine placement. That will no longer be sufficient.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: