Summary: | www/grafana8: Fails to patch: Azure-go-autorest-b3a0b30a7423_GH0.tar.gz fetch: 167123: No such file or directory | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Y. <freebsd.org> | ||||||
Component: | Individual Port(s) | Assignee: | Matthew Seaman <matthew> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | drtr0jan, matthew | ||||||
Priority: | --- | Keywords: | needs-qa | ||||||
Version: | Latest | Flags: | drtr0jan:
maintainer-feedback+
|
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 230248 [details] grafana8.diff (In reply to John D. from comment #0) It looks like a bug in "make makesum". Try to build with the attached patch. Is quarterly affected? If so, please set merge-quarterly flag to ? (In reply to Kubilay Kocak from comment #2) Nope. Quarterly (8.2.7) doesn't use Azure/go-autorest. I've checked "make fetch" on quarterly also. It had been passed successfully. The distinfo all worked perfectly during my test builds yesterday and on Friday: ``` lucid-nonsense:~:% sha256 /usr/ports/distfiles/Azure-go-autorest-b3a0b30a7423_GH0.tar.gz SHA256 (/usr/ports/distfiles/Azure-go-autorest-b3a0b30a7423_GH0.tar.gz) = 51b31571a26a5287eb67251aa69407bb6145f58253bdbb2e610b7eab7b0d762f ``` Let me investigate Building has finished successfully with this patch. Thank you A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dcd67527ab526dcb8683565796f1ac2e8b6bc6a7 commit dcd67527ab526dcb8683565796f1ac2e8b6bc6a7 Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2021-12-19 23:41:49 +0000 Commit: Matthew Seaman <matthew@FreeBSD.org> CommitDate: 2021-12-19 23:41:49 +0000 www/grafana8: remove duplicates from distinfo The Azure go-autorest project (https://github.com/Azure/go-autorest) provides several go modules within the same tarball, but the Grafana code requires different commits for several of those modules, hence the same source appearing multiple times at different commmit hashes in distinfo. Unfortunately, with grafana 8.3.3, three of the go-autorest modules required the same commit hash, leading to duplication in the distinfo. This causes a problem when trying to download the distfiles the first time -- a number of the downloads will fail. Repeatedly attempting to download will succeed for one more of the various different versions of the go-autorest distfile, until eventually everything has been successfully downloaded. Remove the duplicate items in distinfo so that first-time download into a virgin distfiles directory does succeed. This means that the result of `make makesum` cannot be used un-edited. PR: 260537 Reported by: John D. www/grafana8/distinfo | 4 ---- 1 file changed, 4 deletions(-) Committed, thanks! This, and the previous update to 8.3.3 really should be MFH'd to 2021Q4 for the last 12 days of the quarter... A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e810df64354af61e3f48f45229f93c2d24e236a commit 1e810df64354af61e3f48f45229f93c2d24e236a Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2021-12-19 23:41:49 +0000 Commit: Matthew Seaman <matthew@FreeBSD.org> CommitDate: 2021-12-19 23:59:02 +0000 www/grafana8: remove duplicates from distinfo The Azure go-autorest project (https://github.com/Azure/go-autorest) provides several go modules within the same tarball, but the Grafana code requires different commits for several of those modules, hence the same source appearing multiple times at different commmit hashes in distinfo. Unfortunately, with grafana 8.3.3, three of the go-autorest modules required the same commit hash, leading to duplication in the distinfo. This causes a problem when trying to download the distfiles the first time -- a number of the downloads will fail. Repeatedly attempting to download will succeed for one more of the various different versions of the go-autorest distfile, until eventually everything has been successfully downloaded. Remove the duplicate items in distinfo so that first-time download into a virgin distfiles directory does succeed. This means that the result of `make makesum` cannot be used un-edited. PR: 260537 Reported by: John D. (cherry picked from commit dcd67527ab526dcb8683565796f1ac2e8b6bc6a7) www/grafana8/distinfo | 4 ---- 1 file changed, 4 deletions(-) |
Created attachment 230240 [details] Poudriere build log My poudriere(8) instance can not build last (and previous) version of port. Now it can not fetch some source, and fail at fetch stage. Build log in attach.