Hello.
Using the network is only allowed during the fetch phase.
However, there is also something that sometimes tries to download during the
build phase.
(e.g. audio/libamrnb)
It can sometimes be avoided by copying the distfiles to the proper location.
The build cluster logs show...
> ERROR: no such package '@io_bazel_rules_closure//closure':
> java.io.IOException: Error downloading
> [https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz,
>
> https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz]
> to
> /wrkdirs/usr/ports/science/libtensorflow1/work/bazel_out/bef36fd36dd6cc1e25be0c1e2af46c35/external/io_bazel_rules_closure/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz:
> Can't assign requested address (connect failed)
line, so the following port-extract target may help... maybe :)
post-extract:
${CP} ${_DISTDIR}/bazelbuild-rules_closure-308b05b2_GH0.tar.gz \
${WRKDIR}/bazel_out/bef36fd36dd6cc1e25be0c1e2af46c35/external/io_bazel_rules_closure/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz
Regards.