Try "make -C /usr/ports/devel/onetbb distclean checksum" and see this error shown below. It may make sense to download the patch and commit it to the ports Git... who knows when Github change the output again.
===> onetbb-2021.3.0 depends on file: /usr/local/sbin/pkg - found
=> oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz
fetch: https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz: size of remote file is not known
oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz 1612 kB 5801 kBps 01s
=> fa944e19600500863507ed8e9b1f5a30037d9df6.patch doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://github.com/oneapi-src/oneTBB/commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch
fetch: https://github.com/oneapi-src/oneTBB/commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch: size mismatch: expected 1467, actual 1465
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/fa944e19600500863507ed8e9b1f5a30037d9df6.patch
fetch: http://distcache.FreeBSD.org/ports-distfiles/fa944e19600500863507ed8e9b1f5a30037d9df6.patch: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
make: stopped in /usr/ports/devel/onetbb
Hello Matthias, Piotr,
Matthias, thanks a lot for your report.
Piotr, can you check if :
is the patch you expected with commit 1daf680 ? Can you fix distinfo ?
Thanks in advance,
I wonder if it's a load balancing issue and sometimes a refetch helps, sometimes not. I *strongly* suggest to add & commit a copy of the small (< 2 kB) patch to avoid formatting differences from the download so we isolate our ports tree from Github matters.
(In reply to Matthias Andree from comment #2)
Yes, it's this patch.
A commit in branch main references this bug:
Author: Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2021-07-17 16:57:26 +0000
Commit: Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2021-07-17 16:57:26 +0000
devel/onetbb: Integrate patch from previous commit 1daf680
to avoid fetch problems.
Reported by: mandree
devel/onetbb/Makefile | 3 ---
devel/onetbb/distinfo | 2 --
.../files/patch-src_tbbmalloc_frontend.cpp (new) | 30 ++++++++++++++++++++++
3 files changed, 30 insertions(+), 5 deletions(-)
I've added the patch to the ports tree.