Update to Firefox 140.7.0esr
- Removed bundled(python) - Added changes from rhel-8-main - Added changes from rhel-8-main - Fixed build failures in wasi due to missing include Resolves: RHEL-138370
This commit is contained in:
parent
b3db2c829f
commit
68ce41db99
2
.gitignore
vendored
2
.gitignore
vendored
@ -403,3 +403,5 @@
|
||||
/firefox-langpacks-140.5.0esr-20251107.tar.xz
|
||||
/firefox-140.6.0esr.processed-source.tar.xz
|
||||
/firefox-langpacks-140.6.0esr-20251202.tar.xz
|
||||
/firefox-140.7.0esr.processed-source.tar.xz
|
||||
/firefox-langpacks-140.7.0esr-20260107.tar.xz
|
||||
|
||||
49
build-workaround-s390x.patch
Normal file
49
build-workaround-s390x.patch
Normal file
@ -0,0 +1,49 @@
|
||||
From 13858b4787c24a40cdce819b963baebff186cfe0 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Murphy <murp@redhat.com>
|
||||
Date: Tue, 25 Nov 2025 08:55:25 -0600
|
||||
Subject: [PATCH] HACK: workaround s390x
|
||||
|
||||
Attempt to workaround what seems to be a codegen related bug on s390x.
|
||||
|
||||
This seems to avoid a crash related to Ident or Punct structures on
|
||||
s390x.
|
||||
|
||||
For: RHEL-118250
|
||||
---
|
||||
third_party/rust/proc-macro2/.cargo-checksum.json | 2 +-
|
||||
third_party/rust/proc-macro2/src/lib.rs | 4 ++++
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/third_party/rust/proc-macro2/.cargo-checksum.json b/third_party/rust/proc-macro2/.cargo-checksum.json
|
||||
index b0d735a3a2d6..c47ce4ac5611 100644
|
||||
--- a/third_party/rust/proc-macro2/.cargo-checksum.json
|
||||
+++ b/third_party/rust/proc-macro2/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"Cargo.toml":"41a9465146a2b62a642e29f065718649e686d3c9585736596392dd941c9b0bef","LICENSE-APACHE":"62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","README.md":"c609b6865476d6c35879784e9155367a97a0da496aa5c3c61488440a20f59883","build.rs":"cf78c0005f11d54ca42dbaee77cb76a440e6fa2e0b64798d3f74c04770a0ad2b","build/probe.rs":"971fd2178dc506ccdc5c2065c37b77696a4aee8e00330ca52625db4a857f68d3","rust-toolchain.toml":"6bbb61302978c736b2da03e4fb40e3beab908f85d533ab46fd541e637b5f3e0f","src/detection.rs":"ed9a5f9a979ab01247d7a68eeb1afa3c13209334c5bfff0f9289cb07e5bb4e8b","src/extra.rs":"29f094473279a29b71c3cc9f5fa27c2e2c30c670390cf7e4b7cf451486cc857e","src/fallback.rs":"be1ce5e32c88c29d41d2ab663375951817d52decce3dc9e335ec22378be8fa65","src/lib.rs":"97ca48f50ad15fbcef42b31fb4fbfb8e4a1c5f946d776aa44fd04b37d7c64b32","src/location.rs":"9225c5a55f03b56cce42bc55ceb509e8216a5e0b24c94aa1cd071b04e3d6c15f","src/marker.rs":"c11c5a1be8bdf18be3fcd224393f350a9aae7ce282e19ce583c84910c6903a8f","src/parse.rs":"4b77cddbc2752bc4d38a65acd8b96b6786c5220d19b1e1b37810257b5d24132d","src/rcvec.rs":"1c3c48c4f819927cc445ae15ca3bb06775feff2fd1cb21901ae4c40c7e6b4e82","src/wrapper.rs":"e41df9abc846b40f0cf01150d22b91944d07cde93bc72aa34798101652675844","tests/comments.rs":"31115b3a56c83d93eef2fb4c9566bf4543e302560732986161b98aef504785ed","tests/features.rs":"a86deb8644992a4eb64d9fd493eff16f9cf9c5cb6ade3a634ce0c990cf87d559","tests/marker.rs":"473e962ee1aa0633dd5cf9a973b3bbd0ef43b740d4b7f6d008ff455a6b89d386","tests/test.rs":"2e7106f582367d168638be7364d4e9aadbe0affca8b51dd80f0b3977cc2fcf83","tests/test_fmt.rs":"b7743b612af65f2c88cbe109d50a093db7aa7e87f9e37bf45b7bbaeb240aa020","tests/test_size.rs":"62d8373ea46b669b87bc90a9c49b6d02f90ff4c21f9a25acebf60c9926e01fb7"},"package":"5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"}
|
||||
\ No newline at end of file
|
||||
+{"files":{},"package":"5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"}
|
||||
diff --git a/third_party/rust/proc-macro2/src/lib.rs b/third_party/rust/proc-macro2/src/lib.rs
|
||||
index 1430306bb31d..81f8c15a67e4 100644
|
||||
--- a/third_party/rust/proc-macro2/src/lib.rs
|
||||
+++ b/third_party/rust/proc-macro2/src/lib.rs
|
||||
@@ -806,6 +806,8 @@ impl Debug for Group {
|
||||
/// `Punct` with different forms of `Spacing` returned.
|
||||
#[derive(Clone)]
|
||||
pub struct Punct {
|
||||
+ #[cfg(target_arch = "s390x")]
|
||||
+ foo: u64,
|
||||
ch: char,
|
||||
spacing: Spacing,
|
||||
span: Span,
|
||||
@@ -834,6 +836,8 @@ impl Punct {
|
||||
/// which can be further configured with the `set_span` method below.
|
||||
pub fn new(ch: char, spacing: Spacing) -> Self {
|
||||
Punct {
|
||||
+ #[cfg(target_arch = "s390x")]
|
||||
+ foo: 0xabcd,
|
||||
ch,
|
||||
spacing,
|
||||
span: Span::call_site(),
|
||||
--
|
||||
2.51.1
|
||||
|
||||
21
firefox.spec
21
firefox.spec
@ -56,7 +56,7 @@ function dist_to_rhel_minor(str, start)
|
||||
end
|
||||
match = string.match(str, ".el9")
|
||||
if match then
|
||||
return 7
|
||||
return 8
|
||||
end
|
||||
match = string.match(str, ".el10_%d+")
|
||||
if match then
|
||||
@ -143,7 +143,7 @@ end}
|
||||
|
||||
%if 0%{?rhel} > 7 && 0%{?rhel} < 10
|
||||
%global use_gcc_ts 1
|
||||
%if 0%{?rhel} == 9 && %{rhel_minor_version} >= 6
|
||||
%if 0%{?rhel} == 9 && %{rhel_minor_version} >= 8
|
||||
# clang depends on gcc-toolset-14-gcc-c++
|
||||
%global gts_version 14
|
||||
%else
|
||||
@ -191,7 +191,7 @@ end}
|
||||
|
||||
Summary: Mozilla Firefox Web browser
|
||||
Name: firefox
|
||||
Version: 140.6.0
|
||||
Version: 140.7.0
|
||||
Release: 1%{?dist}
|
||||
URL: https://www.mozilla.org/firefox/
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
@ -222,7 +222,7 @@ ExcludeArch: aarch64 s390 ppc
|
||||
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%%{version}%%{?pre_version}/source/firefox-%%{version}%%{?pre_version}.source.tar.xz
|
||||
Source0: firefox-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
|
||||
%if %{with langpacks}
|
||||
Source1: firefox-langpacks-%{version}%{?pre_version}-20251202.tar.xz
|
||||
Source1: firefox-langpacks-%{version}%{?pre_version}-20260107.tar.xz
|
||||
%endif
|
||||
Source2: cbindgen-vendor.tar.xz
|
||||
Source3: process-official-tarball
|
||||
@ -270,6 +270,7 @@ Patch10: build-disable-gamepad.patch
|
||||
Patch11: rhbz-71999-fips-youtube.patch
|
||||
Patch13: firefox-fix-build-with-system-pipewire.patch
|
||||
Patch14: build-system-nss.patch
|
||||
Patch15: build-workaround-s390x.patch
|
||||
|
||||
# -- Upstreamed patches --
|
||||
Patch51: mozilla-bmo1170092.patch
|
||||
@ -521,6 +522,7 @@ BuildRequires: gcc-toolset-%{gts_version}-runtime
|
||||
BuildRequires: gcc-toolset-%{gts_version}-binutils
|
||||
BuildRequires: gcc-toolset-%{gts_version}-gcc
|
||||
BuildRequires: gcc-toolset-%{gts_version}-gcc-plugin-annobin
|
||||
BuildRequires: gcc-toolset-%{gts_version}-gcc-c++
|
||||
# Do not explicitly require gcc-toolset-%{gts_version}-gcc-g++ instead fail
|
||||
# when clang is upgraded to depend on a later toolset and adjust version.
|
||||
%endif
|
||||
@ -617,7 +619,6 @@ Provides: bundled(picosha2)
|
||||
Provides: bundled(pipewire)
|
||||
Provides: bundled(PKI.js)
|
||||
Provides: bundled(puppeteer)
|
||||
Provides: bundled(python)
|
||||
Provides: bundled(pywebsocket3)
|
||||
Provides: bundled(qcms)
|
||||
Provides: bundled(reader)
|
||||
@ -1328,6 +1329,10 @@ echo "--------------------------------------------"
|
||||
%patch -P14 -p1 -b .system-nss
|
||||
%endif
|
||||
|
||||
%ifarch s390x
|
||||
%patch -P15 -p1 -b .s390x_workaround
|
||||
%endif
|
||||
|
||||
# We need to create the wasi.patch with the correct path to the wasm libclang_rt.
|
||||
%if %{with_wasi_sdk}
|
||||
export LIBCLANG_RT=`pwd`/wasi-sdk-20/build/compiler-rt/lib/wasi/libclang_rt.builtins-wasm32.a; cat %{SOURCE38} | envsubst > %{_sourcedir}/wasi.patch
|
||||
@ -1686,6 +1691,7 @@ MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||
# __global_ldflags that normally sets this.
|
||||
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} s390x
|
||||
export RUSTFLAGS="-Cdebuginfo=0"
|
||||
echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
|
||||
@ -1757,7 +1763,7 @@ cp %{SOURCE36} .
|
||||
echo $PKG_CONFIG_PATH
|
||||
%endif
|
||||
%ifarch s390x
|
||||
setarch -R ./mach build -v 2>&1 || exit 1
|
||||
setarch s390x -R ./mach build -v 2>&1 || exit 1
|
||||
%else
|
||||
./mach build -v 2>&1 || exit 1
|
||||
%endif
|
||||
@ -2131,6 +2137,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Wed Jan 7 2026 Jan Horak <jhorak@redhat.com> - 140.7.0-1
|
||||
- Update to 140.7.0 ESR
|
||||
|
||||
* Tue Dec 2 2025 Jan Horak <jhorak@redhat.com> - 140.6.0-1
|
||||
- Update to 140.6.0 ESR
|
||||
|
||||
|
||||
4
sources
4
sources
@ -4,5 +4,5 @@ SHA512 (nss-3.112.0-1.el9_4.src.rpm) = 6386239e79f8095b05270b3c8b76ac9203b0df196
|
||||
SHA512 (nss-3.112.0-4.el8_2.src.rpm) = 59cca3df7a0ec6a731f4a36f8f560d496d240da0c16650f047ae686e683b883dc2630aedbe46a8b2cb21662c15f03f1efbe99da42055cc3a5418da4839e28da2
|
||||
SHA512 (nspr-4.36.0-2.el8_2.src.rpm) = fcc720afd2453a5110975fac9dd06f636491234780b62cbfcc235a485b4935e97c4f438292c686d27d9dc86b56f43399c024bee4fffcdff5f27c62d105310645
|
||||
SHA512 (cbindgen-vendor.tar.xz) = 79becf7e70bddbbebfd8c3eaf8c0003e29e267bfbcd64b9801ed2cfd35f5de9d04bb55afcf379f784b5a1e2b9b83c6b14eb6af6219ed5ccea1df29fc24e5614c
|
||||
SHA512 (firefox-140.6.0esr.processed-source.tar.xz) = cd3d989576c8004364073e6110f520901db9007ad20149070fc72d14111d5071f0f310a7aeb6796b63ed6c498446100eaa47b523ad6e45b7921636ceb7fc0c51
|
||||
SHA512 (firefox-langpacks-140.6.0esr-20251202.tar.xz) = 354a24fbe2c98fa249c71bfeca63deb237655bcc9939f1383d055001459597908a50bf1b73eb573c1a584b9476ff9c4404b1ee025942970ba3e4a6cbef9ac32a
|
||||
SHA512 (firefox-140.7.0esr.processed-source.tar.xz) = 54bf9ae899314ce31d1d6d1c3e62c7e8ff0c744f9acb29864aa33431df8bd25e15668bc3e87548d305eb2aec0f9f78030c720fdf8ea4ce24cbe87ce0c3076baa
|
||||
SHA512 (firefox-langpacks-140.7.0esr-20260107.tar.xz) = 94a62aea3b43a99e16939f0b0ca4a6ed4e9c21a9c8be528c889d825582ce4bf1327d089cb44a944077d5c088bbf27ef03d851cc12f30c27f4853dbe871836fc6
|
||||
|
||||
@ -10,3 +10,14 @@ diff -up firefox-121.0.1/toolkit/moz.configure.wasi firefox-121.0.1/toolkit/moz.
|
||||
return []
|
||||
|
||||
set_config("WASI_SYSROOT", wasi_sysroot)
|
||||
diff -up firefox-140.7.0/wasi-sdk-20/src/llvm-project/llvm/include/llvm/ADT/SmallVector.h.fix-rhel98 firefox-140.7.0/wasi-sdk-20/src/llvm-project/llvm/include/llvm/ADT/SmallVector.h
|
||||
--- firefox-140.7.0/wasi-sdk-20/src/llvm-project/llvm/include/llvm/ADT/SmallVector.h.fix-rhel98 2026-01-12 21:44:20.369015903 +0100
|
||||
+++ firefox-140.7.0/wasi-sdk-20/src/llvm-project/llvm/include/llvm/ADT/SmallVector.h 2026-01-12 21:44:25.598005369 +0100
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
+#include <cstdint>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user