Skip to content
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

fatbuildrctl patches crash with unmatched checksum #129

Open
rezib opened this issue Jul 26, 2023 · 0 comments
Open

fatbuildrctl patches crash with unmatched checksum #129

rezib opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rezib
Copy link
Contributor

rezib commented Jul 26, 2023

For example :

$ fatbuildrctl patches -a fatbuildr -b pkgs
Traceback (most recent call last):
  File "/usr/bin/fatbuildrctl", line 33, in <module>
    sys.exit(load_entry_point('Fatbuildr==2.0.1.dev45', 'console_scripts', 'fatbuildrctl')())
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/__init__.py", line 34, in run
    cls()
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrctl.py", line 437, in __init__
    args.func(args)
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrctl.py", line 1060, in _run_patches
    patch_queue.run()
  File "/usr/lib/python3/dist-packages/fatbuildr/patches.py", line 97, in run
    source.id, self._dl_tarball(source)
  File "/usr/lib/python3/dist-packages/fatbuildr/patches.py", line 159, in _dl_tarball
    verify_checksum(
  File "/usr/lib/python3/dist-packages/fatbuildr/utils.py", line 77, in verify_checksum
    raise RuntimeError(
RuntimeError: sha256 checksum do not match: 3fc4df609620ef55bce84aaa262a7009fe7da70a2a8dff146d7b814cae566194 != 7160a42880e3b25d6edc5998b19cc00da13697cac14fc302ac05013dd52ec596

In this case, fatbuildrctl should report the error nicely.

@rezib rezib added the bug Something isn't working label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant