-
Notifications
You must be signed in to change notification settings - Fork 416
efs-utils/2.3.2 package update #60041
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
efs-utils/2.3.2 package update #60041
Conversation
octo-sts
bot
commented
Jul 18, 2025
Signed-off-by: wolfi-bot <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The build process expected a specific commit hash (48cd437bc5212809b1ad546293b3c2931ea79caf) for tag v2.3.2 but found a different commit hash (e9ff0e1596f8ac566063659cda60290339216727) when checking out the repository. This mismatch caused the build to fail as it was likely using an integrity check to ensure the expected source code was being used. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixes
Suggested ChangesFile: efs-utils.yaml
Replacement:
Replacement: Click to expand fix analysisAnalysisAfter analyzing the similar fixed build failures, it's clear that all of them involve a mismatch between the expected commit hash and the actual commit hash when checking out a git repository at a specific tag. In each case, the fix was to update the expected-commit hash in the Melange YAML file to match the actual commit hash that corresponds to the tag being used. The pattern is consistent: when the git-checkout step fails with "Expected commit X, found Y", the solution is to update the expected-commit parameter to match the actual commit hash that the tag points to. This is a common issue when tags in git repositories get updated or when annotated tags are used (which point to tag objects rather than directly to commits). Click to expand fix explanationExplanationThe build failure occurs because there's a mismatch between the expected and actual commit hashes for the tag v2.3.2 in the efs-utils repository. Looking at the error message and the YAML file, we can see that:
The solution is to swap these commit hashes so they match the actual commit that each respective git-checkout operation will find. This appears to be a case where the commit hashes were incorrectly swapped between the main package and subpackage sections. This approach matches the patterns seen in the similar fixed build failures, where the expected-commit parameter was updated to match the actual commit hash that the tag points to in the upstream repository. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Dentrax <[email protected]>