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

SConstruct new smoke_python_name() hangs compilation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.0.4
    • 2.0.5, 2.1.1
    • Build
    • None
    • Gentoo Linux

      dev-lang/python: 2.7.2-r3, 3.2.2
    • Fully Compatible
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: