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

compilation db scons tool is not compatible with scons 2.4.x

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.8, 3.3.9
    • Component/s: Build
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      Build 16 (06/24/16)

      Description

       
      scons compiledb generated-sources
       
      Building compilation database compile_commands.json
      scons: done building targets.
      NotImplementedError: :
        File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1374:
          _exec_main(parser, values)
        File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1337:
          _main(parser)
        File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1102:
          nodes = _build_targets(fs, options, targets, target_top)
        File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1299:
          jobs.run(postfunc = jobs_postfunc)
        File "/usr/lib/python2.7/site-packages/SCons/Job.py", line 111:
          self.job.start()
        File "/usr/lib/python2.7/site-packages/SCons/Job.py", line 216:
          task.executed()
        File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 235:
          SCons.Taskmaster.OutOfDateTask.executed(self)
        File "/usr/lib/python2.7/site-packages/SCons/Taskmaster.py", line 310:
          t.release_target_info()
        File "/usr/lib/python2.7/site-packages/SCons/Node/FS.py", line 3009:
          self.changed(allowcache=True)
        File "/usr/lib/python2.7/site-packages/SCons/Node/FS.py", line 3260:
          has_changed = SCons.Node.Node.changed(self, node)
        File "/usr/lib/python2.7/site-packages/SCons/Node/__init__.py", line 1442:
          if _decider_map[child.changed_since_last_build](child, self, prev_ni):
        File "/usr/lib/python2.7/site-packages/SCons/Node/__init__.py", line 265:
          raise NotImplementedError
      scons compiledb  8.53s user 0.17s system 99% cpu 8.719 total
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: