From owner-dev-commits-ports-main@freebsd.org Wed Jul 21 18:15:16 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA56D669B01; Wed, 21 Jul 2021 18:15:16 +0000 (UTC) (envelope-from git@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 4GVNzR5tdJz4SRf; Wed, 21 Jul 2021 18:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 58C1822948; Wed, 21 Jul 2021 18:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16LIFF8B045438; Wed, 21 Jul 2021 18:15:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16LIFFTC045437; Wed, 21 Jul 2021 18:15:15 GMT (envelope-from git) Date: Wed, 21 Jul 2021 18:15:15 GMT Message-Id: <202107211815.16LIFFTC045437@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 658240560637 - main - science/py-tensorflow: Fix build with protobuf 3.17.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65824056063718696f10c0a2f08d5c0bd6a9d737 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2021 18:15:17 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=65824056063718696f10c0a2f08d5c0bd6a9d737 commit 65824056063718696f10c0a2f08d5c0bd6a9d737 Author: Po-Chuan Hsieh AuthorDate: 2021-07-21 17:59:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-21 18:12:13 +0000 science/py-tensorflow: Fix build with protobuf 3.17.3 --- science/py-tensorflow/files/patch-protobuf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/science/py-tensorflow/files/patch-protobuf b/science/py-tensorflow/files/patch-protobuf new file mode 100644 index 000000000000..de3cd9510b53 --- /dev/null +++ b/science/py-tensorflow/files/patch-protobuf @@ -0,0 +1,22 @@ +--- tensorflow/core/kernels/example_parsing_ops.cc.orig 2021-01-04 20:18:42 UTC ++++ tensorflow/core/kernels/example_parsing_ops.cc +@@ -859,7 +859,7 @@ class DecodeJSONExampleOp : public OpKernel { + json_example, &binary_examples->flat()(i)); + OP_REQUIRES(ctx, status.ok(), + errors::InvalidArgument("Error while parsing JSON: ", +- string(status.error_message()))); ++ string(status.message()))); + } + } + +--- tensorflow/core/profiler/rpc/client/dump_tpu_profile.cc.orig 2021-01-04 20:18:42 UTC ++++ tensorflow/core/profiler/rpc/client/dump_tpu_profile.cc +@@ -102,7 +102,7 @@ Status DumpOpProfileToLogDirectory(StringPiece run_dir + if (!status.ok()) { + return errors::Internal( + "Failed to convert op profile to json. Skipping... ", +- string(status.error_message())); ++ string(status.message())); + } + TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json)); + if (os) {