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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.8, 3.3.9
    • Affects Version/s: 3.2.7, 3.3.8
    • Component/s: Build
    • Labels:
    • Fully Compatible
    • ALL
    • 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.
    • Platforms 16 (06/24/16)

      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>

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            igorsol Igor Solodovnikov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: