From nobody Mon Feb 23 13:17:44 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 4fKLxj1t4Yz6TMd7 for ; Mon, 23 Feb 2026 13:17:45 +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 4fKLxj1BCRz3Fxv for ; Mon, 23 Feb 2026 13:17:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771852665; 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; bh=LhPUlqL5DGDdNWHiMLI+swm9DEF82WhSKia4qprcrpQ=; b=QDLT2lTMG9oh4OxzopqBruHA/MhNDwT/WptASjAyiG05p6IcrI3sTeXy41aXJglGpx74z4 i0XIg/wNNUwzvzequxk4buq2K+3FGTkPlZCxb7DoufMHAHX7CIgOt1GIHVAUOOY5T9X4cF +3rrBCMe9BW4Ls6JVNPjeEgJxRQIhl8T6/6Ni7OAtO0VW1g/u5oUF9fTQHX/nw0hK6/7rK +zkkXGrQhRAROC7sbEoMxHDo6YNAeBCt3jk+IsYHo3160Ie3Wl3vkl5m3KdRq7gv/C0vwb mlWZr+JG7dhzNcueFIg4JDCr02kq+soVXGo+gXDpe5m+YgbgcpoG00NNBke+sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771852665; a=rsa-sha256; cv=none; b=T8QPkAFh9bcDXQZgGnq63iReUHnGzhjxQ1dYZqkNa3XoWG2VbL0nYe2oG72EoMbJASHain W9JnpA499DQaBtNna40fQLDj1qtx81KIbzQtQUl1m65O0Xwmm0hVLbmD15dMA9PVgzfnft FOyZ7xLbwv56NPKpHUH4r0oCi0lClsfIeSXJGOl1YC4M/xqAENjgBTSheJnvRXdzYylBG2 bzf6E+ZKSsjwr8klIe0IWBwIZwUX3KCP/oDoXIt7QswXq5YRBiXmYBjgDzuI80IDk4Lj0s S4g8w6EtYBG26g3F0LzODw7loXaOCH16E9fwmovvGW66VyY5HxiyC000lB4Gjg== 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=1771852665; 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; bh=LhPUlqL5DGDdNWHiMLI+swm9DEF82WhSKia4qprcrpQ=; b=lRfMWiGtmgcYTKOJQTqNyImdrGIlM3EMJ6a6oGpTBSgZiRSfTCJ+WFDbw/ILA4+9/bcQZ1 gvWNFlumRW2cK3b8qc+6Q8tjzFpjFMqVEH3L5Y7OPJvogJyppoVs0gEmr783060y+jEZv8 0shGFPOftNts/tv1I7V3UZNm6nTgNP4RIeuH0A2z9PQ7Ta0i+Oil7CZfO+QPV4CkOderwc 5HQmbKCLQ7LgetK2a85vC6GgwRtZ9muwNAO1qkulb+/Wsg1xpCa+rqrB5cXQh3f9IsfIr9 l2xi4jo+u8sprvzvBNb7d9oChWmtl1oh74gVzzMInRSRkkKcVXqmTpmjpWZAHw== 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 4fKLxj0DVnzXQf for ; Mon, 23 Feb 2026 13:17:45 +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 61NDHi8X030834 for ; Mon, 23 Feb 2026 13:17:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61NDHiq6030833 for ports-bugs@FreeBSD.org; Mon, 23 Feb 2026 13:17:44 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 293384] science/py-tensorflow: fix build with libc++ 21 Date: Mon, 23 Feb 2026 13:17:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: 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 Bug ID: 293384 Summary: science/py-tensorflow: fix build with libc++ 21 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: amzo1337@gmail.com CC: amzo1337@gmail.com Flags: maintainer-feedback?(amzo1337@gmail.com) 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:2= 3: In file included from ./tensorflow/tsl/framework/allocator.h:28: ./tensorflow/tsl/framework/type_traits.h:96:8: error: 'is_signed' canno= t be specialized: Users are not allowed to specialize this standard library enti= ty [-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 allowed to specialize this standard library entity")]] | ^ and later: tensorflow/lite/kernels/elementwise.cc:245:14: error: no matching funct= ion for call to 'EvalImpl' 245 | return EvalImpl(context, node, std::abs, ty= pe); | ^~~~~~~~~~~~~~~ tensorflow/lite/kernels/elementwise.cc:192:21: note: candidate function 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. --=20 You are receiving this mail because: You are the assignee for the bug.=