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

Failure to compile mongod server and mongo shell from 3.2.8 sources

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.8
    • Component/s: Build
    • None
    • ALL
    • Hide

      1. extract tar ball
      2. go to mongo-r3.2.8
      3. type "scons"

      Show
      1. extract tar ball 2. go to mongo-r3.2.8 3. type "scons"

      Downloaded the tarball for 3.2.8 from https://github.com/mongodb/mongo/releases
      to build it on Debian 8.

      https://jira.mongodb.org/browse/SERVER-21791 was no help

      • No version.json.
      • No MONGO_VERSION set.
      • Trying to do MSI (Windows) stuff on Linux?

      Error when trying to build:

      IndexError: list index out of range:
        File "mongo-r3.2.8/SConstruct", line 2650:
          env.SConscript('src/SConscript', variant_dir='$BUILD_DIR', duplicate=False)
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 541:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 250:
          exec _file_ in call_stack[-1].globals
        File "mongo-r3.2.8/src/SConscript", line 14:
          ] + module_sconscripts
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 541:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 250:
          exec _file_ in call_stack[-1].globals
        File "mongo-r3.2.8/src/mongo/SConscript", line 40:
          'util',
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 541:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 250:
          exec _file_ in call_stack[-1].globals
        File "mongo-r3.2.8/src/mongo/installer/SConscript", line 7:
          'msi',
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 541:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/local/lib/scons-2.5.0/SCons/Script/SConscript.py", line 250:
          exec _file_ in call_stack[-1].globals
        File "mongo-r3.2.8/src/mongo/installer/msi/SConscript", line 89:
          major_version = "%s.%s" % (mv[0], mv[1])
      

        1. stdout.txt
          3 kB
        2. config.log.txt
          47 kB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            Patterner Jörg Plate [X]
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: