-
Notifications
You must be signed in to change notification settings - Fork 416
audit/4.1.0 package update #58888
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
audit/4.1.0 package update #58888
Conversation
octo-sts
bot
commented
Jul 10, 2025
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch 'test-uid-42.patch' could not be applied to the file 'auparse/test/auparse_test.ref'. All 8 hunks of the patch failed to apply, indicating that the target file has likely changed significantly from what the patch was designed for. This is likely due to version mismatches between the patch and the source code being patched. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: pipeline section in the melange.yaml
File: test-uid-42.patch
Content: Click to expand fix analysisAnalysisThe current build failure involves a patch file (test-uid-42.patch) that fails to apply to the auparse_test.ref file. Based on the upstream changelog, it's clear that the test suite has been modified to be "machine independent" and "does not require certain user IDs and group IDs to be present." This strongly suggests that the test-uid-42.patch was created to make the tests less dependent on specific UIDs/GIDs, but the patch no longer applies cleanly because the upstream code has already implemented similar changes in version 4.1.0. The rejection of all 8 hunks indicates that the upstream file has changed significantly from what the patch was designed for. Click to expand fix explanationExplanationThe build failure occurs because the patch 'test-uid-42.patch' cannot be applied to the file 'auparse/test/auparse_test.ref'. According to the upstream changelog for version 4.1.0, the test suite has been made "machine independent" and "does not require certain user IDs and group IDs to be present." This suggests that the purpose of the test-uid-42.patch (likely to make tests not dependent on specific user IDs - hence the name) has already been addressed in the upstream codebase. The fact that all 8 hunks of the patch failed indicates that the target file has changed significantly in the new version. The most appropriate solution is to remove this patch from the build process since its functionality appears to have been incorporated into the upstream code. This aligns with Wolfi's principle of keeping packages up to date with upstream releases and using the latest version of packages where possible. If after review it's determined that the patch does contain some functionality that hasn't been incorporated upstream, a new patch would need to be created against the current codebase. However, based on the changelog entry specifically mentioning machine independence for the test suite, it's highly likely that the patch is simply no longer needed. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
a204db4 to
eb5c251
Compare
eb5c251 to
1f3c2d8
Compare
AmberArcadia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably worth deleting the test-uid-42.patch file too
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
upstream made a change in the file: linux-audit/audit-userspace@50ef75c Signed-off-by: Vishal Choudhary <vishal.choudhary@chainguard.dev>
The audisp-remote binary is a plugin consumed by the main daemon, not something one calls directly on the shell. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero@chainguard.dev>
Not in use. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero@chainguard.dev>
1f3c2d8 to
b483eaf
Compare