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

SConstruct new smoke_python_name() hangs compilation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.0.5, 2.1.1
    • Affects Version/s: 2.0.4
    • Component/s: Build
    • None
    • Environment:
      Gentoo Linux

      dev-lang/python: 2.7.2-r3, 3.2.2
    • Fully Compatible
    • ALL

      When running scons to compile mongoDB from source, the smoke tests hang when calling smoke_python_name() at the second binary loop in the function. The compilation is then stale and won't go any further.

      This patch fixes the problem by checking for the python binary in PATH instead of only relying on the exception handler.

      NB : this patch also fixes user respect of FLAGS but you can ignore it if you want, this bug is fixed with the @@ -827,14 +830,16 @@ part only

        1. mongodb-2.0.3-fix-scons.patch
          3 kB
        2. debug.txt
          2 kB
        3. build.log
          2 kB

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            ultrabug Ultrabug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: