[SERVER-29338] building compiledb target throws AttributeError Created: 23/May/17  Updated: 30/Oct/23  Resolved: 27/Jun/17

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Gabriel Russell (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

python buildscripts/scons.py CC=/usr/bin/clang CXX=/usr/bin/clang++ -j24 --cache --implicit-cache --modules= compiledb
...
scons: Building targets ...
scons: *** [compile_commands.json] AttributeError : 'NodeInfoBase' object has no attribute 'str_to_node'
scons: building terminated because of errors.
compile_commands.json failed: AttributeError : 'NodeInfoBase' object has no attribute 'str_to_node'

Sprint: Platforms 2017-06-19, Platforms 2017-07-10
Participants:

 Comments   
Comment by Githook User [ 23/Jun/17 ]

Author:

{u'username': u'bdbaddog', u'name': u'William Deegan', u'email': u'bill@baddogconsulting.com'}

Message: SERVER-29338 Switch to use Value node instead of Node class in compiledb tool

Also use .write() and .read() methods on same to store entry information

Signed-off-by: Gabriel Russell <gabriel.russell@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/0019d153b92ddb6a588f12d70007ddae0b7b653c

Comment by Andrew Morrow (Inactive) [ 16/Jun/17 ]

Lets get this up as a PR so we can merge it.

Comment by bdbaddog#1 [ 15/Jun/17 ]

Potential fix at:
https://github.com/bdbaddog/mongo/commit/538abc9f5bd5f697a7ad14500a9c3a8d64d22ed8

branch:
https://github.com/bdbaddog/mongo/tree/fix_compilation_db_logic

Generated at Thu Feb 08 04:20:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.