Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670178 - dev-go/go-tools-0_pre20180817: Fetched file: go-favicon.ico VERIFY FAILED!
Summary: dev-go/go-tools-0_pre20180817: Fetched file: go-favicon.ico VERIFY FAILED!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-03 01:00 UTC by Anton Bolshakov
Modified: 2018-11-04 04:39 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 Anton Bolshakov 2018-11-03 01:00:17 UTC
ebuild go-tools-0_pre20180817.ebuild fetch 
 * go-tools-0_pre20180817.tar.gz BLAKE2B SHA512 size ;-) ...                                                     [ ok ]
 * github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz BLAKE2B SHA512 size ;-) ...             [ ok ]
>>> Downloading 'http://gentoo.gg3.net/distfiles/go-favicon.ico'
--2018-11-03 08:57:54--  http://gentoo.gg3.net/distfiles/go-favicon.ico
Resolving gentoo.gg3.net... 110.4.188.128
Connecting to gentoo.gg3.net|110.4.188.128|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-03 08:57:54 ERROR 404: Not Found.

>>> Downloading 'http://golang.org/favicon.ico'
URL transformed to HTTPS due to an HSTS policy
--2018-11-03 08:57:54--  https://golang.org/favicon.ico
Resolving golang.org... 64.233.162.141, 2a00:1450:4010:c05::8d
Connecting to golang.org|64.233.162.141|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5686 (5.6K) [image/vnd.microsoft.icon]
Saving to: ‘/usr/portage/distfiles/go-favicon.ico’

/usr/portage/distfiles/go-fav 100%[=================================================>]   5.55K  --.-KB/s    in 0.04s   

2018-11-03 08:57:56 (127 KB/s) - ‘/usr/portage/distfiles/go-favicon.ico’ saved [5686/5686]

!!! Fetched file: go-favicon.ico VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      5686
!!! Expected: 1150
Refetching... File renamed to '/usr/portage/distfiles/go-favicon.ico._checksum_failure_.ymowycee'

!!! Couldn't download 'go-favicon.ico'. Aborting.


You should save it locally probably since it can be changed it at any time at the remote location
Comment 1 Anton Bolshakov 2018-11-03 07:06:47 UTC
Zac, could you help to resolve it asap?
Thanks
Comment 2 Larry the Git Cow gentoo-dev 2018-11-03 23:30:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d098968b0e789a7a29583c1217b6dbaeddd34e

commit 78d098968b0e789a7a29583c1217b6dbaeddd34e
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-11-03 23:29:03 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-11-03 23:30:32 +0000

    dev-go/go-tools: update favicon (bug 670178)
    
    Reported-by: Anton Bolshakov <blshkv@pentoo.ch>
    Closes: https://bugs.gentoo.org/670178
    Signed-off-by: Zac Medico <zmedico@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-go/go-tools/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Zac Medico gentoo-dev 2018-11-03 23:32:00 UTC
Thanks!
Comment 4 Anton Bolshakov 2018-11-04 00:39:17 UTC
That solves the problem temporary but it may come back after the icon is changed again.

In my very first comment I suggested to save the icon (keep it in $FILESDIR location?) and control which version to install.

The effected lines:
https://github.com/gentoo/gentoo/blob/master/dev-go/go-tools/go-tools-0_pre20180817.ebuild#L19

SRC_URI="http://golang.org/favicon.ico -> go-favicon.ico"

This is similar to: SRC_URI="https://www.xx/tools-latest.tar.gz"
Comment 5 Larry the Git Cow gentoo-dev 2018-11-04 02:52:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29fb9709d5c0bdb9faca681660ff3d6ecaa6cf65

commit 29fb9709d5c0bdb9faca681660ff3d6ecaa6cf65
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-11-03 23:29:03 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-11-04 02:52:28 +0000

    dev-go/go-tools: use static favicon SRC_URI (bug 670178)
    
    Suggested-by: Anton Bolshakov <blshkv@pentoo.ch>
    Closes: https://bugs.gentoo.org/670178
    Signed-off-by: Zac Medico <zmedico@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-go/go-tools/Manifest                      | 2 +-
 dev-go/go-tools/go-tools-0_pre20180817.ebuild | 6 ++++--
 dev-go/go-tools/go-tools-9999.ebuild          | 6 ++++--
 3 files changed, 9 insertions(+), 5 deletions(-)
Comment 6 Zac Medico gentoo-dev 2018-11-04 02:55:50 UTC
Thanks!
Comment 7 Anton Bolshakov 2018-11-04 04:39:35 UTC
Great, thanks!