-
Notifications
You must be signed in to change notification settings - Fork 343
ruby-3.4/3.4.4 package update #53280
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
May 14, 2025
Signed-off-by: wolfi-bot <[email protected]>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch failed to apply cleanly to the gems/bundled_gems file, likely because the content at line 10 differs from what the patch expected. This suggests that either the source code has changed since the patch was created or the patch was created against a different version of the file. Since the build is for ruby-3.4 and targeting tag v3_4_4, there may be differences in the bundled_gems file from what the patch was expecting. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: remove-already-provided-gems-from-gems_bundled_gems.patch
Replacement:
Content:
File: Melange YAML
Replacement:
Content:
Click to expand fix analysisAnalysisThe build failure is occurring when trying to apply a patch to the The patch named Click to expand fix explanationExplanationThe patch is failing because the content of the
Creating a new patch against the current Ruby 3.4.4 source code would ensure that it applies cleanly. Alternatively, using the sed-based approach would make the build more resilient to changes in the bundled_gems file layout, as it removes the targeted gems by name rather than relying on specific line numbers or context. The sed commands target the specific gems by their names at the beginning of lines, which makes the solution more robust as it will work regardless of where in the file those gems are listed. This approach will continue to work even if the ordering of gems in the file changes in future Ruby versions, as long as the format of the file remains consistent with gem names at the beginning of lines. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Batuhan Apaydin <[email protected]>
Signed-off-by: Batuhan Apaydin <[email protected]>