mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-28 09:51:28 +02:00
`ebuild audit-2.8.5-r1.ebuild manifest` fails like that: ``` >>> Downloading '017e6c6ab9
.patch' --2021-09-29 04:05:09--017e6c6ab9
.patch Resolving github.com... 140.82.121.3 Connecting to github.com|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 854 [text/plain] Saving to: /mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch.__download__ 2021-09-29 04:05:09 (57.3 MB/s) - /mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch.__download__ saved [854/854] !!! Fetched file: audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 854 !!! Expected: 852 Refetching... File renamed to '/mnt/host/source/.cache/distfiles/audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch._checksum_failure_.o2889wwd' !!! Couldn't download 'audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch'. Aborting. ``` That happens because the upstream audit patch017e6c6ab9
.patch silently changed, so it could have a git commit of 8-bytes instead 7. Fix the hash in Manifest for now, until we could update sys-process/audit to 3.0. Upstream Gentoo already has 3.0, dropped 2.8. However, updating to 3.0 might not so trivial due to Flatcar changes in audit.