Date: Fri, 27 May 2022 04:44:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 259620] science/py-tensorflow: fails to build with new grpc Message-ID: <bug-259620-7788-0UagbKCCV4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259620-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-259620-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259620 Jared Jennings <jjennings@fastmail.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jjennings@fastmail.fm --- Comment #5 from Jared Jennings <jjennings@fastmail.fm> --- Created attachment 234250 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234250&action= =3Dedit Change error_message to message in several places. I've just found this ticket and followed along with building TensorFlow 2.1. I've attached a patch that changes some error_message invocations into mess= age, as recommended. It still won't build for me - there are six errors like thi= s: ERROR: /root/py-tensorflow/work-py38/tensorflow-2.1.0/tensorflow/python/BUILD:354:= 1: C++ compilation of rule '//tensorflow/python:bfloat16_lib' failed (Exit 1) tensorflow/python/lib/core/bfloat16.cc:633:8: error: no matching function f= or call to object of type '(lambda at tensorflow/python/lib/core/bfloat16.cc:607:25)' if (!register_ufunc("equal", CompareUFunc<Bfloat16EqFunctor>, ^~~~~~~~~~~~~~ tensorflow/python/lib/core/bfloat16.cc:607:25: note: candidate function not viable: no overload of 'CompareUFunc' matching 'PyUFuncGenericFunction' (aka 'void (*)(char **, const long *, const long *, void *)') for 2nd argument auto register_ufunc =3D [&](const char* name, PyUFuncGenericFunction fn, ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259620-7788-0UagbKCCV4>