From nobody Tue Aug 13 12:12:10 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 4Wjqy272Zgz5SZF2 for ; Tue, 13 Aug 2024 12:12:10 +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 4Wjqy2618rz4tbd for ; Tue, 13 Aug 2024 12:12:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723551130; a=rsa-sha256; cv=none; b=snO/c1qL9m993RxAHHOwc15rNcb30eAzaFVjPzmppFqkQvEL/eJcMpmhVAia1BFKISCrGc yQhtl1u4akOpyAZlT/VGM8652F/BmVTsg/wFYctmXFMUsCFITnaRqC0yZxSNz2n67gw6BW DQbNOwVerX5gQBZLNXRS1KNnDdrPWGOqVvBzHXh7fR5DslG11uSlwSotc1HthvwD6f6vV1 xFE1HeEch2vpmq56DqY+sZcmtbp0A7us6+OkW8HxTe1s0tI3HPXQL9VIiJE4UrLQLu4R7H imcyVhlln+9RK0DKDun8CvbG+jT7VU7wpQK03+iSTkwvuadqEfJcb6Po/8BcTw== 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=1723551130; 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=SJX8br8FTWkbW+C/W76rVLuswkjj1QhsDb7PR3sCuzg=; b=MmJVBCq9gKJpcTu4EEuL66vGhvDVqmJaMp0DXzVGGbtz/nxgsmMLWHwLBFF61jRtOHiIfz zFN1ADu9MTsKsTzLHM9G7QbY0+Y9RmAEG/O2osd42d7sIcVoeLVV9HvSxxBQx5RE2WkY/U 6JZqmrBt8rFo7L09Smyv5bWGObIp/KPP3GbSZ3X90BeZNdZ5lw65cCWw8VW4hMXVKPHkCb J05aroHG+3xqrI0VPsI2G6PmJ3LD6/d851jCdXft6r0VOLmG3/sKM9NfQbLF9ANAWWAKfS DpdMPKp64BdQIKLBpGJpj4vA/tw16fDoN578ZCbzWo+KtWbBNFRBm76XzVhHQQ== 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 4Wjqy25dDfz18bs for ; Tue, 13 Aug 2024 12:12:10 +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 47DCCAkI081854 for ; Tue, 13 Aug 2024 12:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47DCCAxn081853 for ports-bugs@FreeBSD.org; Tue, 13 Aug 2024 12:12:10 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 280796] chinese/opencc: fix build with clang 19 Date: Tue, 13 Aug 2024 12:12:10 +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=3D280796 Bug ID: 280796 Summary: chinese/opencc: fix build with clang 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: lichray@gmail.com Flags: maintainer-feedback?(lichray@gmail.com) CC: lichray@gmail.com Clang 19 now diagnoses incorrect member accesses, which causes chinese/opencc to fail with an error similar to: =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& rhs) = { 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 (excluding= 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. --=20 You are receiving this mail because: You are the assignee for the bug.=