Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836216 - [guru] app-editors/helix-0.6.0 fails to emerge since an asset does not match the recorded size
Summary: [guru] app-editors/helix-0.6.0 fails to emerge since an asset does not match ...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal blocker
Assignee: degni.public
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 19:58 UTC by Pravin
Modified: 2022-12-05 09:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log after emerging (build.log,4.69 KB, text/x-log)
2022-03-26 19:58 UTC, Pravin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pravin 2022-03-26 19:58:03 UTC
When emerging, assets for helix are downloaded, however some of these, such as c12e6ecb54485f764250556ffd7ccb18f8e2942b.tar.gz report that they cannot be verified because "Filesize does not match recorded size"

Reproducible: Always

Steps to Reproduce:
1.emerge app-editors/helix
2. Exits after downloads
Actual Results:  
!!! Couldn't download 'c12e6ecb54485f764250556ffd7ccb18f8e2942b.tar.gz'. Aborting.
 * Fetch failed for 'app-editors/helix-0.6.0', Log file:
 *  '/var/tmp/portage/app-editors/helix-0.6.0/temp/build.log'

Expected Results:  
helix binary /usr/bin and other assets are copied
Comment 1 Pravin 2022-03-26 19:58:33 UTC
Created attachment 767913 [details]
Build log after emerging
Comment 2 Larry the Git Cow gentoo-dev 2022-11-16 10:19:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a9bef35aad9fba9c3a2e55ad10d9ebbf7cbf394

commit 7a9bef35aad9fba9c3a2e55ad10d9ebbf7cbf394
Author:     Jack Sangdahl <0x6A73@pm.me>
AuthorDate: 2022-11-12 18:13:30 +0000
Commit:     Jack Sangdahl <0x6A73@pm.me>
CommitDate: 2022-11-12 18:13:30 +0000

    app-editors/helix: update Manifest
    Fixes: https://bugs.gentoo.org/836216
    
    Signed-off-by: Jack Sangdahl <0x6A73@pm.me>

 app-editors/helix/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Yury Katuar 2022-11-20 22:44:20 UTC
I have exactly the same issue, only in my case the old size and the checksums are the correct ones. That's weird, are those commit archives from GH guaranteed to be identical? 

app-editors/helix-22.08.1
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-03 20:48:11 UTC
The fix seems incorrect.

-DIST tree-sitter-diff-c12e6ecb54485f764250556ffd7ccb18f8e2942b.tar.gz 23671 BLAKE2B bb6d7d655a7a9a95675a2d2004bf1a8b2bc370dd08d7dbd67094858f11a6a9424be21fa23e5832b70eea87eb35b7d5a495f70305a9292336a08b5c329c1d8817 SHA512 c135423598b0e1aa58ccd42593414a311b4677181b6ee23c51d9070ed55d8cceb3b6775775e25acf0f83642699895875b75504462827ee74aca83825ac5140aa
+DIST tree-sitter-diff-c12e6ecb54485f764250556ffd7ccb18f8e2942b.tar.gz 23666 BLAKE2B  74f60005b9da56763e6fa06430740adb2919dd769e2d5446ce098ed3fcc615fd7eec66b3372a5df5283116cd8e4ff9021b2f68a04fe40badfb415d6272bb9047 SHA512 ddc5141cd704bc4c90c09ccf31b948d3f552cd9da05970fa0810323530d6edcdca56ec73b7ed2d109fe6ead57468f28bd7516264109802247eb0c33a75d5569f

Dropping that line and regenerating the manifest I get the original line again. Also, there's a second space after "BLAKE2B" there, how did this happen? `pkgdev` shouldn't be doing that.
Comment 5 Thibaud CANALE 2022-12-03 21:39:39 UTC
Just in case, here a commit to "fix" the Manifest issue by reverting, currently in dev branch: 185c7f53c1930b94ace45aa174096242600e56cc[0]

0: https://gitweb.gentoo.org/repo/proj/guru.git/commit/app-editors/helix?id=185c7f53c1930b94ace45aa174096242600e56cc
Comment 6 Larry the Git Cow gentoo-dev 2022-12-05 09:20:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=185c7f53c1930b94ace45aa174096242600e56cc

commit 185c7f53c1930b94ace45aa174096242600e56cc
Author:     Thibaud CANALE <thican@thican.net>
AuthorDate: 2022-12-03 20:59:54 +0000
Commit:     Thibaud CANALE <thican@thican.net>
CommitDate: 2022-12-03 21:02:51 +0000

    Revert "app-editors/helix: update Manifest"
    
    This reverts commit 7a9bef35aad9fba9c3a2e55ad10d9ebbf7cbf394.
    
    Reverts: 7a9bef35aad9fba9c3a2e55ad10d9ebbf7cbf394 (app-editors/helix: update Manifest)
    
    Closes: https://bugs.gentoo.org/836216
    Signed-off-by: Thibaud CANALE <thican@thican.net>

 app-editors/helix/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)