From 853eb37ae0d8eca3aa2d384378fd853f786ab213 Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Fri, 31 Oct 2025 11:03:24 +0100 Subject: [PATCH 1/7] Update macOS build config --- taintfox_mozconfig_mac | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/taintfox_mozconfig_mac b/taintfox_mozconfig_mac index d7df41274db96..1a6f906d7b9ba 100644 --- a/taintfox_mozconfig_mac +++ b/taintfox_mozconfig_mac @@ -1,15 +1,20 @@ mk_add_options MOZ_MAKE_FLAGS="-s -j5" # Use ccache, make sure the path is correct -ac_add_options --with-ccache=/usr/bin/ccache +ac_add_options --with-ccache=sccache # On OS X we only support newer releases so that clang uses libc++ (llvm) instead of stdlibc++ # We could work around this (typedef basic_string u16string), but this should be fine. -ac_add_options --enable-macos-target=10.10 +ac_add_options --enable-macos-target=14.0 + +# disable updater +ac_add_options --disable-updater # Add-on signing is not required for DevEdition MOZ_REQUIRE_SIGNING= +ac_add_options --with-branding=browser/branding/foxhound + # # DEBUG BUILD # @@ -18,12 +23,22 @@ MOZ_REQUIRE_SIGNING= #ac_add_options --disable-optimize +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + # # RELEASE BUILD # +ac_add_options --with-app-name=foxhound +mk_add_options MOZ_APP_NAME=foxhound mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tf-release ac_add_options --disable-tests - +ac_add_options --disable-sandbox +ac_add_options --without-wasm-sandboxed-libraries +ac_add_options --disable-crashreporter +ac_add_options --disable-backgroundtasks +ac_add_options --enable-release +ac_add_options --enable-js-shell # # OPTIMIZED BUILD WITH DEBUG SYMBOLS From 8e72110556040cf27ae5cdc12316140cb3b0f659 Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Fri, 31 Oct 2025 11:03:49 +0100 Subject: [PATCH 2/7] Patch node toolchain to latest version --- taskcluster/kinds/toolchain/node.yml | 41 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/taskcluster/kinds/toolchain/node.yml b/taskcluster/kinds/toolchain/node.yml index 22ed79dfe4580..71e27a865a053 100644 --- a/taskcluster/kinds/toolchain/node.yml +++ b/taskcluster/kinds/toolchain/node.yml @@ -6,7 +6,7 @@ task-defaults: description: "Node repack toolchain build" attributes: local-toolchain: true - worker-type: b-linux-gcp + worker-type: b-linux-amd worker: max-run-time: 1800 run: @@ -20,70 +20,71 @@ linux64-node-12: fetch: - nodejs-12-linux64 -linux64-node-18: +linux64-node-22: # The upstream prebuilt binary requires glibc 2.28, which is too recent for Ubuntu 18.04, # so we build our own that won't have that requirement. description: "Node toolchain build" treeherder: - symbol: TL(node-18) + symbol: TL(node-22) + worker-type: b-linux-large-amd run: script: build-nodejs.sh toolchain-alias: - linux64-node fetches: fetch: - - nodejs-18-source + - nodejs-22-source toolchain: - linux64-gcc-11 - - linux64-toolchain-sysroot + - linux64-toolchain-sysroot-gcc10 -linux64-aarch64-node-18: +linux64-aarch64-node-22: treeherder: - symbol: TLA64(node-18) + symbol: TLA64(node-22) run: toolchain-alias: - linux64-aarch64-node fetches: fetch: - - nodejs-18-linux64-arm64 + - nodejs-22-linux64-arm64 -macosx64-node-18: +macosx64-node-22: treeherder: - symbol: TM(node-18) + symbol: TM(node-22) run: toolchain-alias: - macosx64-node fetches: fetch: - - nodejs-18-macosx64 + - nodejs-22-macosx64 -macosx64-aarch64-node-18: +macosx64-aarch64-node-22: treeherder: - symbol: TMA64(node-18) + symbol: TMA64(node-22) run: toolchain-alias: - macosx64-aarch64-node fetches: fetch: - - nodejs-18-macosx64-arm64 + - nodejs-22-macosx64-arm64 -win64-node-18: +win64-node-22: treeherder: - symbol: TW64(node-18) + symbol: TW64(node-22) run: toolchain-alias: - win64-node fetches: fetch: - - nodejs-18-win64 + - nodejs-22-win64 -win32-node-18: +win32-node-22: treeherder: - symbol: TW32(node-18) + symbol: TW32(node-22) run: toolchain-alias: - win32-node fetches: fetch: - - nodejs-18-win32 + - nodejs-22-win32 \ No newline at end of file From 37809731a90f28ca1f4b107cf4bb5b38f06b18ab Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Fri, 31 Oct 2025 11:10:14 +0100 Subject: [PATCH 3/7] Make build.sh executable --- build.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 From dc5e2293c2e514fed0318b2d0d22e06241e488d5 Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Fri, 31 Oct 2025 15:44:46 +0100 Subject: [PATCH 4/7] Add missing job dependencies for updated node toolchain --- taskcluster/config.yml | 1 + taskcluster/kinds/docker-image/kind.yml | 14 +++ taskcluster/kinds/fetch/toolchains.yml | 74 ++++++++------- taskcluster/kinds/packages/debian.yml | 115 +++++++++++++++++++++++- taskcluster/kinds/toolchain/sysroot.yml | 27 ++++++ 5 files changed, 198 insertions(+), 33 deletions(-) diff --git a/taskcluster/config.yml b/taskcluster/config.yml index c78949fc4ac4b..2e5fdf8b07f94 100644 --- a/taskcluster/config.yml +++ b/taskcluster/config.yml @@ -113,6 +113,7 @@ treeherder: 'Deb8-32': 'Packages for Debian 8 32-bits' 'Deb9': 'Packages for Debian 9' 'Deb10': 'Packages for Debian 10' + 'Deb10a64': 'AArch64 packages for Debian 10' 'Deb11': 'Packages for Debian 11' 'Deb12': 'Packages for Debian 12' 'Ub18': 'Packages for Ubuntu 18.04' diff --git a/taskcluster/kinds/docker-image/kind.yml b/taskcluster/kinds/docker-image/kind.yml index 569dbbebb1358..52a3bd9206623 100644 --- a/taskcluster/kinds/docker-image/kind.yml +++ b/taskcluster/kinds/docker-image/kind.yml @@ -178,6 +178,20 @@ tasks: symbol: I(deb8-32-pkg) definition: debian-packages parent: debian8-i386-raw + # Neither the debian10-*raw nor the debian10-*packages images can have + # packages dependencies. + debian10-arm64-raw: + symbol: I(deb10-arm64-raw) + definition: debian-raw + args: + BASE_IMAGE: debian:buster-20230612 + DIST: buster + arch: arm64 + debian10-arm64-packages: + symbol: I(deb10-arm64-pkg) + definition: debian-packages + parent: debian10-arm64-raw + arch: arm64 custom-v8: symbol: I(custom-v8) parent: debian12-base diff --git a/taskcluster/kinds/fetch/toolchains.yml b/taskcluster/kinds/fetch/toolchains.yml index 91a3c55ccc307..a6ec416516836 100644 --- a/taskcluster/kinds/fetch/toolchains.yml +++ b/taskcluster/kinds/fetch/toolchains.yml @@ -58,6 +58,20 @@ gcc-9.5.0: strip-components: 1 add-prefix: gcc-source/ +gcc-10.5.0: + description: GCC 10.5.0 source code + fetch: + type: static-url + url: https://ftpmirror.gnu.org/gnu/gcc/gcc-10.5.0/gcc-10.5.0.tar.xz + sha256: 25109543fdf46f397c347b5d8b7a2c7e5694a5a51cce4b9c6e1ea8a71ca307c1 + size: 77846412 + gpg-signature: + sig-url: "{url}.sig" + key-path: build/unix/build-gcc/7F74F97C103468EE5D750B583AB00996FC26A641.key + artifact-name: gcc-source.tar.zst + strip-components: 1 + add-prefix: gcc-source/ + gcc-11.4.0: description: GCC 11.4.0 source code fetch: @@ -544,68 +558,68 @@ nodejs-12-linux64: strip-components: 1 add-prefix: node/ -nodejs-18-linux64-arm64: - description: nodejs 18 for arm64 linux +nodejs-22-linux64-arm64: + description: nodejs 22 for arm64 linux fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-arm64.tar.xz - sha256: cf94ab72e45b855257545fec1c017bdf30a9e23611561382eaf64576b999e72d - size: 23403368 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0-linux-arm64.tar.xz + sha256: eab80cb88f8fda1e65f5e8d0420c9809bdb320b03fd34976ab7161b6e703b910 + size: 29126496 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ -nodejs-18-macosx64: - description: nodejs 18 for x64 macOS +nodejs-22-macosx64: + description: nodejs 22 for x64 macOS fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0-darwin-x64.tar.xz - sha256: 4f60b40071c6a67482b99d22a5265839177b8706a2b13b493396f368f0b42b00 - size: 22496376 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0-darwin-x64.tar.xz + sha256: 5c34638f2c0e3f3aaa7b3a94b58304765a169730da1896ebba8515ea4d987a9c + size: 26966604 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ -nodejs-18-macosx64-arm64: - description: nodejs 18 for arm64 macOS +nodejs-22-macosx64-arm64: + description: nodejs 22 for arm64 macOS fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0-darwin-arm64.tar.xz - sha256: 857885257c586fb13c93d33d326ca82056ba8b7445ce27cf34dd406add04158e - size: 20768464 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0-darwin-arm64.tar.xz + sha256: aaf7fc3c936f1b359bc312b63638e41f258689ac2303966ad932cda18c54ea00 + size: 24867980 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ -nodejs-18-win32: - description: nodejs 18 for x86 Windows +nodejs-22-win32: + description: nodejs 22 for x86 Windows fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0-win-x86.zip - sha256: 3171148f735954bdca8adccb2200379e61142e0f5a2bdb4ca6432afb0d9951df - size: 27504941 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0-win-x86.zip + sha256: c23e16ffddd95ef45272549675a8f87480b3a0a900bebb94c277ff11ba99ec06 + size: 32797334 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ -nodejs-18-win64: - description: nodejs 18 for x64 Windows +nodejs-22-win64: + description: nodejs 22 for x64 Windows fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0-win-x64.zip - sha256: 5311913d45e1fcc3643c58d1e3926eb85437b180f025fe5857413c9f02403645 - size: 29332158 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0-win-x64.zip + sha256: 21c2d9735c80b8f86dab19305aa6a9f6f59bbc808f68de3eef09d5832e3bfbbd + size: 35466975 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ -nodejs-18-source: - description: nodejs 18 source +nodejs-22-source: + description: nodejs 22 source fetch: type: static-url - url: https://nodejs.org/dist/v18.19.0/node-v18.19.0.tar.xz - sha256: f52b41af20596a9abd8ed75241837ec43945468221448bbf841361e2091819b6 - size: 41248748 + url: https://nodejs.org/dist/v22.16.0/node-v22.16.0.tar.gz + sha256: 108f250ff79cc103b464b3ef41fa60f4866e4e6c962117171adaac7325ebdab2 + size: 100514588 artifact-name: nodejs.tar.zst strip-components: 1 add-prefix: node/ diff --git a/taskcluster/kinds/packages/debian.yml b/taskcluster/kinds/packages/debian.yml index 85e92e3d5b4fc..596b5265718d1 100644 --- a/taskcluster/kinds/packages/debian.yml +++ b/taskcluster/kinds/packages/debian.yml @@ -42,9 +42,9 @@ deb12-python-zstandard: using: debian-package dist: bookworm tarball: - url: https://files.pythonhosted.org/packages/ed/f6/2ac0287b442160a89d726b17a9184a4c615bb5237db763791a7fd16d9df1/zstandard-0.23.0.tar.gz - sha256: b2d8c62d08e7255f68f7a740bae85b3c9b8e5466baa9cbf7f57f1cde0ac6bc09 - pre-build-command: debchange -v 0.23.0-1.deb12moz --distribution testing "Mozilla backport for bookworm" + url: https://files.pythonhosted.org/packages/09/1b/c20b2ef1d987627765dcd5bf1dadb8ef6564f00a87972635099bb76b7a05/zstandard-0.24.0.tar.gz + sha256: fe3198b81c00032326342d973e526803f183f97aa9e9a98e3f897ebafe21178f + pre-build-command: debchange -v 0.24.0-1.deb12moz --distribution testing "Mozilla backport for bookworm" name: python-zstandard deb8-gcc-8: @@ -81,6 +81,56 @@ deb8-gcc-8: echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && debian/rules control NT= +deb8-gcc-10: + description: "gcc 10 for Debian jessie" + treeherder: + symbol: Deb8(gcc-10) + worker: + max-run-time: 3600 + env: + DEB_BUILD_OPTIONS: nocheck + WITH_BOOTSTRAP: 'off' + WITHOUT_LANG: ada brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx + run: + using: debian-package + dist: jessie + dsc: + url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc + sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f + # autoconf and quilt necessary to run the `debian/rules control` command to + # generate an updated debian/control. + # removing the libzstd-dev build dependency that doesn't exist in jessie. + # uncommenting `with_common_libs` makes the packaging create the libstdc++6 package. + # `libstdcxx_abi = new` overrides the default that disables the new ABI on jessie + # `BINUTILSBDV=2.25-3~` and `ISL_BUILD_DEP=libisl-dev,` override wrong versions + # in build dependencies for jessie. + # `OFFLOAD_BUILD_DEP=` overrides the dependency on nvptx, which is not available + # in jessie. + # autoconf2.69 is available in jessie, but as autoconf, not autoconf2.69. + # we relax the libc6 requirements to be compatible with jessie. + # the removal of debhelper/generated lines from debian/rules2 works around + # an issue that arises from triggers not being generated for the libgcc-s1 package + # for some reason, and it's simpler to just not care about the triggers than + # figuring out why, as we only really care about the package contents, and the + # triggers are irrelevant. + # `NT=` overrides the use of `:native` which is not supported by dpkg on jessie. + # biarchx32archs= removes x32 build dependencies that don't exist in jessie. + # the lib32gcc-s1 build dependency is removed as it's missing in jessie. + pre-build-command: >- + apt install autoconf quilt && + sed -i 's/libzstd-dev,//' debian/control.m4 && + sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && + echo libstdcxx_abi = new >> debian/rules.defs && + echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && + echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && + echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && + sed -i 's/autoconf_version = 2.69/autoconf_version =/' debian/rules.conf debian/rules.patch && + sed -i 's/libc_ver := 2.23/libc_ver := 2.19/' debian/rules.conf && + sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.19/' debian/rules.conf && + sed -i '/debhelper\/generated/d' debian/rules2 && + debian/rules control NT= biarchx32archs= && + sed -i 's/lib32gcc-s1 \[[^,]*, //' debian/control + deb8-32-gcc-8: description: "gcc 8 for Debian jessie" treeherder: @@ -108,6 +158,65 @@ deb8-32-gcc-8: debian/rules control NT= arch: i386 +deb8-32-gcc-10: + description: "gcc 10 for Debian jessie" + treeherder: + symbol: Deb8-32(gcc-10) + worker: + max-run-time: 3600 + env: + DEB_BUILD_OPTIONS: nocheck + WITH_BOOTSTRAP: 'off' + WITHOUT_LANG: ada biarch brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx + run: + using: debian-package + dist: jessie + dsc: + url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc + sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f + pre-build-command: >- + apt install autoconf quilt && + sed -i 's/libzstd-dev,//' debian/control.m4 && + sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && + echo libstdcxx_abi = new >> debian/rules.defs && + echo GCC_MULTILIB_BUILD_DEP='$(DPKG_BUILD_DEP)' >> debian/rules.conf && + echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && + echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && + echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && + sed -i 's/autoconf_version = 2.69/autoconf_version =/' debian/rules.conf debian/rules.patch && + sed -i 's/libc_ver := 2.23/libc_ver := 2.19/' debian/rules.conf && + sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.19/' debian/rules.conf && + sed -i '/debhelper\/generated/d' debian/rules2 && + debian/rules control NT= biarchx32archs= && + sed -i 's/lib64gcc-s1 \[[^,]*, //' debian/control + arch: i386 + +deb10-arm64-gcc-10: + description: "gcc 10 for Debian buster" + worker-type: b-linux-gcp-aarch64 + treeherder: + symbol: Deb10a64(gcc-10) + worker: + max-run-time: 3600 + env: + DEB_BUILD_OPTIONS: nocheck + WITH_BOOTSTRAP: 'off' + WITHOUT_LANG: ada biarch brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx + run: + using: debian-package + dist: buster + dsc: + url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc + sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f + pre-build-command: >- + apt install autoconf quilt && + sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && + echo BINUTILSBDV=2.31 >> debian/rules.conf && + sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.28/' debian/rules.conf && + sed -i '/debhelper\/generated/d' debian/rules2 && + debian/rules control NT= + arch: arm64 + deb8-gtk3: description: "X11-only gtk+3 for Debian jessie" treeherder: diff --git a/taskcluster/kinds/toolchain/sysroot.yml b/taskcluster/kinds/toolchain/sysroot.yml index acabb47dd19aa..0882aadb8a692 100644 --- a/taskcluster/kinds/toolchain/sysroot.yml +++ b/taskcluster/kinds/toolchain/sysroot.yml @@ -212,6 +212,33 @@ linux64-toolchain-sysroot: # For libdmg-hfsplus - liblzma-dev +linux64-toolchain-sysroot-gcc10: + description: "Sysroot for linux64 toolchain builds" + worker: + env: + PACKAGES_TASKS: {task-reference: ''} + GCC_VERSION: '10' + treeherder: + symbol: TL(sysroot-toolchain-gcc10) + dependencies: + gcc-10: packages-deb8-gcc-10 + run: + arguments: + - amd64 + # For clang + - binutils-dev + - gcc-multilib + - lib32stdc++-10-dev + - libxml2-dev + # For minidump-stackwalk + - libcurl4-openssl-dev + - libssl-dev + - libbz2-dev + # For msix-package + - libicu-dev + # For libdmg-hfsplus + - liblzma-dev + linux64-aarch64-toolchain-sysroot: description: "Sysroot for aarch64 linux64 toolchain builds" treeherder: From 52ffc36a3269821dc981db29606dfdcfa257f26f Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Fri, 31 Oct 2025 16:08:37 +0100 Subject: [PATCH 5/7] Remove hardcoded linux suffix from .zip artifact --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index e0651c193d94c..1586044733eaa 100755 --- a/build.sh +++ b/build.sh @@ -238,11 +238,11 @@ _package_foxhound() { _status "Creating Foxhound zip" if [ -z "$DRY_RUN" ]; then pushd "${FOXHOUND_OBJ_DIR}/dist" || exit 1 - zip -r foxhound_linux.zip $FOXHOUND_NAME + zip -r foxhound.zip $FOXHOUND_NAME if [ -n "$WITH_PLAYWRIGHT_INTEGRATION" ]; then - cp foxhound_linux.zip "foxhound_linux_${PLAYWRIGHT_VERSION}.zip" + cp foxhound.zip "foxhound_${PLAYWRIGHT_VERSION}.zip" fi - _status "Zip located at '$(pwd || true)/foxhound_linux.zip', done!" + _status "Zip located at '$(pwd || true)/foxhound.zip', done!" popd > /dev/null || exit 1 fi popd > /dev/null || exit 1 From 887f317c4a5e458d84c7cb7f696c7e3bcc846231 Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Mon, 3 Nov 2025 16:03:43 +0100 Subject: [PATCH 6/7] Update nodejs build script and dead artifact links --- taskcluster/kinds/fetch/toolchains.yml | 73 ++++++++++++------------ taskcluster/scripts/misc/build-nodejs.sh | 10 +++- 2 files changed, 43 insertions(+), 40 deletions(-) diff --git a/taskcluster/kinds/fetch/toolchains.yml b/taskcluster/kinds/fetch/toolchains.yml index a6ec416516836..fb5bdd2c9d92e 100644 --- a/taskcluster/kinds/fetch/toolchains.yml +++ b/taskcluster/kinds/fetch/toolchains.yml @@ -6,7 +6,7 @@ binutils-2.31.1: description: binutils 2.31.1 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.xz + url: https://ftpmirror.gnu.org/gnu/binutils/binutils-2.31.1.tar.xz sha256: 5d20086ecf5752cc7d9134246e9588fa201740d540f7eb84d795b1f7a93bca86 size: 20467996 gpg-signature: @@ -20,7 +20,7 @@ binutils-2.41: description: binutils 2.41 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/binutils/binutils-2.41.tar.xz + url: https://ftpmirror.gnu.org/gnu/binutils/binutils-2.41.tar.xz sha256: ae9a5789e23459e59606e6714723f2d3ffc31c03174191ef0d015bdf06007450 size: 26765692 gpg-signature: @@ -34,7 +34,7 @@ gcc-8.5.0: description: GCC 8.5.0 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/gcc/gcc-8.5.0/gcc-8.5.0.tar.xz + url: https://ftpmirror.gnu.org/gnu/gcc/gcc-8.5.0/gcc-8.5.0.tar.xz sha256: d308841a511bb830a6100397b0042db24ce11f642dab6ea6ee44842e5325ed50 size: 63841008 gpg-signature: @@ -48,7 +48,7 @@ gcc-9.5.0: description: GCC 9.5.0 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/gcc/gcc-9.5.0/gcc-9.5.0.tar.xz + url: https://ftpmirror.gnu.org/gnu/gcc/gcc-9.5.0/gcc-9.5.0.tar.xz sha256: 27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f size: 72462752 gpg-signature: @@ -76,7 +76,7 @@ gcc-11.4.0: description: GCC 11.4.0 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/gcc/gcc-11.4.0/gcc-11.4.0.tar.xz + url: https://ftpmirror.gnu.org/gnu/gcc/gcc-11.4.0/gcc-11.4.0.tar.xz sha256: 3f2db222b007e8a4a23cd5ba56726ef08e8b1f1eb2055ee72c1402cea73a8dd9 size: 79837032 gpg-signature: @@ -90,7 +90,7 @@ gmp-6.1.0: description: GMP 6.1.0 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2 + url: https://ftpmirror.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2 sha256: 498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8 size: 2383840 gpg-signature: @@ -123,7 +123,7 @@ mpc-1.0.3: description: mpc 1.0.3 source code fetch: type: static-url - url: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz + url: https://ftpmirror.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz sha256: 617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 size: 669925 gpg-signature: @@ -238,14 +238,14 @@ cctools-port: fetch: type: git repo: https://github.com/tpoechtrager/cctools-port - revision: 30518813875aed656aa7f18b6d485feee25f8f87 + revision: 55943b0c68c0eaf8b8ad2f51f63738bbc7b0c86b libtapi: description: libtapi source code fetch: type: git repo: https://github.com/tpoechtrager/apple-libtapi - revision: b4f141a16c7c82f75973429c92242a8c7de3ddb1 + revision: aed9334283e3e290bba622ee980bde2322e4d516 ldid: description: ldid source code @@ -296,7 +296,7 @@ gn: fetch: type: git repo: https://gn.googlesource.com/gn - revision: 7e05276308f3d49f8514ef02afe4f94487b1efb2 + revision: f98b6d7275c2e823e0983fa7f874facfe6980778 grcov: description: grcov source code @@ -310,8 +310,8 @@ sccache: fetch: type: git repo: https://github.com/mozilla/sccache - # 0.9.1 release - revision: 77f67d73445a383ffd8af095fb7a8e41f258e80f + # 0.11.0 release + revision: 5709f069514a775ddb6604a6e9f5f5c91c0e9821 fxc2: description: fxc2 source code @@ -325,7 +325,7 @@ mingw-w64: fetch: type: git repo: https://git.code.sf.net/p/mingw-w64/mingw-w64 - revision: 3346c0eb95c34e2ac0c5f157da8965ee292c64e8 + revision: 849a151baf187f32eb57b34c00365cbc7d2353a7 mingw-w64-trunk: description: mingw-w64 master branch source code @@ -376,11 +376,11 @@ clang-19: revision: cd708029e0b2869e80abe31ddb175f7c35361f90 clang-20: - description: clang 20.1.0-rc2 source code + description: clang 20.1.8 source code fetch: type: git repo: https://github.com/llvm/llvm-project - revision: 20621e2609ac49dcf01c4353dbfd69626cea3015 + revision: 87f0227cb60147a26a1eeb4fb06e3b505e9c7261 clang-trunk: description: clang main branch source code @@ -474,14 +474,14 @@ dump-syms: fetch: type: git repo: https://github.com/mozilla/dump_syms/ - revision: ca31661882b190c97a6869c0add73b27000c92c5 + revision: f5e0c9d493a725c11cdcab38fd02bce4d6888361 rust-minidump: - description: rust-minidump 0.23.0 source code (for minidump-stackwalk) + description: rust-minidump 0.25.0 source code (for minidump-stackwalk) fetch: type: git repo: https://github.com/rust-minidump/rust-minidump/ - revision: fdb2c98a659a54b0077e5bad7f7dfa28a55c5f1d + revision: 4bc0e1bb3a19f22d5b7c4057112197ac5f6ea2d9 fix-stacks: description: fix-stacks source code @@ -522,9 +522,10 @@ sonatype-nexus: description: Sonatype Nexus Maven repository service fetch: type: static-url - url: https://download.sonatype.com/nexus/oss/nexus-2.14.18-01-bundle.tar.gz - sha256: 350af8b270bec7fda5861a15b8a5b7870fd8903d0b9a210754113d5a966ce6a6 - size: 83493896 + # https://download.sonatype.com/nexus/oss/nexus-2.15.2-03-bundle.tar.gz + url: https://tooltool.mozilla-releng.net/sha512/8d0cd58839f95b8fa02eba82fd532b15795b59e93968bcfcf179383849cf3a09f3c2a76480c5583ebf4ee1b1528bfccbda5ad6d92f175817ebc6179d85a93b5b + sha256: cec1d80dad0be8a34a902aa00e666da547f51e83dc3a4a28b50b3ec36fe433a8 + size: 89526162 artifact-name: sonatype-nexus.tar.zst strip-components: 1 add-prefix: sonatype-nexus/ @@ -533,9 +534,9 @@ jdk-8-linux64: description: Java 8 JDK fetch: type: static-url - url: https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u442-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u442b06.tar.gz - sha256: 5b0a0145e7790552a9c8767b4680074c4628ec276e5bb278b61d85cf90facafa - size: 103096556 + url: https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u472-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u472b08.tar.gz + sha256: 5becaa4ac660e844c5a39e2ebc39ff5ac824c37ff1b625af8c8b111dc13c3592 + size: 103123206 artifact-name: jdk-8.tar.zst strip-components: 1 add-prefix: jdk-8/ @@ -628,7 +629,7 @@ gnumake: description: GNU make source fetch: type: static-url - url: https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz + url: https://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz sha256: dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3 size: 2348200 artifact-name: make.tar.zst @@ -672,7 +673,7 @@ symbol-scrapers: fetch: type: git repo: https://github.com/mozilla/symbol-scrapers - revision: 04f906fe8585b31d03d8baf6044a01654808c96a + revision: 4a589bc872995b76fa18b5f8746715e5c86fa4bb xz-5.4.4: description: xz 5.4.4 source code @@ -727,6 +728,8 @@ cpython-3.11.7.exe: windows-rs: description: Source of the windows rust crate + attributes: + local-fetch: true fetch: type: static-url url: https://crates.io/api/v1/crates/windows/0.58.0/download @@ -737,15 +740,11 @@ windows-rs: add-prefix: windows-rs/ libxml2: - description: Source of the libxml2 library + description: libxml2 2.9.12 source code fetch: - type: static-url - url: https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.12/libxml2-v2.9.12.tar.gz - sha256: 98bfa7a9a5e2a75638422050740448ee9f02bf4dc2075c9822d7747d5ff9e617 - size: 5233674 - artifact-name: libxml2.tar.zst - strip-components: 1 - add-prefix: libxml2/ + type: git + repo: https://gitlab.gnome.org/GNOME/libxml2 + revision: b48e77cf4f6fa0792c5f4b639707a2b0675e461b mozilla-pdf.js: description: Mozilla pdf.js Github repo @@ -773,15 +772,15 @@ chromium-depot-tools: include-dot-git: true uv: - description: uv 0.5.9 source code + description: uv 0.7.2 source code fetch: type: git repo: https://github.com/astral-sh/uv - revision: 0652800cb018eb086fbbf220a1f73af7e320be54 + revision: 481d05d8dfb8627612dec72840a02c17b926b263 dxc-src: description: Source code for mozilla's DXC fork fetch: type: git repo: https://github.com/FirefoxGraphics/DirectXShaderCompiler - revision: c75bb05c0e040bc09ec012ccf9767b1ec622477f + revision: 81378be83a1690cac0e727941e1a963518d67c26 diff --git a/taskcluster/scripts/misc/build-nodejs.sh b/taskcluster/scripts/misc/build-nodejs.sh index 16e281d980392..ec2bd86b91368 100755 --- a/taskcluster/scripts/misc/build-nodejs.sh +++ b/taskcluster/scripts/misc/build-nodejs.sh @@ -7,16 +7,20 @@ workspace=$HOME/workspace cd $MOZ_FETCHES_DIR/$project -gcc_major=8 +gcc_major=10 export CFLAGS=--sysroot=$MOZ_FETCHES_DIR/sysroot export CXXFLAGS"=--sysroot=$MOZ_FETCHES_DIR/sysroot -isystem $MOZ_FETCHES_DIR/sysroot/usr/include/c++/$gcc_major -isystem $MOZ_FETCHES_DIR/sysroot/usr/include/x86_64-linux-gnu/c++/$gcc_major" export LDFLAGS="--sysroot=$MOZ_FETCHES_DIR/sysroot -L$MOZ_FETCHES_DIR/sysroot/lib/x86_64-linux-gnu -L$MOZ_FETCHES_DIR/sysroot/usr/lib/x86_64-linux-gnu -L$MOZ_FETCHES_DIR/sysroot/usr/lib/gcc/x86_64-linux-gnu/$gcc_major" export CC=$MOZ_FETCHES_DIR/gcc/bin/gcc export CXX=$MOZ_FETCHES_DIR/gcc/bin/g++ -./configure --verbose --prefix=/ +# The glibc in our sysroot doesn't have `sys/random.h`/`getrandom`. +sed -i '/HAVE_SYS_RANDOM_H/d;/HAVE_GETRANDOM/d' deps/cares/config/linux/ares_config.h + +# --partly-static allows the resulting binary to run on Ubuntu 18.04 (which has libstdc++ 8) +./configure --verbose --prefix=/ --partly-static make -j$(nproc) install DESTDIR=$workspace/$project tar -C $workspace -acvf $artifact $project mkdir -p $UPLOAD_DIR -mv $artifact $UPLOAD_DIR +mv $artifact $UPLOAD_DIR \ No newline at end of file From 86db0aba42e6ab3d9d1fc9efd9d5d6c420121634 Mon Sep 17 00:00:00 2001 From: Philipp Normann Date: Tue, 4 Nov 2025 11:50:25 +0100 Subject: [PATCH 7/7] Revert all fetched versions and only keep mirror change --- taskcluster/kinds/fetch/toolchains.yml | 57 +++++++++++++------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/taskcluster/kinds/fetch/toolchains.yml b/taskcluster/kinds/fetch/toolchains.yml index fb5bdd2c9d92e..929ed69e7e006 100644 --- a/taskcluster/kinds/fetch/toolchains.yml +++ b/taskcluster/kinds/fetch/toolchains.yml @@ -238,14 +238,14 @@ cctools-port: fetch: type: git repo: https://github.com/tpoechtrager/cctools-port - revision: 55943b0c68c0eaf8b8ad2f51f63738bbc7b0c86b + revision: 30518813875aed656aa7f18b6d485feee25f8f87 libtapi: description: libtapi source code fetch: type: git repo: https://github.com/tpoechtrager/apple-libtapi - revision: aed9334283e3e290bba622ee980bde2322e4d516 + revision: b4f141a16c7c82f75973429c92242a8c7de3ddb1 ldid: description: ldid source code @@ -296,7 +296,7 @@ gn: fetch: type: git repo: https://gn.googlesource.com/gn - revision: f98b6d7275c2e823e0983fa7f874facfe6980778 + revision: 7e05276308f3d49f8514ef02afe4f94487b1efb2 grcov: description: grcov source code @@ -310,8 +310,8 @@ sccache: fetch: type: git repo: https://github.com/mozilla/sccache - # 0.11.0 release - revision: 5709f069514a775ddb6604a6e9f5f5c91c0e9821 + # 0.9.1 release + revision: 77f67d73445a383ffd8af095fb7a8e41f258e80f fxc2: description: fxc2 source code @@ -325,7 +325,7 @@ mingw-w64: fetch: type: git repo: https://git.code.sf.net/p/mingw-w64/mingw-w64 - revision: 849a151baf187f32eb57b34c00365cbc7d2353a7 + revision: 3346c0eb95c34e2ac0c5f157da8965ee292c64e8 mingw-w64-trunk: description: mingw-w64 master branch source code @@ -376,11 +376,11 @@ clang-19: revision: cd708029e0b2869e80abe31ddb175f7c35361f90 clang-20: - description: clang 20.1.8 source code + description: clang 20.1.0-rc2 source code fetch: type: git repo: https://github.com/llvm/llvm-project - revision: 87f0227cb60147a26a1eeb4fb06e3b505e9c7261 + revision: 20621e2609ac49dcf01c4353dbfd69626cea3015 clang-trunk: description: clang main branch source code @@ -474,14 +474,14 @@ dump-syms: fetch: type: git repo: https://github.com/mozilla/dump_syms/ - revision: f5e0c9d493a725c11cdcab38fd02bce4d6888361 + revision: ca31661882b190c97a6869c0add73b27000c92c5 rust-minidump: - description: rust-minidump 0.25.0 source code (for minidump-stackwalk) + description: rust-minidump 0.23.0 source code (for minidump-stackwalk) fetch: type: git repo: https://github.com/rust-minidump/rust-minidump/ - revision: 4bc0e1bb3a19f22d5b7c4057112197ac5f6ea2d9 + revision: fdb2c98a659a54b0077e5bad7f7dfa28a55c5f1d fix-stacks: description: fix-stacks source code @@ -522,10 +522,9 @@ sonatype-nexus: description: Sonatype Nexus Maven repository service fetch: type: static-url - # https://download.sonatype.com/nexus/oss/nexus-2.15.2-03-bundle.tar.gz - url: https://tooltool.mozilla-releng.net/sha512/8d0cd58839f95b8fa02eba82fd532b15795b59e93968bcfcf179383849cf3a09f3c2a76480c5583ebf4ee1b1528bfccbda5ad6d92f175817ebc6179d85a93b5b - sha256: cec1d80dad0be8a34a902aa00e666da547f51e83dc3a4a28b50b3ec36fe433a8 - size: 89526162 + url: https://download.sonatype.com/nexus/oss/nexus-2.14.18-01-bundle.tar.gz + sha256: 350af8b270bec7fda5861a15b8a5b7870fd8903d0b9a210754113d5a966ce6a6 + size: 83493896 artifact-name: sonatype-nexus.tar.zst strip-components: 1 add-prefix: sonatype-nexus/ @@ -534,9 +533,9 @@ jdk-8-linux64: description: Java 8 JDK fetch: type: static-url - url: https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u472-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u472b08.tar.gz - sha256: 5becaa4ac660e844c5a39e2ebc39ff5ac824c37ff1b625af8c8b111dc13c3592 - size: 103123206 + url: https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u442-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u442b06.tar.gz + sha256: 5b0a0145e7790552a9c8767b4680074c4628ec276e5bb278b61d85cf90facafa + size: 103096556 artifact-name: jdk-8.tar.zst strip-components: 1 add-prefix: jdk-8/ @@ -673,7 +672,7 @@ symbol-scrapers: fetch: type: git repo: https://github.com/mozilla/symbol-scrapers - revision: 4a589bc872995b76fa18b5f8746715e5c86fa4bb + revision: 04f906fe8585b31d03d8baf6044a01654808c96a xz-5.4.4: description: xz 5.4.4 source code @@ -728,8 +727,6 @@ cpython-3.11.7.exe: windows-rs: description: Source of the windows rust crate - attributes: - local-fetch: true fetch: type: static-url url: https://crates.io/api/v1/crates/windows/0.58.0/download @@ -740,11 +737,15 @@ windows-rs: add-prefix: windows-rs/ libxml2: - description: libxml2 2.9.12 source code + description: Source of the libxml2 library fetch: - type: git - repo: https://gitlab.gnome.org/GNOME/libxml2 - revision: b48e77cf4f6fa0792c5f4b639707a2b0675e461b + type: static-url + url: https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.12/libxml2-v2.9.12.tar.gz + sha256: 98bfa7a9a5e2a75638422050740448ee9f02bf4dc2075c9822d7747d5ff9e617 + size: 5233674 + artifact-name: libxml2.tar.zst + strip-components: 1 + add-prefix: libxml2/ mozilla-pdf.js: description: Mozilla pdf.js Github repo @@ -772,15 +773,15 @@ chromium-depot-tools: include-dot-git: true uv: - description: uv 0.7.2 source code + description: uv 0.5.9 source code fetch: type: git repo: https://github.com/astral-sh/uv - revision: 481d05d8dfb8627612dec72840a02c17b926b263 + revision: 0652800cb018eb086fbbf220a1f73af7e320be54 dxc-src: description: Source code for mozilla's DXC fork fetch: type: git repo: https://github.com/FirefoxGraphics/DirectXShaderCompiler - revision: 81378be83a1690cac0e727941e1a963518d67c26 + revision: c75bb05c0e040bc09ec012ccf9767b1ec622477f