Bug 262928

Summary: net/gscloud: Fetch failed
Product: Ports & Packages Reporter: Guangyuan Yang <ygy>
Component: Individual Port(s)Assignee: Vinícius Zavam <egypcio>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (egypcio)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Guangyuan Yang freebsd_committer freebsd_triage 2022-03-30 07:21:18 UTC
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
=> gridscale-gscloud-v0.11.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/gridscale/gscloud/tar.gz/v0.11.0?dummy=/gridscale-gscloud-v0.11.0_GH0.tar.gz
fetch: https://codeload.github.com/gridscale/gscloud/tar.gz/v0.11.0?dummy=/gridscale-gscloud-v0.11.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/gridscale/gscloud/tar.gz/v0.11.0?dummy=/gridscale-gscloud-v0.11.0_GH0.tar.gz: size of remote file is not known
gridscale-gscloud-v0.11.0_GH0.tar.gz                   128 kB  777 kBps    00s
=> Fetched file size mismatch (expected 131814, actual 131817)
=> Trying next site
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/gridscale-gscloud-v0.11.0_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/gridscale-gscloud-v0.11.0_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/gscloud
=>> Cleaning up wrkdir
===>  Cleaning for gscloud-0.11.0_1

Log: https://think-poudriere.ygy.io/data/130Ramd64-pub/2022-03-30_01h36m15s/logs/errors/gscloud-0.11.0_1.log
Comment 1 Vinícius Zavam freebsd_committer freebsd_triage 2022-04-09 12:06:48 UTC
that's odd; as this port fetches code from GitHub, it might be some networking "foo" happening on the poudriere instance that tries to download the proper source code to build it.

I'm not sure if we could interfere here.

See: https://github.com/gridscale/gscloud/releases/tag/v0.11.0
Comment 2 Vinícius Zavam freebsd_committer freebsd_triage 2022-04-09 12:07:47 UTC
:facepalm:

... I just checked the wrong box to update this ticket status (but fixed now, and reopened it).
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-04-09 12:52:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b8fd34f98f2f06174fdf0976c7bed0f19549ea46

commit b8fd34f98f2f06174fdf0976c7bed0f19549ea46
Author:     Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2022-04-09 12:49:26 +0000
Commit:     Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2022-04-09 12:49:26 +0000

    net/gscloud: Fix 'file size mismatch' with makesum

    PR:             262928
    Reported by:    ygy@

 net/gscloud/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)