From nobody Thu Aug 08 18:24:47 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 4WfwSJ2J1Fz5RvmS for ; Thu, 08 Aug 2024 18:24:48 +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 4WfwSH5SVxz4ckp for ; Thu, 8 Aug 2024 18:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723141487; a=rsa-sha256; cv=none; b=McKzVDb7lxi0iLJe59mzMuzZ2WMbmPFTAWFjLfaPW+E6d7sLkNFlRAbLJLzcuZpo9qMw+m XsBTFr7p7BHx7REX1KauxlMZGo9+lalPFmgRB1/z6wX83lHG7jYut4j+eXSKIqC8EchveD xZe0Qp/uweIDuz9+pZ7Oe1U00q5kHPGp0Ykv+UYvn9kphcNf+7lN3uvLweUmWbb3uDhxz5 dHM+COovi1LR+g129NrrRculGJCAtDn4sOXnhIZ3aFZj3kN3UYHh3gyGbIfIYHvstRkK0B oct+l335bCU4j2g7uJs+/XavRu3NQdBwAhkU1a1Pc23lAadKblRiI+sSPyJJPw== 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=1723141487; 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=CJEedy8p9GtzWW0wdT7rDE+rfePqoK05emGGJrlT6+0=; b=v97dYByZXWyAwx2IX5M4Q7OkqL0Ld7+zucBhV8zY8s1V62R6zFl8NxWeuRPGSSCh+r9DH/ 9CBBTs2zcf+JVQRsW1eUNfkpuG56bfVdhWMefoXJukLADvO9iprJdYsKfZmvAo1hz8fIfs ilCDsAneyWsTyx3THj8oA71RArg8fhdO7DpKNxHjHmrwEGsKhE121evuXtqVQA3vTKly4i 37MXTvKg+dJ+SJX4JUcRqHBuhgYK1TybNG4BLPh3Zgrv+5BqrL4hrd7JAwwkET8LFRwLjD zrGI6sPN2baKxnzISPCy+NqPdf60SOMycItY5waxJN+N7enJeCMdzc9JYAYO7A== 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 4WfwSH54mVzkhR for ; Thu, 8 Aug 2024 18:24:47 +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 478IOldb088240 for ; Thu, 8 Aug 2024 18:24:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 478IOlRp088238 for ports-bugs@FreeBSD.org; Thu, 8 Aug 2024 18:24:47 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 280693] databases/mysql80-client: fix build with libc++ 19 Date: Thu, 08 Aug 2024 18:24:47 +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: joneum@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 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=3D280693 Bug ID: 280693 Summary: databases/mysql80-client: 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: joneum@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) 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 databases/mysql80-client 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, | ^ =20=20=20 /wrkdirs/usr/ports/databases/mysql80-client/work/mysql-8.0.39/sql/rpl_log_e= ncryption.h:821:14: note: in instantiation of template class 'std::basic_string' requested here 821 | Key_string m_encrypted_password; | ^ /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared he= re 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ `Key_string` is defined as `std::basic_string`, which is no longer possible. So redefine it as a `std::vector` instead. This requires only a few small adjustments in other places: replacing the `length()` method with the equivalent `size()` method, and adjusting the arguments for the `assign()` method, which for `std::vector` takes a begin and end iterator, instead of a begin iterator and a size. [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.=