forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix rpmbuild
warnings
#644
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The
The following still remain: fede@tyner:~/src/wazuh-indexer/docker/builder (88-fix-rpm-warnings *+)
$ docker logs wazuh-indexer-builder_5.0.0 2>&1 | grep -Ei 'RPM build warnings:' -A 12
RPM build warnings:
bogus date in %changelog: Tue Feb 20 2025 support <[email protected]> - 4.10.2
File listed twice: /etc/wazuh-indexer/opensearch-security/action_groups.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/allowlist.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/audit.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/config.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/internal_users.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/nodes_dn.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/opensearch.yml.example
File listed twice: /etc/wazuh-indexer/opensearch-security/roles.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/roles_mapping.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/tenants.yml
File listed twice: /etc/wazuh-indexer/opensearch-security/whitelist.yml |
After the latest commit, no Build log warningsfede@tyner:~/src/wazuh-indexer/docker/builder (88-fix-rpm-warnings *)
$ docker logs wazuh-indexer-builder_5.0.0 2>&1 | grep -Ei 'warning'
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.10-all/3ym48ijgw9iixtry4iwty4ydy/gradle-8.10/lib/plugins/gradle-testing-base-infrastructure-8.10.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.8-bin/dl7vupf4psengwqhwktix4v1/gradle-8.8/lib/plugins/gradle-testing-base-8.8.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.8-bin/dl7vupf4psengwqhwktix4v1/gradle-8.8/lib/plugins/gradle-testing-base-8.8.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/home/wazuh-indexer/.gradle/caches/modules-2/files-2.1/org.opensearch.test/framework/2.18.0-SNAPSHOT/84ab0741ecfc70dbbc7d11340fe527d9e160d91d/framework-2.18.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/wazuh-indexer/.gradle/wrapper/dists/gradle-8.8-bin/dl7vupf4psengwqhwktix4v1/gradle-8.8/lib/plugins/gradle-testing-base-8.8.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
warning: unknown enum constant Status.STABLE
warning: unknown enum constant Status.STABLE
warning: unknown enum constant Status.STABLE
warning: unknown enum constant Status.STABLE
4 warnings
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
WARNING: COMPAT locale provider will be removed in a future release
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @
@ WARNING: plugin requires additional permissions @ |
The actions don't show the warnings anymore: |
AlexRuiz7
approved these changes
Jan 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the
rpm
package assembly stage warnings about missing build-ids and duplicated objects.Related Issues
Resolves #88
Check List