Date: Sun, 21 Apr 2024 21:05:48 +0300 From: Matthias Fechner <mfechner@freebsd.org> To: Vladimir Druzenko <vvd@freebsd.org> Cc: dev-commits-ports-main@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org Subject: Re: git: 57a5a76f292e - main - www/gitlab: major upgrade to 16.11.0 Message-ID: <3677d919-116c-414d-9a85-f9ac956eb3c4@freebsd.org> In-Reply-To: <02f2a077-d252-4c6f-ab11-e4e4aff1e8fa@freebsd.org> References: <202404211058.43LAwqkM094896@gitrepo.freebsd.org> <02f2a077-d252-4c6f-ab11-e4e4aff1e8fa@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 21.04.2024 um 18:11 schrieb Vladimir Druzenko: > Look like upstream changed file go.mod: > > => go.mod doesn't seem to exist in > /usr/ports/distfiles//go/devel_gitlab-shell/gitlab-shell-v14.35.0. > => Attempting to fetch > https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v14.35.0/go.mod > fetch: > https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v14.35.0/go.mod: size > mismatch: expected 5395, actual 5375 > => Attempting to fetch > https://gitlab.com/gitlab-org/gitlab-shell/-/archive/v14.35.0/go.mod > fetch: > https://gitlab.com/gitlab-org/gitlab-shell/-/archive/v14.35.0/go.mod: > Forbidden > => Attempting to fetch > http://distcache.FreeBSD.org/ports-distfiles/go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod > > fetch: > http://distcache.FreeBSD.org/ports-distfiles/go/devel_gitlab-shell/gitlab-shell-v14.35.0/go.mod: > Not Found > => Couldn't fetch it - please try to retrieve this > => port manually into > /usr/ports/distfiles//go/devel_gitlab-shell/gitlab-shell-v14.35.0 and > try again. > *** Error code 1 I think it is not upstream, but more in the port or portframework itself. But I never had a problem before, maybe something was changed in ports the last 2 weeks. curl -v https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v14.35.0/go.mod ... < content-length: 5375 ... But if I execute in devel/gitlab-shell: make distclean make makesum ls -las ../../distfiles/go/devel_gitlab-shell/gitlab-shell-v14.35.0 ... 3 -rw-r--r-- 1 idefix wheel 5395 Apr 21 21:01 go.mod ... If I diff the version downloaded with curl and with `make makesum`: > ❯ diff -u go.mod.orig go.mod > --- go.mod.orig 2024-04-21 20:01:29.098380000 +0300 > +++ go.mod 2024-04-21 21:01:03.081898000 +0300 > @@ -1,6 +1,8 @@ > module gitlab.com/gitlab-org/gitlab-shell/v14 > > -go 1.20 > +go 1.21 > + > +toolchain go1.22.2 > > require ( > github.com/charmbracelet/git-lfs-transfer > v0.1.1-0.20240402115927-f0b226fa61cc > > So it seems that the go.mod file is modified somehow. Maybe someone has here an idea what happens here? Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3677d919-116c-414d-9a85-f9ac956eb3c4>