Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920820 - dev-libs/yajl-2.1.0-r4 build fails due to github download failure (SRC_URI)
Summary: dev-libs/yajl-2.1.0-r4 build fails due to github download failure (SRC_URI)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 18:36 UTC by Jochen Schlick
Modified: 2023-12-28 08:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schlick 2023-12-27 18:36:25 UTC
--2023-12-27 19:16:15--  https://github.com/lloyd/yajl/archive/2.1.0.tar.gz
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 300 Multiple Choices
Length: 105 [text/plain]
Saving to: ‘/tank830/portage/distfiles/yajl-2.1.0.tar.gz.__download__’

/tank830/portage/di 100%[===================>]     105  --.-KB/s    in 0s      

2023-12-27 19:16:15 (116 MB/s) - ‘/tank830/portage/distfiles/yajl-2.1.0.tar.gz.__download__’ saved [105/105]

!!! Fetched file: yajl-2.1.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      105
!!! Expected: 84039
Refetching... File renamed to '/tank830/portage/distfiles/yajl-2.1.0.tar.gz._checksum_failure_.zw4m3hk9'

##########################

I think the SRC_URI (download link) is no longer valid. The downloaded 2.1.0.tar.gz is the following error message:
the given path has multiple possibilities: #<Git::Ref:0x00007f7e47e41c78>, #<Git::Ref:0x00007f7e47e41638>
Comment 1 Jochen Schlick 2023-12-27 19:14:34 UTC
manual download from github of this tag version tar file results in a different size - 83997 bytes instead of the expected 84039 bytes
Comment 2 Larry the Git Cow gentoo-dev 2023-12-28 08:21:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f53d58d3f370f3ce5b61ebf183072068ad1306d

commit 7f53d58d3f370f3ce5b61ebf183072068ad1306d
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-12-28 08:20:29 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-12-28 08:21:36 +0000

    dev-libs/yajl: use more stable archive URL
    
    Closes: https://bugs.gentoo.org/920820
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-libs/yajl/Manifest             |  1 +
 dev-libs/yajl/yajl-2.1.0-r5.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)