Opened 2 weeks ago

Last modified 2 weeks ago

#70900 assigned defect

ansible-lint @24.2.3: checksum mismatch

Reported by: barracuda156 Owned by: zdw (Zack Williams)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: judaew (Vadym-Valdis Yudaiev)
Port: ansible-lint

Description

36-25% sudo port clean --all ansible-lint
Password:
Warning: configured user/group macports does not exist, will build as root
--->  Cleaning ansible-lint
36-25% sudo port -v -n install ansible-lint
Warning: configured user/group macports does not exist, will build as root
--->  Computing dependencies for ansible-lint.
--->  Fetching distfiles for ansible-lint
--->  ansible-lint-24.2.3.tar.gz does not exist in /opt/local/var/macports/distfiles/ansible-lint
--->  Attempting to fetch ansible-lint-24.2.3.tar.gz from https://github.com/ansible-community/ansible-lint/archive/v24.2.3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  449k    0  449k    0     0   312k      0 --:--:--  0:00:01 --:--:--  312k
--->  Verifying checksums for ansible-lint
--->  Checksumming ansible-lint-24.2.3.tar.gz
Error: Checksum (rmd160) mismatch for ansible-lint-24.2.3.tar.gz
Portfile checksum: ansible-lint-24.2.3.tar.gz rmd160 2310f060e3d82bab5909cfb30a5349524850efdf
Distfile checksum: ansible-lint-24.2.3.tar.gz rmd160 b53b59f97a39cda4f9aceeed4372f2cb1b5d5490
Error: Checksum (sha256) mismatch for ansible-lint-24.2.3.tar.gz
Portfile checksum: ansible-lint-24.2.3.tar.gz sha256 b934f8de0431c78f73c206ba17b1f47771be4f95fa2fc41204256eece5bf4e6c
Distfile checksum: ansible-lint-24.2.3.tar.gz sha256 087761ad1d77d80d5efe813de8609e52b98e0362247c58271d51174e9d585468
The correct checksum line may be:
checksums           rmd160  b53b59f97a39cda4f9aceeed4372f2cb1b5d5490 \
                    sha256  087761ad1d77d80d5efe813de8609e52b98e0362247c58271d51174e9d585468 \
                    size    460489
Error: Failed to checksum ansible-lint: Unable to verify file checksums

Change History (1)

comment:1 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: judaew added
Owner: changed from judaew to zdw
Summary: ansible-lint: checksum mismatchansible-lint @24.2.3: checksum mismatch

The difference between the old and new files is:

  • ansible-lint-24.2.3/.git_archival.txt

    diff -ru macports/ansible-lint-24.2.3/.git_archival.txt github/ansible-lint-24.2.3/.git_archival.txt
    old new  
    11node: dfb8fea539b53a0f9615282615f1dca90e7ecb91
    22node-date: 2024-04-30T11:56:54+01:00
    3 describe-name: v24
    4 ref-names: HEAD -> main, tag: v24.2.3, tag: v24
     3describe-name: v24.2.3
     4ref-names: tag: v24.2.3

This is why, instead of automatically-generated tarballs that can change over time, we should use release assets. Unfortunately this project does not provide them, at least not that I can find on GitHub.

The problem would be solved, for now, by updating the port to a newer version. We are many versions behind. Note that the GitHub organization name has changed from ansible-community to just ansible.

Note: See TracTickets for help on using tickets.