-
Notifications
You must be signed in to change notification settings - Fork 417
kong/3.9.1 package update #55261
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
kong/3.9.1 package update #55261
Conversation
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍A patch could not be cleanly applied to the file build/luarocks/templates/luarocks_exec.sh. Specifically, hunk #3 (targeting line 113) failed to apply, which suggests that the source file has changed since the patch was created, causing a conflict. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: http-archive.patch or openssl.patch (whichever contains the failing hunk)
Replacement: Click to expand fix analysisAnalysisThe build is failing because a patch file (likely either http-archive.patch or openssl.patch) contains changes that can't be applied cleanly to the build/luarocks/templates/luarocks_exec.sh file. Specifically, hunk #3 targeting line 113 failed to apply. This suggests that the upstream Kong repository (version 3.9.1) has modified this file compared to when the patches were created. Without examples of similar fixed build failures, I'll need to focus on the typical approaches for resolving patch conflicts in build systems like this. The most common solution is to update the patch file to match the current structure of the upstream source file. Click to expand fix explanationExplanationThe build failure occurs because a patch cannot be applied cleanly to the target file. This typically happens when:
To fix this issue, we need to:
This approach directly addresses the error message "Hunk #3 FAILED at 113" by updating the patch to match the current structure of the file. Since the build environment is clean and ephemeral, and all necessary dependencies are installed via the Melange YAML, the issue is isolated to the patch application step. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
537f205 to
3c13cc0
Compare
3c13cc0 to
885e8ab
Compare
Signed-off-by: wolfi-bot <[email protected]>
885e8ab to
4ea9a5e
Compare
Closes: #55113