verify failed on emerge
Closed this issue · 9 comments
Do you have any idea how I can fix the problem and install the latest package? Thank you.
[ebuild N ~] net-analyzer/crowdsec-1.6.2::crowdsec-overlay USE="-hardened" 16.918 KiB
Total: 1 package (1 new), Size of downloads: 16.918 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-analyzer/crowdsec-1.6.2::crowdsec-overlay
>>> Downloading 'https://github.com/crowdsecurity/crowdsec/archive/refs/tags/v1.6.2.tar.gz'
--2024-06-11 20:57:10-- https://github.com/crowdsecurity/crowdsec/archive/refs/tags/v1.6.2.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/refs/tags/v1.6.2 [following]
--2024-06-11 20:57:10-- https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/refs/tags/v1.6.2
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 956597 (934K) [application/x-gzip]
Saving to: ‘/usr/local/distfiles/crowdsec-1.6.2.tar.gz.__download__’
/usr/local/distfile 100%[===================>] 934,18K 5,06MB/s in 0,2s
2024-06-11 20:57:10 (5,06 MB/s) - ‘/usr/local/distfiles/crowdsec-1.6.2.tar.gz.__download__’ saved [956597/956597]
!!! Fetched file: crowdsec-1.6.2.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 956597
!!! Expected: 956542
Refetching... File renamed to '/usr/local/distfiles/crowdsec-1.6.2.tar.gz._checksum_failure_.mlok_0il'
!!! Couldn't download 'crowdsec-1.6.2.tar.gz'. Aborting.
>>> Failed to emerge net-analyzer/crowdsec-1.6.2, Log file:
>>> '/var/tmp/portage/net-analyzer/crowdsec-1.6.2/temp/build.log'
*
* The following package has failed to build, install, or execute postinst:
*
* (net-analyzer/crowdsec-1.6.2:0/0::crowdsec-overlay, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/net-analyzer/crowdsec-1.6.2/temp/build.log'
*
Hi @b166er, thank you for notifying me.
you can try to download the package manually and place it in your distfiles directory as a quick hack. If this does not resolve the issue, the guys at CrowdSec did repackage the tarball and I will look into it.
Mind testing and giving feedback?
Never mind. Resync - it's the latter - they repackaged that archive for what reason ever. Please sync and test
unfortunately it did not work, has the crowdsec changed the file in release again?
# emerge -v crowdsec
Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 2.56 s (backtrack: 0/200).
[ebuild N ~] net-analyzer/crowdsec-1.6.2::crowdsec-overlay USE="-hardened" 15.984 KiB
Total: 1 package (1 new), Size of downloads: 15.984 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-analyzer/crowdsec-1.6.2::crowdsec-overlay
* crowdsec-1.6.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Downloading 'https://github.com/crowdsecurity/crowdsec/releases/download/v1.6.2/vendor.tgz'
--2024-06-12 11:38:45-- https://github.com/crowdsecurity/crowdsec/releases/download/v1.6.2/vendor.tgz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/264154402/dd055bf8-bc98-4989-bc70-d1c61153a379?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240612T093845Z&X-Amz-Expires=300&X-Amz-Signature=30647ca2314b26e9729fc8e6a38e1dd4e2778b4eb5358599f3983b088efbbb0b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=264154402&response-content-disposition=attachment%3B%20filename%3Dvendor.tgz&response-content-type=application%2Foctet-stream [following]
--2024-06-12 11:38:45-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/264154402/dd055bf8-bc98-4989-bc70-d1c61153a379?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240612%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240612T093845Z&X-Amz-Expires=300&X-Amz-Signature=30647ca2314b26e9729fc8e6a38e1dd4e2778b4eb5358599f3983b088efbbb0b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=264154402&response-content-disposition=attachment%3B%20filename%3Dvendor.tgz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16366846 (16M) [application/octet-stream]
Saving to: ‘/usr/local/distfiles/crowdsec-1.6.2-vendor.tar.gz.__download__’
/usr/local/distfile 100%[===================>] 15,61M --.-KB/s in 0,1s
2024-06-12 11:38:45 (111 MB/s) - ‘/usr/local/distfiles/crowdsec-1.6.2-vendor.tar.gz.__download__’ saved [16366846/16366846]
!!! Fetched file: crowdsec-1.6.2-vendor.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 16366846
!!! Expected: 16367083
Refetching... File renamed to '/usr/local/distfiles/crowdsec-1.6.2-vendor.tar.gz._checksum_failure_.9pbhb5ui'
!!! Couldn't download 'crowdsec-1.6.2-vendor.tar.gz'. Aborting.
>>> Failed to emerge net-analyzer/crowdsec-1.6.2, Log file:
>>> '/var/tmp/portage/net-analyzer/crowdsec-1.6.2/temp/build.log'
*
* The following package has failed to build, install, or execute postinst:
*
* (net-analyzer/crowdsec-1.6.2:0/0::crowdsec-overlay, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/net-analyzer/crowdsec-1.6.2/temp/build.log'
*
# cd /var/db/repos/crowdsec-overlay
# git pull
Already up-to-date.
# cat net-analyzer/crowdsec/Manifest
AUX crowdsec.openrc 324 BLAKE2B 00ac72f98a53364bccd7a5cb0457ad0315e3fef6505e8ea867446e73ecb2d2b9817d0b13597bc78375154ab7183d48e93c7300269b65a04100f15c9769aabfd7 SHA512 4a8e5028404dc884b0b23961022d842175906dd82d2998551246b96d52a674bd8cbb9d254b40662e6493df0f91643d265e3422274fbb22b83a1d4a1837b36367
AUX crowdsec.service 407 BLAKE2B c53685040b8a8ccea8971919c53ea5bc3de037ddafed082f395483127c48b76082ee90a91b78a45a4800ee9d76a9820077398439274a14acb639610c2f3bcab9 SHA512 609fed2afe8d027acfcf90729e8aeee127240e7168a5e18abc7e30874e01524b9fc2ce093e4f269463e370653023326fe972dd87949f6b6de522fbad0c106a3b
DIST crowdsec-1.6.2-vendor.tar.gz 16367083 BLAKE2B cf93ffd6b89606978a9bafe06418adf4135c76aabc2a975872fd74972e86d9074034808706914cb94edbb82085b0783687d39b10ae6fe66acdf955b907f8e0d6 SHA512 7369b40d893df758d86b5aad67b20bbc0c6764f90244e386c02207cfe1ef7cc79617f1e9e4b165000adfeb18f20fa3faf4ee7b61c8f09fa9f78034bf3628d611
DIST crowdsec-1.6.2.tar.gz 956597 BLAKE2B cd7834d9be0a194e7162923e644dc20bd289affe4d57f1099ae4a3305bd693bd3a88e00110992e39fed7be2fd670d85c28403a6f694527bb3ae350925e598a61 SHA512 cd3007843e76f732aa01c14fa09dc6e2a45f5bcdd3eb130f20cee2b1d7282a9808b74e3884f506a499a84631119c49255d6567b8410ded40880b23779d0eebf2
EBUILD crowdsec-1.6.2.ebuild 2474 BLAKE2B 7a3dc9237e5a37a8d9c96bfb57a2a9b97ed996fa571ddc2464c65b88a27e17b33bd955832bac91ac9faf1f7b6309121124ee588b83b0d16358c6efff4e90a60e SHA512 4f87a629f11cdab1fa51b9682f98f114aed39613ac11d94a53a9324334dafdcb93d72e2742384430fb82095330d9733b4fd73570cc71f02c6929d868d9284c08
MISC metadata.xml 694 BLAKE2B b19515e2b542c57a58fde5c3f6b891e49fed254ab4f7ad430d7e172d384c92c0e68ef605f74fb24ae74e97ca8cf8eff3e0738a138411d2b610abadb5f92a7447 SHA512 c13e42ebab0c61f959e9c0df199bfae481f464169c4ea8e490d2b3061ddc0ffbc1d973f6de5ceef99d3aa2a3b4c2cb0641709141617e8ab50ae02dc1b3481f79
Mind you, the problem is different - still related to the same problem. We have to fetch 2 files here: crowdsec sources and go vendor packages. This time it's about the vendor packages. I'll fix the Manifest :)
It should build now. Sorry for the inconvenience caused as communication with the crowdsec team can be very difficult and me getting notified of them swapping out packages is pretty much not happening. So thank you again for notifying me.
works now, thank you!
First and most important a huge thank you for this overlay.
I hit the same error since last update to 1.6.4
>>> Downloading 'https://github.com/crowdsecurity/crowdsec/archive/refs/tags/v1.6.4.tar.gz'
--2024-11-22 10:11:22-- https://github.com/crowdsecurity/crowdsec/archive/refs/tags/v1.6.4.tar.gz
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/refs/tags/v1.6.4 [following]
--2024-11-22 10:11:22-- https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/refs/tags/v1.6.4
Resolving codeload.github.com... 140.82.121.10
Connecting to codeload.github.com|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/var/cache/distfiles/crowdsec-1.6.4.tar.gz.__download__’
0K .......... .......... .......... .......... .......... 1,83M
50K .......... .......... .......... .......... .......... 3,99M
100K .......... .......... .......... .......... .......... 20,7M
150K .......... .......... .......... .......... .......... 4,66M
200K .......... .......... .......... .......... .......... 16,5M
250K .......... .......... .......... .......... .......... 30,1M
300K .......... .......... .......... .......... .......... 29,3M
350K .......... .......... .......... .......... .......... 31,3M
400K .......... .......... .......... .......... .......... 7,34M
450K .......... .......... .......... .......... .......... 18,2M
500K .......... .......... .......... .......... .......... 9,15M
550K .......... .......... .......... .......... .......... 5,61M
600K .......... .......... .......... .......... .......... 28,6M
650K .......... .......... .......... .......... .......... 6,36M
700K .......... .......... .......... .......... .......... 6,31M
750K .......... .......... .......... .......... .......... 5,95M
800K .......... .......... .......... .......... .......... 9,16M
850K .......... .......... .......... .......... .......... 5,38M
900K .......... .......... .......... .......... .......... 27,4M
950K .......... .......... .......... .......... .......... 10,9M
1000K ......... 2,19M=0,1s
2024-11-22 10:11:23 (7,40 MB/s) - ‘/var/cache/distfiles/crowdsec-1.6.4.tar.gz.__download__’ saved [1033700]
!!! Fetched file: crowdsec-1.6.4.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1033700
!!! Expected: 998184
Refetching... File renamed to '/var/cache/distfiles/crowdsec-1.6.4.tar.gz._checksum_failure_.su5kykyl'
!!! Couldn't download 'crowdsec-1.6.4.tar.gz'. Aborting.
Could you test something quickly for me? Please download the 1.6.4 release from their website and drop it into your distfiles folder and see if the checksum checks out. I'll dig into it as soon as I get home
never mind - released crowdsec archive changed. Updated the Manifest file - please sync and test again
Thanks now all is fine