From nobody Tue Sep 17 08:20:56 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 4X7F952jl3z5WnMd for ; Tue, 17 Sep 2024 08:20:57 +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 4X7F945s4rz4qC2 for ; Tue, 17 Sep 2024 08:20:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726561256; a=rsa-sha256; cv=none; b=CHgfbnKmYzKF9dz7rUd7VYfX0PxnRIYjNy9rhMHl5ZN2kgvOfPlS+KwumzJ32LAnm7vq0p jT797wRTpw3ffjitxIRg6liTPYecwO6AVKXYjTuU6sWfG9jXrKoBmr8tJfsB1TDNUIGIma xJTdJZHhxrZtxW7zWDrWfG9piX/4Zc6hK8EF+LshK1nP2NGBd03vS23tZXPjai2bNr4Zgo A1iZ9iPw8KmVKSzCW1X9J9FQRdOQADBjs4ltKYAGtVttXzqBCVoW2zNIJGzzCUo4yRDXKh nhB8wpJ2rfu8/gz0u+bypjiJW5B03bry9MtChz8Bj20K/YTwEyCzJSSMy63ldQ== 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=1726561256; 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=aehjv1uFpq7e/gjxd5oPy4sr0kQVQFpgZ5o/Yl2zkJU=; b=dLcOdBkFxHslMWbwMrQ47KJqFzx0qsCi/pu+4cNEEJx4lu/B5S5FuTYChg7swDmu76SgK5 R0sqhpZw7CU8T2fbDR9UGqZlhitfgFH2fBtJTnNtXGUkDrpHOMG/CkY3KM/4G/1UaH1wXg h1txoTjc/yufg3iVjurXjEROU9GE2xJ2x7dXX5VKkbwtiQu86woPxxNRw1OJf2IlmR8pAK gxE2k9vvb61Zo96quw3ff17UTipciuwz4XI2/zktrqMnRvP8xkIh76Pt0QseRe7x5WisWy DWcY+jzRhcjbGaHN1k0SMMU7nVdSZByy7FY3S4ImECiB4wM/hIMbQmrL4OeHzQ== 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 4X7F945SqvzV6Q for ; Tue, 17 Sep 2024 08:20:56 +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 48H8KuT3068567 for ; Tue, 17 Sep 2024 08:20:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48H8KueC068566 for ports-bugs@FreeBSD.org; Tue, 17 Sep 2024 08:20:56 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 281553] devel/poco: fix build with libc++ 19 Date: Tue, 17 Sep 2024 08:20:56 +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 Some People 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-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 Bug ID: 281553 Summary: devel/poco: fix build with libc++ 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: henry.hu.sh@gmail.com CC: henry.hu.sh@gmail.com Flags: maintainer-feedback?(henry.hu.sh@gmail.com) 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 undef= ined 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 /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-removals --=20 You are receiving this mail because: You are the assignee for the bug.=