From nobody Sun Feb 18 12:58:50 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 4Td5MZ6mp8z59b6D for ; Sun, 18 Feb 2024 12:58:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Td5MZ4nP5z4jbW for ; Sun, 18 Feb 2024 12:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708261130; 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=XCBaxp2kN0R6DjZDjwy64IJHELyRG7BnlaVn4cqJdMs=; b=xfyoRxZXQuJhZLCpKKhbPNHFr1OserHCb22z5Iq9USElvp+HDbYQVD3kIPt9D9KYT+gs52 p6hdxINmVdfZLKw4dHkiPBzwoRF9nyxY17PnoMrGuRo9Euq+6cKw38bnFvLtF39NW5QPfG l1zPMCBmdFrHXX+scK9oO0Xhg3/scCLeT52rL+3c1+k4MzFvuRWs65L0GZPpyxssVXbeyq CQyYa0KmUS4Czcep/LwXDqkzgcns4Wsfqr2S1mhB3jAmlGScMz0m3gLE7GtOfsL0w/Qa8Z 8XLsdODltfkC+zaudYda+Af8Pko7X4WtwwXGr1cHR5C66xqinaIh1BR6uCOeMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708261130; a=rsa-sha256; cv=none; b=V/xcGJZJZLGJBCgtpQTkQtx0SkabBXpCfzeWCXe4qUfHGIIA/ZHwG/rWgOeuko17vFCNvP eVjfiGeEHBMSz0EW3XeA0UIRGkbwRarWXinORZbRhJFWb2dQKCzbuRUhOfJxpi3DVaSHeC uS5W3wm4dCe+htqXEhDRZ34epTdsgBtsUR1pnORTh8PbZ1RRx1lxBEhoVJHQKdAsRJ8JTU 2YbgvHbrnbN4suv3TbceJeT345dTUmujBD4n1pmiMOYgfy/Z/Z1WVU8ewL/cNTvnMTp9yi Xlr53eH2cmOHo9UrqWwQLFBiQYKrOZRFo5jtm79nCskyOl7b+gM6iPYqxNYAlQ== 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 4Td5MZ3f4xzsB6 for ; Sun, 18 Feb 2024 12:58:50 +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 41ICwoN6099634 for ; Sun, 18 Feb 2024 12:58:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ICwov3099633 for ports-bugs@FreeBSD.org; Sun, 18 Feb 2024 12:58:50 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 277129] devel/electron25: fix build with clang 18 Date: Sun, 18 Feb 2024 12:58:50 +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: tagattie@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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277129 Bug ID: 277129 Summary: devel/electron25: fix build with clang 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: tagattie@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: tagattie@FreeBSD.org Flags: maintainer-feedback?(tagattie@FreeBSD.org) Clang 18 has become more stringent about narrowing in initializer lists, resulting in errors when building devel/electron25: ../../third_party/webrtc/pc/legacy_stats_collector.cc:191:54: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing-const-reference] 191 | {StatsReport::kStatsValueNameTotalAudioEnergy, info.total_output_energy}, |=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 ^~~~~~~~~~~~~~~~~~~~~~~~ ../../third_party/webrtc/pc/legacy_stats_collector.cc:193:8: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing-const-reference] 193 | info.total_output_duration}}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ and later: In file included from ../../cc/layers/mirror_layer_impl.cc:5: ../../cc/layers/mirror_layer_impl.h:59:40: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned long' in initializer list [-Wc++11-narrowing-const-reference] 59 | return viz::CompositorRenderPassId{mirrored_layer_id()}; | ^~~~~~~~~~~~~~~~~~~ The first batch of errors can be fixed similarly to bug 276997, by cherry-picking into the thirdparty directory. The second batch of errors can be fixed by cherry-picking . --=20 You are receiving this mail because: You are the assignee for the bug.=