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

Typo in variables-files flag argument doesn't cause a parse error.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Sprint:
      Dev Platform 2020-05-18, Dev Platform 2020-06-01

      Description

      I had a typo in the path for my --variables-files flag. Scons did report it, but it wasn't rejected or validate in the command parser.

      function core_asan() {
              correct_python
        $PY buildscripts/scons.py -j8 \
            --link-model=dynamic \
            --allocator=system \
            --sanitize=address \
            --modules="" \
            --variables-files=etc/scons/mongodbtoolchaiun_stable_clang.vars \
            ICECC=icecc CCACHE=ccache \
            --ninja generate-ninja
      }
      

      Scons invocation showed the problem as:

      IGNORING missing variable customization file etc/scons/mongodbtoolchaiun_stable_clang.vars
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              eric.cox Eric Cox
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: