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

SConstruct new smoke_python_name() hangs compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5, 2.1.1
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Gentoo Linux

      dev-lang/python: 2.7.2-r3, 3.2.2
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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

        Attachments

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

          Issue Links

            Activity

              People

              Assignee:
              schwerin Andy Schwerin
              Reporter:
              ultrabug Ultrabug
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: