OpenSearch
OpenSearch copied to clipboard
[BUG] Project build is failing on Mac M1
Describe the bug Build is failing with below err Could not determine the dependencies of task ':qa:full-cluster-restart:v2.1.1#upgradedClusterTest'.
Could not resolve all task dependencies for configuration ':qa:full-cluster-restart:opensearch_distro_extracted_testclusters-qa-full-cluster-restart-v2.1.1-1-2.1.1-'. Could not resolve project :distribution:bwc:bugfix. Required by: project :qa:full-cluster-restart > Project :qa:full-cluster-restart declares a dependency from configuration 'opensearch_distro_extracted_testclusters-qa-full-cluster-restart-v2.1.1-1-2.1.1-' to configuration 'expanded-darwin-arm64-tar' which is not declared in the descriptor for project :distribution:bwc:bugfix.
To Reproduce pull latest code and run a gradle build on mac m1
Expected behavior gradle build and gradle check must be completed without any errors
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: Mac M1
- Version: 12.3.1
Additional context @saratvemulapalli
Thanks for opening this up @vzez. I dont have an M1 machine, the code says we do build a distribution for darwin-arm64[1]. Anybody here can help run this and confirm ?
[1] https://github.com/opensearch-project/OpenSearch/tree/main/distribution/archives/darwin-arm64-tar