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

conf.Finish() is missing in src/third_party/wiredtiger/SConscript

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.2.7, 3.3.8
    • Fix Version/s: 3.2.8, 3.3.9
    • Component/s: Build
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Steps To Reproduce:
      Hide

      Add Configure(env) call to any SConscript file which is executed after src/third_party/wiredtiger/SConscript. For example add it to src/mongo/db/storage/rocks/SConscript.
      It will fail.as described in the description.

      Show
      Add Configure(env) call to any SConscript file which is executed after src/third_party/wiredtiger/SConscript . For example add it to src/mongo/db/storage/rocks/SConscript . It will fail.as described in the description.
    • Sprint:
      Platforms 16 (06/24/16)

      Description

      There is a call to Configure(env) in src/third_party/wiredtiger/SConscript. But there is no cleanup call conf.Finish() in that file.
      This is an issue because SCons internally maintains reference to the active configuration object instance and prevents creation of more than single instance at any moment. Thus after execution of src/third_party/wiredtiger/SConscript there is orphaned configuration object instance which prevents any subsequent SConscripts from calling Configure(env).
      Actually if one of the subsequent SConscripts will try to execute Configure(env) the build will fail with following message:

      scons: ***
      File "/path/to/SConscript", line 3, in <module>

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: