From nobody Sat Sep 28 13:42:44 2024 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 4XG7nJ3FHQz5XN6S for ; Sat, 28 Sep 2024 13:42:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XG7nJ1yzXz4Vcm for ; Sat, 28 Sep 2024 13:42:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727530964; 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=th07ppe89OnNbFvVdq6qwFU+AUznZ8rqey5EsA+sPOA=; b=I9k2JKHBlMOxVZERFkTUJNCs+v2+iyIt/G08FDPg6W80yMhQl4EPdzAgeqNCcurKFtFCEV Ic0yiG9gNlHPXMh4VLODlOD2KYA80zVnovkeMcANiGEk/MT4Qu8CERVBXow1KWFN60OqWp YDme1u2TCdp8e8v+N66CwH4isqCgtHDMOrHzzmSb3kf7CPCKqkBr0xe2c3eHO0NH38Ul5k z1QWpZ7rd38QO75BE3Xez27YIa3xosr0a50+wlRxliku/uajqMiDEPgBRwIGOtE8ugWqKh bxi7vZMoe28SMDW278mRqSXF414Oy1OARd6d376eXBo9lvVArLIWopatLANwlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727530964; a=rsa-sha256; cv=none; b=JdNyPstP+oJFhTBYj03Vx/AJwpiFGCemcWWkWzESBlgf5Zhues4yprQ0i5oOLPS/plIE9T zIdBtdN9W1zJSOdgIM33G592qmBmhT/xCyg3MPMhz8tdrU7jrPeJieKXCzf9othRD+C0xM 2vweAq+4aHyEA9q5UDW5SNixAaE5KPTSSUeQnz3xjj2OaXWkPA+Kl9N2iaAI4e9viI+PDa hS/y9QYai7ljMQWi3lvqLPG9+KLUKAEOuTzXfSsay5p5Rz6tvU5EGYLu3VJuKNbA/MJ0EY 6oO3S8U32oBBRnY/p+EZ4Mhygdw5tGXrWJMAgzHsdSG4wwcF5WZdfn0IARzTkg== 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 4XG7nJ1CxvzRrH for ; Sat, 28 Sep 2024 13:42:44 +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 48SDgigW099460 for ; Sat, 28 Sep 2024 13:42:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48SDgit7099458 for ports-bugs@FreeBSD.org; Sat, 28 Sep 2024 13:42:44 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 281553] devel/poco: fix build with libc++ 19 Date: Sat, 28 Sep 2024 13:42:44 +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 Some People 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D281553 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D646153bbb0191367b737a03702d1baa= 3a0c5bfe3 commit 646153bbb0191367b737a03702d1baa3a0c5bfe3 Author: Dimitry Andric AuthorDate: 2024-09-17 08:21:22 +0000 Commit: Dimitry Andric CommitDate: 2024-09-28 13:38:31 +0000 devel/poco: fix build with libc++ 19 As noted in the libc++ 19 release notes [1], std::char_traits<> is now only provided for char, char8_t, char16_t, char32_t and wchar_t, and any instantiation for other types will fail. This causes devel/poco to fail to compile with clang 19 and libc++ 19, resulting in errors similar to: /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits' 820 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, | ^ /usr/include/c++/v1/__type_traits/is_constructible.h:42:62: note: in instantiation of template class 'std::basic_string' requested here 42 | : public integral_constant)> {}; | ^ /usr/include/c++/v1/__type_traits/is_swappable.h:43:39: note: in instantiation of template class 'std::is_move_constructible>' requested here 43 | using __swap_result_t =3D __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^ /usr/include/c++/v1/__type_traits/is_swappable.h:50:60: note: in instantiation of template type alias '__swap_result_t' requested here 50 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __swap_result_t<_Tp> swap(_Tp& __x, _Tp& __y) | ^ =20=20=20=20=20 /wrkdirs/usr/ports/devel/poco/work/poco-1.12.4-all/Data/include/Poco/Data/L= OB.h:243:14: note: while substituting explicitly-specified template arguments into funct= ion template 'swap' 243 | inline void swap(Poco::Data::BLOB& = b1, Poco::Data::BLOB& b2) noexcept | ^ In this case it is enough to only enable the LOB constructor from std::basic_string when the type is plain char. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-remov= als PR: 281553 MFH: 2024Q3 (cherry picked from commit c55157301f317ab8166349340d4cc0765deaac12) devel/poco/files/patch-Data_include_Poco_Data_LOB.h (new) | 14 +++++++++++= +++ 1 file changed, 14 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=