rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

boringssl dependency cycle (followup)

Open abhinavsingh1196 opened this issue 10 months ago • 1 comments

I am using rules_jvm_external 4.5, which should have the fix for https://github.com/bazel-contrib/rules_jvm_external/issues/686 What could be the reason I am still seeing this error?

in jvm_import rule @maven//:io_netty_netty_tcnative_boringssl_static_windows_x86_64: cycle in dependency graph:
    //001-microservice-intfc-tool/src/main/java/io/harness:MicroserviceDelegateInterfaceTool (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    //001-microservice-intfc-tool/src/main/java/io/harness:module (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    //950-delegate-tasks-beans:module (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    //950-delegate-tasks-beans/src/main/java/io/harness/serializer/kryo:module (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    //950-delegate-tasks-beans/src/main/java/io/harness/delegate/task/azure/resource/operation:module (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    //960-api-services/src/main/java/io/harness/azure/client:module (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    @maven//:com_azure_resourcemanager_azure_resourcemanager_appservice (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    @maven//:com_azure_resourcemanager_azure_resourcemanager_keyvault (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    @maven//:com_azure_azure_security_keyvault_secrets (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    @maven//:com_azure_azure_core_http_netty (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
    @maven//:io_netty_netty_tcnative_boringssl_static (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
.-> @maven//:io_netty_netty_tcnative_boringssl_static_windows_x86_64 (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
|   @maven//:io_netty_netty_tcnative_boringssl_static_osx_x86_64 (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)
`-- @maven//:io_netty_netty_tcnative_boringssl_static_windows_x86_64 (8f064a70310ae286083d2c8e27d1dc98d95cb3b9a8e9c784e57af5a5ada264d7)

I have not imported these boringssl libraries in my project. They are transitively coming in from azure libraries. I am currently thinking of excluding these deps.

abhinavsingh1196 avatar Feb 24 '25 06:02 abhinavsingh1196

Could you please try with rules_jvm_external 6.7? 4.5 is quite an old release at this point, and we've landed plenty of bug fixes along the way.

shs96c avatar Feb 24 '25 10:02 shs96c