Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Documentation guide not building the project #2174

Closed
jj10133 opened this issue Oct 18, 2022 · 4 comments
Closed

[BUG] - Documentation guide not building the project #2174

jj10133 opened this issue Oct 18, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@jj10133
Copy link

jj10133 commented Oct 18, 2022

What is the bug?
During ./gradlew clean assemble when setting up the project throws error of detecting some dependencies tried both JAVA 11 and 17 results the same issue

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to https://github.com/opensearch-project/security/blob/main/DEVELOPER_GUIDE.md#prerequisites
  2. Follow all the setups till the 'building'
  3. run the command ./gradlew clean assemble
  4. See error

What is the expected behavior?
Should build the project

What is your host/environment?

  • OS: Linux (Fedora)
  • Version [e.g. 36]
  • Security

Do you have any screenshots?
image

Do you have any additional context?
Add any other context about the problem.

@jj10133 jj10133 added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Oct 18, 2022
@peternied
Copy link
Member

We had build breaks in main that were recently resolved, can you post your commit SHA, failures are expected if you are not built off of 41d68cc.

I can't tell the source of the error as it looks like its off the screen, if you are running the latest commit and are still seeing the error, could you copy the whole console output and paste into a GIST [1] that you link here?

[1] https://gist.github.com/

@peternied peternied removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Oct 18, 2022
@jj10133
Copy link
Author

jj10133 commented Oct 18, 2022

Yes its the same SHA --> 41d68cc

@jj10133
Copy link
Author

jj10133 commented Oct 18, 2022

Just pulled the latest commit, it's working now thanks however do you know the reason why it was breaking at compile time?

@peternied
Copy link
Member

@nishp77 Our main branch is associated with OpenSearch's main branch, which occasionally gets breaking changes that are targeting the 3.0.0 release. This synchronization can lead to breaks like this one, most of the types we fix them quickly, but in this case, it was a hard issue to resolve checkout the pull request if you are curious about the details [1]. We created an issue in OpenSearch-build [2] to see if we can better detect/mitigate issues like this in the future.

[1] #2166
[2] opensearch-project/opensearch-build#2749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants