Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2022 19:47:11 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Paul Armstrong <freebsd-ports@otoh.org>, "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.org>
Subject:   Re: Differences between ports build and poudriere
Message-ID:  <PSAPR03MB5639A642A4B6B7D565A12CB8FAAB9@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <7CB64EC1-FF13-4033-9691-0C191853EA47@otoh.org>
References:  <7CB64EC1-FF13-4033-9691-0C191853EA47@otoh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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