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
Zac, could you help to resolve it asap? Thanks
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(-)
Thanks!
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"
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(-)
Great, thanks!