From nobody Fri Mar 13 08:30:37 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 4fXHk55flPz6Vhvp for ; Fri, 13 Mar 2026 08:30:37 +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 4fXHk53J65z3wkd for ; Fri, 13 Mar 2026 08:30:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390637; 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=sKEb8vucbT+COnNNioxQ+A4lHpjUryLvlkxmpVf6DSo=; b=axJ2SGXeg6IEIzIw6aePPOQVL0jfLBdD7C2s1g+eh40ljyPT1BpLJN8zFcBbWyoJ4H9aX/ DUrSaG3Tu7THIfkVfawRHWQngwIracMLMvHahNjG3joc9FsQ+8qPV95i8x3M1QjCvYUUDL z4AA0dHmk3vJeuwZJkejKrTypb81c3HSgUDk6HLhIcTtinIov7J27l3ctOSutgbtJf8ZxC NNLxBikP5GkR7/UxhgNW/M2rpmI+yWSwLK5VRObD/g9uRsJYlGOvVllb9cnUQcnJFCpM/y b2IyRxritm4qPcR1OrFSxGdQ9A9QHHaJU4AwWDIh9rEMRvGcJmLeFOI0+1nKnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773390637; a=rsa-sha256; cv=none; b=Qm7qymkpNTrjB6whY/1dkdkWb17no0vFealXjcatP5dhM7GughUIdl/cnr5gDp8K6HaRdq DcEpDqkEWgGghCuWjcrR27Q/3z6h+nnEswBU4fp3XtKEguwPYSVHgu432ayk0xMvDrhjgi XhTrtJvQTUV1RRpBTyTnKbc71tT0d2bpyO1Z5bLg54LLuW0o7kO4pMlTtPX+uAEqqTpz+i V9xOyyt1PrGSfe+7+JAbqa4wIHLefz6+LYqcKy4wusbzWCFIxnE5PD3XUmZzyxVS4mCrga fCwK4fjmuufKZK/Eg2idNi5IByWgfQVB8NlAl6qrchT7QpbvZ6gAuuVkg6ZInA== 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=1773390637; 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=sKEb8vucbT+COnNNioxQ+A4lHpjUryLvlkxmpVf6DSo=; b=HxbMODmKsjJV5JVgYYyK0siXbbpkhmPTDfZr/f18iuNdKNYJazLNApO9qcv+TNy5EAHP2C Fhfngl8EUDK+1kAL4bmtZQ+dZOKTte2orv6hRhtf5D9cXgKnzCnN3fbWSG7rs/9LIWq1ml pPWvJYTnKK7HVV1L2BuO8D7+K++aSwvbfQy2eM6poXipi4g9l/069t7Q9QYEtOJYyBlgPN 7Xt3fqN38dC5NmfrrE/UWlWPtUDMAZA224lJUJSyhy+feRhBKbBtHXp1VC+Bd/c4DEGEQb hM8l+hvZtXSuiDgpatmzyB93pxtG8xRN9C7mVZrz7ux7O/w/eaLtGcnx9gEC6Q== 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 4fXHk52vRWz8Rq for ; Fri, 13 Mar 2026 08:30:37 +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 62D8UbmA082778 for ; Fri, 13 Mar 2026 08:30:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62D8Ub7n082777 for ports-bugs@FreeBSD.org; Fri, 13 Mar 2026 08:30:37 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:30:37 +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 #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D814f8741c251862849f74431be09c0a= b969e936a commit 814f8741c251862849f74431be09c0ab969e936a Author: Dimitry Andric AuthorDate: 2026-02-23 13:18:05 +0000 Commit: Dimitry Andric CommitDate: 2026-03-13 08:29:30 +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 ...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.=