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

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Build
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: