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

confluent-kafka/8.0.0.178 package update #35072

Closed
wants to merge 1 commit into from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Nov 23, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Nov 23, 2024
Copy link
Contributor Author

octo-sts bot commented Nov 23, 2024

Gen AI suggestions to solve the build error:

• Detected Error: "Reversed (or previously applied) patch detected! [...] saving rejects to file gradle/dependencies.gradle.rej"

• Error Category: Configuration/Patch

• Failure Point: The patch step in the pipeline trying to apply "upgrade-netty-version-to-fix-CVE.patch"

• Root Cause Analysis: The patch appears to be either:

  1. Already applied to the source code
  2. Created against a different version of the file
  3. In reverse format

• Suggested Fix:

  1. Regenerate the patch against the current version:
git checkout v8.0.0-178-ccs
# Make your netty version changes
git diff > upgrade-netty-version-to-fix-CVE.patch
  1. Or modify the patch step to force apply:
  - uses: patch
    with:
      patches: upgrade-netty-version-to-fix-CVE.patch
      args:
        - --force

• Explanation: The error indicates the patch content doesn't match the target file state. Either the changes are already present (common when updating versions) or the patch was generated against a different version. Using --force will attempt to apply the patch anyway, while regenerating ensures the patch matches the current source.

• Additional Notes:

  • The package version was updated to 8.0.0.178, so the patch may need to be regenerated against this version
  • Check if the Netty version upgrade is still necessary for this version
  • Verify the CVE is still applicable to this version

• References:

@octo-sts octo-sts bot closed this Nov 23, 2024
Copy link
Contributor Author

octo-sts bot commented Nov 23, 2024

superseded by #35075

@octo-sts octo-sts bot deleted the wolfictl-7624c046-1b81-4182-bcf2-bcbd3639752a branch November 24, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr request-version-update request for a newer version of a package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant