From nobody Fri Aug 16 15:40:20 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 4WlmQs1CQFz5T7F6 for ; Fri, 16 Aug 2024 15:40:21 +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 4WlmQr54dnz4dP5 for ; Fri, 16 Aug 2024 15:40:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723822820; a=rsa-sha256; cv=none; b=gof5yf2q92j5LbKDagnDOPvUdPO3+JcE2m7E2jmz/wD1jyiZaLDH5rLuUhu+/hwmblOuR3 OX9WtiO0u5LRwxuX9vwfsT/4Gz7qwmBbQsrqbjImRcaPWGw24CYMZhx0doJsPdrDbKBEZD tIBm6Sb21wptbYNyeY7cvBT4xOwOyrPFN+VfKaXP4U/Exc8iwIklJZQM5kTcbuYS540Edc n1cVrJ/xQeEJgR5v7lsjOfiyDW+DylWsLZL+itv5Rvv/XfoqHEL6wZlfKs70V2PFzFIYUF 0YVFl5oz5InjGv0ehXmS3nsbsnQPGwleIJtBgzwMsx5C+J0Q8HHYZcwSmXcOqw== 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=1723822820; 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=Mtqhj7XKlSYOvSBQEcapycZgGlCh+3Pnxamx0brgkDw=; b=RYkAnZavlxkWLNXkpH24iMMNWwKAsG6bIzDz1GAD3PaEwXGcdcEmHIs9aV3NGmowwe4hhQ oaHe1c1f0/85rT6LW3TKQAjyMALtRzkfY9RYeezbSsZg/QtaOSBcOC8pg0NWqBlRXTOhP2 fe5nHziIvyHdjIaC9XJY4yAaKJmFbspnSRDBKy485Tg90vUQMV5e0LDnQBZnn2gYEsyKwA 92TYFVNtgtvC4dkynJlJFHj6jwMOYLn57IZvDabm1KnWpiJglV5ptu8EoqtqMIwUj8ZyZF Q+6e7cDck65QEZQn6k/Sr+z5zdEGXX3O3ZJZ8wA4or9yDq+7fb1BBwQ39NOWvw== 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 4WlmQr4hjvz1BcB for ; Fri, 16 Aug 2024 15:40:20 +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 47GFeKLw045997 for ; Fri, 16 Aug 2024 15:40:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47GFeKou045993 for ports-bugs@FreeBSD.org; Fri, 16 Aug 2024 15:40:20 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:40:20 +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 #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D438b693be17d522b4a9a6620b5848ae= 965937511 commit 438b693be17d522b4a9a6620b5848ae965937511 Author: Dimitry Andric AuthorDate: 2024-08-13 12:12:32 +0000 Commit: Dimitry Andric CommitDate: 2024-08-16 15:36:07 +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 .../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.=