[SERVER-81204] Fix libdeps compatibility with enterprise module Created: 19/Sep/23  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Zack Winter Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Operating System: ALL
Participants:

 Description   

Currently building the dependency graph with the enterprise module enabled fails with the following error:

```
AttributeError: 'NoneType' object has no attribute 'get_name':
File "/home/ubuntu/mongo/SConstruct", line 6574:
libdeps.generate_libdeps_graph(env)
File "/home/ubuntu/mongo/site_scons/libdeps_tool.py", line 1208:
add_node_from(env, libdep)
File "/home/ubuntu/mongo/site_scons/libdeps_tool.py", line 958:
NodeProps.bin_type.name: node.builder.get_name(env),

```
Since we're relying on libdeps for bazel conversion, fixing this is a requirement for the conversion process.

To reproduce this issue, run:

`python3 buildscripts/scons.py --link-model=dynamic --build-tools=next generate-libdeps-graph --linker=gold`


Generated at Thu Feb 08 06:45:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.