-
Notifications
You must be signed in to change notification settings - Fork 278
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
shadow/4.17.0 package update #38360
shadow/4.17.0 package update #38360
Conversation
octo-sts
bot
commented
Dec 25, 2024
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
Gen AI suggestions to solve the build error: Based on the error output, I'll analyze and provide a solution: • Detected Error: "can't find file to patch at input line 3... The text leading up to this was: |--- a/lib/alloc.h" • Error Category: Configuration/Patch • Failure Point: During the patch step in the pipeline, specifically when trying to apply fix-undefined-reference.patch • Root Cause Analysis: The patch is failing because the path specified in the patch file doesn't match the source tree structure, or the patch file is trying to modify a file that doesn't exist at the expected location. • Suggested Fix:
- uses: patch
with:
patches: |
fix-undefined-reference.patch \
useradd-defaults.patch
strip-components: 1
- uses: patch
with:
patches: |
fix-undefined-reference.patch \
useradd-defaults.patch
use-git: true • Explanation: The patch is failing because the path prefixes don't match. The • Additional Notes:
• References:
|
Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev>
Gen AI suggestions to solve the build error: Based on the build error output, I'll analyze and provide a solution: • Detected Error: • Error Category: Configuration • Failure Point: Final cleanup step in the pipeline trying to remove man pages • Root Cause Analysis: The build is failing because it's trying to remove a man page that doesn't exist. This is happening in the pipeline step that removes the groups man page to avoid conflicts with coreutils-doc package. • Suggested Fix: Modify the pipeline step to make the rm command non-failing by adding the -f flag and checking if the file exists. Change this line: From: rm ${{targets.destdir}}/usr/share/man/man1/groups.* To: rm -f ${{targets.destdir}}/usr/share/man/man1/groups.* || true • Explanation: The -f flag makes rm continue even if files don't exist, and the • Additional Notes:
• References:
|
superseded by #38566 |