Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rusty_v8 for openSUSE:Factory checked in at 2026-02-16 13:09:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rusty_v8 (Old) and /work/SRC/openSUSE:Factory/.rusty_v8.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rusty_v8" Mon Feb 16 13:09:35 2026 rev:8 rq:1333139 version:145.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rusty_v8/rusty_v8.changes 2025-07-21 20:01:51.402971921 +0200 +++ /work/SRC/openSUSE:Factory/.rusty_v8.new.1977/rusty_v8.changes 2026-02-16 13:15:33.697594634 +0100 @@ -1,0 +2,8 @@ +Sun Feb 15 00:38:48 UTC 2026 - Soc Virnyl Estela <[email protected]> + +- Update to version 145.0.0 +- Add disable-rust-toolchain-download.patch +- Add chromium-rust-toolchain.tar.xz. This was based from the python script + located at `tools/rust-toolchain.py` + +------------------------------------------------------------------- Old: ---- rusty_v8-137.2.1.tar.zst New: ---- chromium-rust-toolchain.tar.xz disable-rust-toolchain-download.patch rusty_v8-145.0.0.tar.zst ----------(New B)---------- New:- Update to version 145.0.0 - Add disable-rust-toolchain-download.patch - Add chromium-rust-toolchain.tar.xz. This was based from the python script ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rusty_v8.spec ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.037774795 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.041774961 +0100 @@ -19,7 +19,7 @@ %global __requires_exclude_from ^%{_libdir}/crates/rusty_v8/.*$ Name: rusty_v8 -Version: 137.2.1 +Version: 145.0.0 Release: 0 Summary: Build tooling for Deno (do not install or use!) License: MIT @@ -27,21 +27,27 @@ URL: https://github.com/denoland/rusty_v8 Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst +Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz Source100: rusty_v8-rpmlintrc Patch0: deno-v8-arm.patch # Based on https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/raw/main/compiler-rt-adjust-paths.patch Patch1: compiler-rt-adjust-paths.patch +Patch2: disable-rust-toolchain-download.patch BuildRequires: cargo BuildRequires: cargo-packaging -BuildRequires: clang19 +BuildRequires: clang21 +BuildRequires: clang21-devel BuildRequires: fdupes BuildRequires: gn -BuildRequires: lld19 -BuildRequires: llvm19 +BuildRequires: lld21 +BuildRequires: rust-bindgen +BuildRequires: llvm21 +BuildRequires: llvm21-devel BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: zstd +BuildRequires: rust-src BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) @@ -67,16 +73,25 @@ # lib to lib64 sed -i 's|lib/clang|lib64/clang|g' build/config/clang/BUILD.gn %endif +mkdir -p third_party/rust-toolchain +tar xf %{SOURCE2} -C third_party/rust-toolchain %build # Ensure that the clang version matches. This command came from Archlinux. Thanks. export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') +export LIBCLANG_PATH=%{_libdir} export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} export CC=clang export CXX=clang++ # https://www.chromium.org/developers/gn-build-configuration -export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0" +export RUSTC_SYSROOT=$(rustc --print sysroot) +export RUSTC_VERSION=$(rustc -V | cut -d' ' -f2) +export GN="/usr/bin/gn" +export NINJA="/usr/bin/ninja" +export RUSTC="/usr/bin/rustc" +export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true v8_symbol_level=0" +# export EXTRA_GN_ARGS="rust_sysroot_absolute=${RUSTC_SYSROOT} rustc_version=${RUSTC_VERSION}" export CFLAGS="%{optflags} -Wno-unknown-warning-option" export CXXFLAGS="%{optflags} -Wno-unknown-warning-option" export RUST_BACKTRACE=full @@ -100,9 +115,13 @@ rm .rustfmt.toml rm -rf vendor rm -rf target +rm -rf third_party/rust-toolchain %fdupes $PWD popd +# Remove Windows-specific vendored libs that break readelf/rpmlint +find %{buildroot}%{_libdir}/crates/rusty_v8/third_party -name "windows_*" -type d -exec rm -rf {} + + %files %license LICENSE %doc README.md ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.089776954 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.097777285 +0100 @@ -1,6 +1,6 @@ -mtime: 1752804884 -commit: 3a7c9f4f579b1fe7a478950d1b749a17672c06ac89e885371a047f3eba448d60 +mtime: 1771118663 +commit: ff96defee801a6577b32ff5c8971c0dc6398abfd72096be30b39db2fe1da3cb5 url: https://src.opensuse.org/javascript/rusty_v8.git -revision: 3a7c9f4f579b1fe7a478950d1b749a17672c06ac89e885371a047f3eba448d60 +revision: ff96defee801a6577b32ff5c8971c0dc6398abfd72096be30b39db2fe1da3cb5 projectscmsync: https://src.opensuse.org/javascript/_ObsPrj.git ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.129778614 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.133778780 +0100 @@ -1,7 +1,7 @@ <services> <service name="cargo_vendor" mode="manual"> <param name="src">https://github.com/denoland/rusty_v8</param> - <param name="revision">v137.2.1</param> + <param name="revision">v145.0.0</param> <param name="versionrewriteregex">^v?(.*)</param> <param name="versionrewritepattern">$1</param> <param name="compression">zst</param> ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-02-15 02:25:50.000000000 +0100 @@ -0,0 +1 @@ +.osc ++++++ compiler-rt-adjust-paths.patch ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.341787415 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.349787747 +0100 @@ -1,7 +1,7 @@ -diff -ruN /tmp/rusty_v8-v137.1.0/build/config/clang/BUILD.gn rusty_v8-v137.1.0/build/config/clang/BUILD.gn ---- /tmp/rusty_v8-v137.1.0/build/config/clang/BUILD.gn 1970-01-01 08:00:01.000000000 +0800 -+++ rusty_v8-v137.1.0/build/config/clang/BUILD.gn 2025-06-26 14:47:20.638581652 +0800 -@@ -201,12 +201,15 @@ +diff -ruN rusty_v8-145.0.0.orig/build/config/clang/BUILD.gn rusty_v8-145.0.0/build/config/clang/BUILD.gn +--- rusty_v8-145.0.0.orig/build/config/clang/BUILD.gn 2026-02-14 14:15:37.957884922 +0800 ++++ rusty_v8-145.0.0/build/config/clang/BUILD.gn 2026-02-14 14:18:05.583917665 +0800 +@@ -180,12 +180,15 @@ } else if (is_linux || is_chromeos) { if (current_cpu == "x64") { _dir = "x86_64-unknown-linux-gnu" @@ -14,18 +14,19 @@ } else if (current_cpu == "arm64") { _dir = "aarch64-unknown-linux-gnu" + _suffix = "-aarch64" - } else { - assert(false) # Unhandled cpu type - } -@@ -237,6 +240,10 @@ + } else if (current_cpu == "loong64") { + _dir = "loongarch64-unknown-linux-gnu" + } else if (current_cpu == "riscv64") { +@@ -223,7 +226,10 @@ + } else { assert(false) # Unhandled target platform } - +- ++ + if (is_linux || is_chromeos) { + _dir = "linux" + } -+ + _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib" _lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}" libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ] - ++++++ deno-v8-arm.patch ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.369788577 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.373788743 +0100 @@ -1,13 +1,15 @@ ---- ./build.rs.orig 2024-06-27 14:26:40.281226961 +0200 -+++ ./build.rs 2024-06-27 14:28:10.388618455 +0200 -@@ -200,16 +200,12 @@ fn build_v8(is_asan: bool) { - // cross-compilation setup +diff -ruN rusty_v8-145.0.0.orig/build.rs rusty_v8-145.0.0/build.rs +--- rusty_v8-145.0.0.orig/build.rs 2026-02-14 14:02:50.206480850 +0800 ++++ rusty_v8-145.0.0/build.rs 2026-02-14 14:06:48.032243885 +0800 +@@ -353,17 +353,13 @@ if target_arch == "aarch64" { gn_args.push(r#"target_cpu="arm64""#.to_string()); -- gn_args.push("use_sysroot=true".to_string()); -- maybe_install_sysroot("arm64"); -- maybe_install_sysroot("amd64"); -+ gn_args.push("use_sysroot=false".to_string()); + if target_os == "linux" { +- gn_args.push("use_sysroot=true".to_string()); +- maybe_install_sysroot("arm64"); +- maybe_install_sysroot("amd64"); ++ gn_args.push("use_sysroot=false".to_string()); + } } if target_arch == "arm" { gn_args.push(r#"target_cpu="arm""#.to_string()); @@ -20,4 +22,3 @@ let target_triple = env::var("TARGET").unwrap(); - ++++++ disable-rust-toolchain-download.patch ++++++ diff -ruN rusty_v8-145.0.0.orig/build.rs rusty_v8-145.0.0/build.rs --- rusty_v8-145.0.0.orig/build.rs 2026-02-14 14:15:46.377977611 +0800 +++ rusty_v8-145.0.0/build.rs 2026-02-14 15:13:06.103012265 +0800 @@ -120,7 +120,7 @@ print_prebuilt_src_binding_path(); - download_static_lib_binaries(); + // download_static_lib_binaries(); } fn acquire_lock() -> LockFile { @@ -248,10 +248,10 @@ } if need_gn_ninja_download() { - download_ninja_gn_binaries(); + // download_ninja_gn_binaries(); } - download_rust_toolchain(); + // download_rust_toolchain(); // `#[cfg(...)]` attributes don't work as expected from build.rs -- they refer to the configuration // of the host system which the build.rs script will be running on. In short, `cfg!(target_<os/arch>)` ++++++ rusty_v8-137.2.1.tar.zst -> rusty_v8-145.0.0.tar.zst ++++++ /work/SRC/openSUSE:Factory/rusty_v8/rusty_v8-137.2.1.tar.zst /work/SRC/openSUSE:Factory/.rusty_v8.new.1977/rusty_v8-145.0.0.tar.zst differ: char 7, line 1 ++++++ rusty_v8-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.9oS9vZ/_old 2026-02-16 13:15:38.429791068 +0100 +++ /var/tmp/diff_new_pack.9oS9vZ/_new 2026-02-16 13:15:38.433791233 +0100 @@ -1,4 +1,7 @@ # This is not C, dear +addFilter("E: backup-file-in-package") +addFilter("E: filelist-forbidden") +addFilter("W: hidden-file-or-dir") addFilter("E: devel-file-in-non-devel-package") addFilter("E: bin-sh-syntax-error") addFilter("E: env-script-interpreter") ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/rusty_v8/vendor.tar.zst /work/SRC/openSUSE:Factory/.rusty_v8.new.1977/vendor.tar.zst differ: char 7, line 1
