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

Fix libdeps compatibility with enterprise module

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • ALL

      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`

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: