From nobody Wed Jan 26 22:37:09 2022 X-Original-To: gecko@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 7512D197C66B for ; Wed, 26 Jan 2022 22:37: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JkdrQ1yLxz3CNs for ; Wed, 26 Jan 2022 22:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 24F782D69 for ; Wed, 26 Jan 2022 22:37: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 20QMbAPh021607 for ; Wed, 26 Jan 2022 22:37:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20QMbAWX021606 for gecko@FreeBSD.org; Wed, 26 Jan 2022 22:37: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: gecko@FreeBSD.org Subject: [Bug 261410] www/firefox: Update to 96.0.2 (unfixed security vulnerabilities) Date: Wed, 26 Jan 2022 22:37:09 +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: needs-qa, security X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: attachments.created 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: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643236630; 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=I5AHVKwVyBT2fTF6lx22zlOFNFvMYMF88ulLUz3S+g8=; b=E/X6LNbeYmWX16qew+qRi/yjjnu9p+YDq1SRB9Mi90jswQ3P5qaenfOov8wslicZkaC4QZ 94o/LIxsPZX+Jr4OkW0l4OmSaoTVeG3OuNbLC6IyT/2DJN9oHoUn8Y6vjzaiPRxvtMWxMr WlitK3DVWTt+/tqKOCqsmKHUdaTYFH7nVJ0nPH6YIyvP9kelAp1dFrnrR5dpi3arzT+HUl QjxSOdBALEXqC/sAAP86jbTbExYxYpoXdQLwF/T3Y1L65VZx/DPDSfdYSN9uWA1CIMesT9 m+eZ5CJGil3yteuOjisDVmIuXM4qAv+coFH2827rrtXYPcb0S6+Q/gDD71yxNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643236630; a=rsa-sha256; cv=none; b=UC25GEf+gBOGk8rvER8i4XX5iy1hyOJkx54jxFIq9B1sNLYtjyNw+NU4s7p0xCmBi1rRR4 JDT0VPxJeJr5+tBJGJGWiU/Pl2hDdrNHiWR+SyC5OQ4msIv++iLKHR4b0TwEfkoFT7e9SK tIItsi4StjMpYseNNmf4nuYoNKspmYtnjFrPsnknJJ26oSDQpcvDpPFNfeoonEqd1t4JMh 3ppteAQx4o8Lx9Ef2Lv1wzoEYcweuF6PLdh2po0v3ewa4L2hA8lARhqSDHac29oxd5b056 fqPlHDWHSIzvi9HzJeekwHQ5w2LYor6/yetY/TkoRGao8NfucKgSFIYqu/blfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261410 --- Comment #8 from Evgeniy Khramtsov --- Created attachment 231369 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231369&action= =3Dedit v0.8 (zstd, git) Upstream bug 1654448 [1] was filed for BSD build issues after libwebrtc 2H2020 import. OpenBSD has patches in 97, but 96 is marked as "wontfix". I backported the patches for 96 and added WEBRTC_BSD (BUILD.gn is_bsd) back with s/OpenBSD/FreeBSD gn and manifest regen. Reproducing build environment and providing Ala-OpenBSD how-to is hard at the moment due to numerous hacks locally. 97+ should be easier due to landed upstream changes and simplified manifest regen [2]. There are __STDC_CONSTANT_MACROS redefinition warnings for libwebrtc likely due to mozilla-config.h.in defining it [3] while __STDC_CONSTANT_MACROS is also defined for Linux targets and OpenBSD in 97+. I chose to do the same as Linux and OpenBSD to avoid regression. Manifest for FreeBSD/i386 was generated via generate-gn-build-files.sh and seems to be the way it is generated for 32-bit PCs running Linux [4]. Notice that host_cpu and HOST_CPU_ARCH are for 64-bit PC, but the manifest is still for 32-bit Linux. The same also applies for ARM64 macOS [5]. FreeBSD/aarch64 wasn't generated via script as rustup doesn't provide aarch= 64 target for FreeBSD, and lang/rust in ports symlinked to rustup bin directory doesn't provide rust-std for aarch64. generate-gn-build-files.sh hard fails without Rust target. One could try via Rust via qemu (IIRC it doesn't work), but I tried semi-automatic manifest generation by git diff'ing x64 and arm64 Linux manifests and porting the diff to x64 FreeBSD manifest copy for arm64. If aarch64 build passes, then good. If no, I suggest --disable-webrtc for A= RM until a solution is found. WebRTC microphone on FreeBSD/13.0 seems to be "okayish" as the first five seconds of a talk seem to be cut off, then enough data is buffered and recording is fine. There is also an OSS related patch in files/, so IDK, maybe git bisect late= r. Also see bug 257639 which might be related. Speed is limited due to QA of 12.2{amd64,i386}, 13.0{i386}, PipeWire Wayland screencapture, inverted OPTIONS tests, completely new workflow. I need to b= uild several large repos and do some testing I never did before. Setting up Pipe= Wire may take long as I did it a year ago and things could change. I also don't = have a webcam and can't test one, it is unobtainable where I'm located. Also, no idea at the moment where to look for the minimum required library versions to update Makefile. I'll try to update lib versions in Makefile af= ter testing. Patches deleted seem to be upstream or no longer needed. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=3D1654448 [2]: https://github.com/mozilla/gecko-dev/commit/e6f459cd77e3 [3]: https://searchfox.org/mozilla-central/source/mozilla-config.h.in#31 [4]: https://raw.githubusercontent.com/mozilla/gecko-dev/release/dom/media/webrt= c/third_party_build/gn-configs/x64_False_x86_linux.json [5]: https://raw.githubusercontent.com/mozilla/gecko-dev/release/dom/media/webrt= c/third_party_build/gn-configs/x64_False_arm64_mac.json --=20 You are receiving this mail because: You are the assignee for the bug.=