-
Notifications
You must be signed in to change notification settings - Fork 418
confluent-kafka/8.1.0.22 package update #55942
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
Conversation
octo-sts
bot
commented
Jun 11, 2025
Signed-off-by: wolfi-bot <[email protected]>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch being applied (fix-GHSA-wxr5-93ph-8wr9-force-update-common-beanutils.patch) failed to apply cleanly to the LICENSE-binary file. While the changes to build.gradle and gradle/dependencies.gradle were successfully applied, the hunk for LICENSE-binary failed to apply, causing the entire patch operation to fail with exit status 1. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: fix-GHSA-wxr5-93ph-8wr9-force-update-common-beanutils.patch
Replacement: Content: File: confluent-kafka.yaml
Replacement: Content: File: confluent-kafka.yaml
Replacement: Content: Click to expand fix analysisAnalysisThe current build failure involves a patch failing to apply cleanly to the LICENSE-binary file, where the hunk #1 at line 206 failed. This is similar to the example fix where a patch failed to apply to gradle/dependencies.gradle. In the similar case, the fix didn't involve modifying the patch itself but rather creating a new approach - defining a new package YAML file. This pattern suggests that when patches fail to apply cleanly due to version mismatches or content changes, it's often more reliable to either:
The failure indicates the patch partially applied (successfully modifying build.gradle and gradle/dependencies.gradle) but failed on the LICENSE-binary file. Click to expand fix explanationExplanationThe build is failing because a patch to fix security vulnerability GHSA-wxr5-93ph-8wr9 (related to commons-beanutils) isn't applying correctly to the LICENSE-binary file. The patch is likely trying to update the dependency version information in the LICENSE file, but the content or line numbers have changed in the current version of Confluent Kafka. I'm suggesting three possible solutions:
The root cause appears to be that the patch was created for a specific version of Confluent Kafka, but the version being built now has different file content at the specified locations. This is a common issue when applying security patches across different versions of a package. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
superseded by #56161 |