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

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

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

      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
      

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: