[Bug 260122] www/grafana7: Port fails to fetch due to github codeload change in dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Nov 2021 16:59:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260122

            Bug ID: 260122
           Summary: www/grafana7: Port fails to fetch due to github
                    codeload change in dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grembo@FreeBSD.org
                CC: robsonmantovani@gmail.com
                CC: robsonmantovani@gmail.com
             Flags: maintainer-feedback?(robsonmantovani@gmail.com)

Seems like this dependency changed for some reason:

===>  License APACHE20 accepted by the user
===>   grafana7-7.5.11 depends on file: /usr/local/sbin/pkg - found
=> prometheus-prometheus-6f296594a852_GH0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/prometheus/prometheus/tar.gz/6f296594a852?dummy=/prometheus-prometheus-6f296594a852_GH0.tar.gz
fetch:
https://codeload.github.com/prometheus/prometheus/tar.gz/6f296594a852?dummy=/prometheus-prometheus-6f296594a852_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/prometheus/prometheus/tar.gz/6f296594a852?dummy=/prometheus-prometheus-6f296594a852_GH0.tar.gz:
size of remote file is not known
prometheus-prometheus-6f296594a852_GH0.tar.gz           13 MB 6577 kBps    03s
=> Fetched file size mismatch (expected 13838137, actual 13838140)
=> Trying next site
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/prometheus-prometheus-6f296594a852_GH0.tar.gz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/prometheus-prometheus-6f296594a852_GH0.tar.gz:
size mismatch: expected 13838137, actual 13838140
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.

(affects both main and 2021Q4 branches)

Can't see the error on package builders yet, they probably use cached copies of
the offending file.

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