-
Notifications
You must be signed in to change notification settings - Fork 419
confluent-kafka/8.1.0.23 package update #56161
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 13, 2025
Signed-off-by: wolfi-bot <[email protected]>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch file failed to apply cleanly to the LICENSE-binary file. While some parts of the patch were successfully applied to build.gradle and gradle/dependencies.gradle files, the hunk for LICENSE-binary failed, causing the entire build process to fail. 🔍 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
Click to expand fix analysisAnalysisBased on the error message and the similar fixed build failure, this is a classic patch application failure where the patch file cannot be applied cleanly to the target files. The specific error indicates that the patch for the LICENSE-binary file failed at line 206. This typically happens when:
The similar fixed build failure (#48244) shows that when patches fail to apply, the solution was to create a new package definition file rather than trying to fix the patch itself. This suggests that for Wolfi OS, a common approach is to update or recreate the package definition rather than patching outdated files when versions change. Click to expand fix explanationExplanationThe build is failing because the patch cannot be applied cleanly to the LICENSE-binary file. The patch is likely trying to update the commons-beanutils dependency to address a security vulnerability (GHSA-wxr5-93ph-8wr9), but the patch was created for a different version of the Confluent Kafka codebase. There are two main approaches to fixing this issue:
The suggested changes provide both options, with a preference for recreating the patch file properly. The manual sed commands are included as a fallback to ensure the security update is applied even if the patch partially fails. This approach aligns with Wolfi's guiding principles of keeping packages up to date and prioritizing security patches and CVE fixes. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |