From nobody Fri Aug 16 15:45:27 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 4WlmXl4nc7z5T7k3 for ; Fri, 16 Aug 2024 15:45:27 +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 4WlmXl2nknz4fjp for ; Fri, 16 Aug 2024 15:45:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723823127; a=rsa-sha256; cv=none; b=G7rbChqTBWG8Erelx9e8fQe2WJeNV4UiIPb4P4nip8FnmqYD7Yg4ZO70HJ3lpXW910tpmC Nr9CuHyvL6dXVWPUjwpsGML29at573SWFGg/9WEFGR0sRzlSvJjsg48X7hKGjXUJ3qA64D qnAt0gxasX/FA9KnGDm2p++8m0MFFyqGkIa0RDCWrMaWY2zX4V1FiYKoM0/RUpZX200hOU zAG6ej7KTk3DxBxyzN6u+d3mNxmgB56WrBTcC39o3eD4R/sQmOmPO/Wh+L7a+RChhTXNKX wQz64KMj/5eK/tIjsxP00iaDTlLr7PvPoD1Ze4Gn8jBfuPj42egYVe9MG0kMug== 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=1723823127; 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=CeHfav0W0CjN3dPkb+9tHNJRB1PVFkebQKtMmFmgxAQ=; b=nQO9t1ff7x0rn//+4eRB6niKueiVXMpxL1aBe96ZZaubB9nlzgeVocO6g7eEiLiyiGEemS ro9Eept07S7krxzfziWjSYJOyJGFRunN1iIp1eb/u/QisHGJUxHHhzVrnQnizprxNw42zl ITsN3aQdVFpLoBRIrdxaaJ6JQ5pTuupvyYhxsg8k2TQAVGsKSkF8khHwSxuXU4Kx/V7l7I rPWfq/ma8CrPKXjK7CaiEVhXSAV3vrsrDMXHnTizHQra/wpD0wpcjke5BGHc4Ouj8L4dRG I1+sSC7zguYqOzHBH7cvcoNQWuC7NMSQAwyilneJsrJSyBYwnGNFElQsp/6yOg== 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 4WlmXl2QGSz1BRW for ; Fri, 16 Aug 2024 15:45:27 +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 47GFjRla074755 for ; Fri, 16 Aug 2024 15:45:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47GFjRHE074747 for ports-bugs@FreeBSD.org; Fri, 16 Aug 2024 15:45:27 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 280796] chinese/opencc: fix build with clang 19 Date: Fri, 16 Aug 2024 15:45:27 +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=3D280796 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D119f5ebf6044f8c5333e1e8e1671532= dd057eb17 commit 119f5ebf6044f8c5333e1e8e1671532dd057eb17 Author: Dimitry Andric AuthorDate: 2024-08-13 12:12:32 +0000 Commit: Dimitry Andric CommitDate: 2024-08-16 15:44:23 +0000 chinese/opencc: fix build with clang 19 Clang 19 now diagnoses incorrect member accesses, which causes chinese/opencc to fail with an error similar to: =20=20=20=20=20=20=20 /wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjs= on-1.1.0/rapidjson/document.h:319:82: error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType' (aka 'const unsigned int') 319 | GenericStringRef& operator=3D(const GenericStringRef& r= hs) { s =3D rhs.s; length =3D rhs.length; } |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~ ^ =20=20=20=20=20=20=20 /wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjs= on-1.1.0/rapidjson/document.h:325:20: note: non-static data member 'length' declared const here 325 | const SizeType length; //!< length of the string (exclu= ding the trailing NULL terminator) | ~~~~~~~~~~~~~~~^~~~~~ Upstream rapidjson fixed this by removing the operator=3D function in https://github.com/Tencent/rapidjson/commit/3b2441b8, so pull this in as a patch and apply it. PR: 280796 Approved by: lichray@gmail.com (maintainer) MFH: 2024Q3 (cherry picked from commit 438b693be17d522b4a9a6620b5848ae965937511) .../patch-deps_rapidjson-1.1.0_rapidjson_document.h (new) | 11 +++++++= ++++ 1 file changed, 11 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=