Skip to content

Stop hashupdate on a failed download - #886

Merged
wader merged 1 commit into
wader:masterfrom
Dummgelaufen007:hashupdate-fail
Nov 26, 2026
Merged

wader merged 1 commit into
wader:masterfrom
Dummgelaufen007:hashupdate-fail

Conversation

@Dummgelaufen007

Copy link
Copy Markdown
Contributor

hashupdate now fetches with curl -fsSL instead of curl -sL. A 404 or other HTTP error used to end curl with exit 0, so pipefail did not trigger and the hash of the error page went into the Dockerfile. curl now exits with 22 and the bump stops before sed. -S keeps curl's error message visible despite -s.

This happened on 2026-10-08: the pushes 8e9fa77 (bump-libva-2.24.1) and 7e92d3f (bump-libvpl-2.17.0) both set their SHA256 to d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed, which is the sha256 of 404: Not Found, and their builds failed at sha256sum.

Research and wording by Claude (Anthropic), directed and reviewed by me.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wader
wader merged commit 8d090e2 into wader:master Nov 26, 2026
2 checks passed
@wader

wader commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Nice, thanks!

@Dummgelaufen007
Dummgelaufen007 deleted the hashupdate-fail branch November 26, 2026 18:56
Dummgelaufen007 added a commit to Dummgelaufen007/static-ffmpeg that referenced this pull request Nov 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants