From nobody Fri Mar 13 08:33:39 2026 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 4fXHnb5H8pz6Vhng for ; Fri, 13 Mar 2026 08:33:39 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fXHnb2Bkkz3xx3 for ; Fri, 13 Mar 2026 08:33:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390819; 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=65gOnx+J+pImjA8bkytO9K3USJetvh9XDHZ+gn2R6CA=; b=DRXrfqAD2wiEN0yg8PM0DFmqIwz3JSuV8P6+l70C5DAyVzJZjtsC1Tz4jwTwmLllWMcAeC Jzs2dcxQleNnoO4CO/yYo2Mbbe8sxvKOpYzgprUko+QKTvFHkrAfPbUc2cyyCo062wGqAV 6rwIUu4BtJwLlh7oM5YnN7iQXNy051dfTNLxd15vZIpZlia23d1NZCdoKjOzN9UIizwLLu 4puMFdgDOihnkeb/8PpXWjRX9jMhSp3zulMdx6nocXH0xewJTK1a91Mpt0cCbFLc16MpyB eNa37w3QYWPkfIa/Tp1CROz+O1cRSjWqwEh11IEuTCdL+J0FO464GtHU78CTNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773390819; a=rsa-sha256; cv=none; b=dcOHYGFRnuu1XIRp6slQPZ85zaxIlbnEQCKNCfVKaUldI2izhUb3+8MHItSEaY5zsOMMO4 lGGL8Ef2+28JUTGB6ZlrcVazRJXPr3wOob7+EYKOmUUaI0dNG6qSIA2RAun8N2mnkqoB80 MS2de2/1ph3PhQx3XpsKJS4uBp5eQ7WibM1qgw1RjPgE0u5xZh+aJ92TBLRbAOYCRbhoN9 jyJcEg+Vr6CTGLO9gOqtqjBhABOKeXTcRNQ0FMA7OA145BcByQvKEJMOh8vGhMMZs7gDX7 U96jVS40AzUz30bSZ0vI9YlSCRRcuJ7oTSeh6X7LAQPiLD7frk+YPsE8ThqTuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390819; 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=65gOnx+J+pImjA8bkytO9K3USJetvh9XDHZ+gn2R6CA=; b=iCGohocjHco92eoNPsVmMaQSjbh8P6eIgJjhIkcdsKHdXkLw3ETsU1YkHt98z3jGv5A/CV fXM2I954ahp5aHEcM4idIF9pME+taA2T1KX5UoX91EutIR7QX60rGshWe+qZcIdXe4kRkA q+nNIwD8rjIP18DaTZMemcfTAV6omGVv2PEskky2C0aiTFi9iA0BBHCjm4SGtscLvVSGHz JSCYCTwqAZemmS0NOPmE2vnV+6vWLymlDMmnifEg5AKWQ9Nb3sA7DUOtK8cIbJ1NmJmiZp HsbOhrcx1d8xdOscTT+CrzvP0MGyfc+2Jy+1FclCwS0VVRBLjb9gmojwfidTAg== 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 4fXHnb1nZGz84t for ; Fri, 13 Mar 2026 08:33:39 +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 62D8XdYe094365 for ; Fri, 13 Mar 2026 08:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62D8Xdoi094364 for ports-bugs@FreeBSD.org; Fri, 13 Mar 2026 08:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 293384] science/py-tensorflow: fix build with libc++ 21 Date: Fri, 13 Mar 2026 08:33:39 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293384 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2026Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db002c40dc191a929fc18fe6d7e44871= a7d082400 commit b002c40dc191a929fc18fe6d7e44871a7d082400 Author: Dimitry Andric AuthorDate: 2026-02-23 13:18:05 +0000 Commit: Dimitry Andric CommitDate: 2026-03-13 08:32:47 +0000 science/py-tensorflow: fix build with libc++ 21 With libc++ 21 science/py-tensorflow fails to build, with errors similar to: In file included from tensorflow/tsl/framework/allocator_registry.cc:16: In file included from ./tensorflow/tsl/framework/allocator_registry.h:23: In file included from ./tensorflow/tsl/framework/allocator.h:28: ./tensorflow/tsl/framework/type_traits.h:96:8: error: 'is_signed' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization] 96 | struct is_signed : public is_signed = {}; | ^ /usr/include/c++/v1/__type_traits/is_signed.h:25:8: note: marked '_Clang::no_specializations' here 25 | struct _LIBCPP_NO_SPECIALIZATIONS is_signed : _BoolConstant<__is_signed(_Tp)> {}; | ^ /usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS' 1167 | [[_Clang::__no_specializations__("Users are not allow= ed to specialize this standard library entity")]] | ^ and later: tensorflow/lite/kernels/elementwise.cc:245:14: error: no matching function for call to 'EvalImpl' 245 | return EvalImpl(context, node, std::abs, type); | ^~~~~~~~~~~~~~~ tensorflow/lite/kernels/elementwise.cc:192:21: note: candidate func= tion template not viable: no overload of 'abs' matching 'std::function' for 3rd argument 192 | inline TfLiteStatus EvalImpl(TfLiteContext* context, TfLiteNode* node, | ^ 193 | std::function func, | ~~~~~~~~~~~~~~~~~~~~~~~~ The former is fixed by https://github.com/openxla/xla/commit/0cead9f, which unfortunately happened after tsl got split off from tensorflow into a bunch of separate projects. The latter is fixed as part of https://github.com/tensorflow/tensorflow/commit/358119a, but that commit is quite large. Only the changes to elementwise.cc need to be applied. PR: 293384 Approved by: maintainer timeout (2 weeks) MFH: 2026Q1 (cherry picked from commit 814f8741c251862849f74431be09c0ab969e936a) ...ch-tensorflow_lite_kernels_elementwise.cc (new) | 22 ++++++++++++++++++= ++++ ...h-tensorflow_tsl_framework_type__traits.h (new) | 21 ++++++++++++++++++= +++ 2 files changed, 43 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=