From nobody Tue Dec 28 01:10:16 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5501B191E437 for ; Tue, 28 Dec 2021 01:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNGfx0BVYz3P8f for ; Tue, 28 Dec 2021 01:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB47D22F for ; Tue, 28 Dec 2021 01:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BS1AGIJ015045 for ; Tue, 28 Dec 2021 01:10:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BS1AGEe015043 for ports-bugs@FreeBSD.org; Tue, 28 Dec 2021 01:10:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260694] [NEW PORT] science/libtensorflow1: C API for TensorFlow, an open source platform for machine learning Date: Tue, 28 Dec 2021 01:10:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: delphij@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd@otoh.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640653817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gNi41+4VlZPOUwHr8Qoo0ZjixpTphznHgUyIe5rW9J4=; b=gTWR8xUjV2qk2ihcWnW0bzofgRITv6B9VpRpIJDMu0qNx4JAJxEqr/Q0w+g0H04ZEsL8XH vtxGMLa5apeojyd8wmtegvPzj1I7zkePhxfg9IHZF5T4P4tE4YoSWkhat7PPlB+qvgRLFb 2z0R0Q8d0MzvlHVdZVJe0k5OunKLLJvWy4jaRsM5JAmdMfsYVnPhh+mKCHraxVymcdwE0u pVP39sY42UKd00OALSRBdYzytK7gYqESdbRBBw9udIidoDIRCDQdqZaIz3nrXStkUXs9/X NIVOttkWfWtiPMzte13ucKxSbn66Hk0WeAp2gfOngHkZ0WgTdNMR0gVdXTt4DA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640653817; a=rsa-sha256; cv=none; b=oOvMcnFzYAeHWApGXXWf+UfsfKJ4T6dMrODYUSz/W0nVaipvnGfEn/tFWs61tFQs7AQR6W g1A+r/xxsMU9jHLyceB73HGt9x1wM/6TOWVOIPQ5iLwvNAr7lGA3prkFx3FPv2ETXn/uKn IovdTHwiNo/IBHA8UzKvraMLad5QortBzuKCh2cV/zkJJ2R6rFjgbrYfYny+EVPRFV4U/O 1VMuo5l9XuW2YhKuBrk79qtAKTW/6DtMhBLXQoVP95TS0UaxolX1gWSshlfQgfYSzhjURR vW4C0S3pvLughT4H6a+i7o6VYsJ+4w6/VrH4r1Gh+oIzcBvWyZIApjX5IvrwBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260694 Xin LI changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |freebsd@otoh.org --- Comment #5 from Xin LI --- Hi, Paul, First of all, thanks a lot for taking this! I have made some minor tweaks = to your patchset to make portlint happy. When testing the port we did discovered some issue. It seems that the port would attempt to download during build stage: %--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for libtensorflow1-1.15.5 Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Options provided by the client: Inherited 'common' options: --isatty=3D0 --terminal_columns=3D80 INFO: Reading rc options for 'build' from /usr/local/etc/bazel/bazel.bazelr= c: 'build' options: --strategy=3DJavac=3Dstandalone --host_javabase=3D@local= _jdk//:jdk --action_env=3DPATH=3D/bin:/usr/bin/:/usr/local/bin INFO: Reading rc options for 'build' from /wrkdirs/usr/ports/science/libtensorflow1/work/tensorflow-1.15.5/.bazelrc: 'build' options: --apple_platform_type=3Dmacos --define framework_shared_object=3Dtrue --define open_source_build=3Dtrue --define=3Duse_fast_cpp_protos=3Dtrue --define=3Dallow_oversize_protos=3Dtr= ue --spawn_strategy=3Dstandalone -c opt --announce_rc --define=3Dgrpc_no_ares= =3Dtrue --define=3DPREFIX=3D/usr/local --define=3DLIBDIR=3D$(PREFIX)/lib --define=3DINCLUDEDIR=3D$(PREFIX)/include --copt=3D-w --config=3Dv1 INFO: Reading rc options for 'build' from /wrkdirs/usr/ports/science/libtensorflow1/work/tensorflow-1.15.5/.tf_config= ure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=3D/usr/local/bin/python3.8 --action_env PYTHON_LIB_PATH=3D/usr/local/lib/python3.8/site-packages --python_path=3D/usr/local/bin/python3.8 --define=3DPREFIX=3D/usr/local --a= ction_env TF_CONFIGURE_IOS=3D0 INFO: Found applicable config definition build:v1 in file /wrkdirs/usr/ports/science/libtensorflow1/work/tensorflow-1.15.5/.bazelrc: --define=3Dtf_api_version=3D1 --action_env=3DTF2_BEHAVIOR=3D0 INFO: Call stack for the definition of repository 'io_bazel_rules_closure' which is a http_archive (rule definition at /wrkdirs/usr/ports/science/libtensorflow1/work/bazel_out/bef36fd36dd6cc1e25= be0c1e2af46c35/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16): - /wrkdirs/usr/ports/science/libtensorflow1/work/tensorflow-1.15.5/WORKSPACE:= 5:1 WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/= rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttp= Exception Unknown host: storage.googleapis.com WARNING: Download from https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471= b67a40403df940149.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttp= Exception Unknown host: github.com ERROR: An error occurred during the fetch of repository 'io_bazel_rules_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/308b05b2419edb5c8ee0471= b67a40403df940149.tar.gz] to /wrkdirs/usr/ports/science/libtensorflow1/work/bazel_out/bef36fd36dd6cc1e25= be0c1e2af46c35/external/io_bazel_rules_closure/308b05b2419edb5c8ee0471b67a4= 0403df940149.tar.gz: Unknown host: github.com ERROR: no such package '@io_bazel_rules_closure//closure': java.io.IOExcept= ion: 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/308b05b2419edb5c8ee0471= b67a40403df940149.tar.gz] to /wrkdirs/usr/ports/science/libtensorflow1/work/bazel_out/bef36fd36dd6cc1e25= be0c1e2af46c35/external/io_bazel_rules_closure/308b05b2419edb5c8ee0471b67a4= 0403df940149.tar.gz: Unknown host: github.com ERROR: no such package '@io_bazel_rules_closure//closure': java.io.IOExcept= ion: 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/308b05b2419edb5c8ee0471= b67a40403df940149.tar.gz] to /wrkdirs/usr/ports/science/libtensorflow1/work/bazel_out/bef36fd36dd6cc1e25= be0c1e2af46c35/external/io_bazel_rules_closure/308b05b2419edb5c8ee0471b67a4= 0403df940149.tar.gz: Unknown host: github.com INFO: Elapsed time: 4.913s INFO: 0 processes. *** Error code 1 Stop. make: stopped in /usr/ports/science/libtensorflow1 %--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%--%-- The port build infrastructure does not allow downloading during build and requires all artifacts be downloaded by the port framework for security (th= is ensures that all source artifacts are validated by the maintainer) and to m= ake sure that the build is reproducible (so we have all artifacts, potentially mirrored, instead of relying on the single source site). Could you please make changes to the port so that it downloads the artifacts and place them where blaze expects them? --=20 You are receiving this mail because: You are the assignee for the bug.=