Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2021 09:56:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259722] net-mgmt/prometheus2: containerd distinfo wrong?
Message-ID:  <bug-259722-7788-XrpqAz1BYd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259722-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259722-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259722

--- Comment #3 from David O'Rourke <dor.bsd@xm0.uk> ---
(In reply to dave from comment #2)

Hi,

Sorry for not replying promptly here. You should be able to replace the sha=
256
sum in the distinfo file with the correct checksum for the containerd tar.gz
and have it compile correctly.

I read a bit more on this issue, apparently this isn't containerd's fault b=
ut a
general problem with GitHub archives, which are generated on the fly (and
possibly cached for a while). containerd encounters this issue since one of=
 the
dependencies includes some "dynamic" content which is replaced when `git
archive` is run.

It looks like there may have been a brief time where Git(Hub?) changed how =
some
of that dynamic content was generated (specifically, how some `git archive`
shasums were handled) which had the knock-on effect of changing the shasums=
 of
the tar.gz archives. Most repositories don't make use of these `git archive`
features, so most are safe from this issue.

Hopefully this doesn't happen again, it's not great that a bunch of ports u=
sing
GitHub archive URLs can be broken like this :(

-David

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259722-7788-XrpqAz1BYd>