-
Notifications
You must be signed in to change notification settings - Fork 417
add font-tibetan-machine #58550
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
add font-tibetan-machine #58550
Conversation
Signed-off-by: Anushka Mittal <anushka.mittal@chainguard.dev>
🔍 Build Failed: Checksum Verification Failed
Build Details
Root Cause Analysis 🔍The checksum of the downloaded source archive (ttf-bitstream-vera-1.10.tar.bz2) does not match the expected checksum. The build expects SHA256 '0bbeb9a3287b3c4f40b1b0b693b0a359bcdccf1da08897f5db4d548e694fd320' but the actual file has SHA256 'db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc'. This could indicate that either the source file has changed at the remote location or the expected checksum in the package definition is incorrect. 🔍 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: font-bitstream-vera.yaml
Replacement: Click to expand fix analysisAnalysisThe pattern across all three similar fixed build failures is consistent: when a SHA256 checksum mismatch occurs, it's typically because the upstream source has been updated or changed without updating the corresponding package definition. In all three examples, the fix involved:
In the current failure, we have a SHA256 mismatch for ttf-bitstream-vera-1.10.tar.bz2. The build expects SHA256 '0bbeb9a3287b3c4f40b1b0b693b0a359bcdccf1da08897f5db4d548e694fd320' but found 'db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc'. Since the version number in the filename remains the same (1.10), it's likely that the file at the source URL has been modified without a version change. Click to expand fix explanationExplanationThe build failure is specifically a SHA256 checksum mismatch where the expected value (0bbeb9a3287b3c4f40b1b0b693b0a359bcdccf1da08897f5db4d548e694fd320) doesn't match the actual downloaded file's checksum (db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc). This suggests that the source file at the download URL (https://download.gnome.org/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2) has been modified or replaced since the package definition was originally created, but the version number wasn't changed. This is common with mirror sites where files might be repackaged or slightly modified without changing the version number. By updating the expected SHA256 value in the package definition to match the actual file's checksum, we allow the build process to correctly verify the integrity of the downloaded file and proceed with the build. This approach is consistent with how similar checksum mismatch issues were resolved in the examples provided. Since the file's name still includes version 1.10, and there's no indication that a new version is available, we're only updating the checksum without changing the version number. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Dentrax
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.
Upstream font name is TibetanMachineUni.ttf, whereas we put it as TibMachUni-1.901b.ttf, is that correct?
https://packages.debian.org/sid/all/fonts-tibetan-machine/filelist
No description provided.