Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mozc for openSUSE:Factory checked in 
at 2025-11-17 12:18:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozc (Old)
 and      /work/SRC/openSUSE:Factory/.mozc.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozc"

Mon Nov 17 12:18:53 2025 rev:52 rq:1318074 version:2.31.5810.102

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozc/mozc.changes        2025-07-25 
17:05:15.209083873 +0200
+++ /work/SRC/openSUSE:Factory/.mozc.new.2061/mozc.changes      2025-11-17 
12:24:08.143686101 +0100
@@ -1,0 +2,7 @@
+Fri Nov 14 15:21:56 UTC 2025 - Fuminobu Takeyama <[email protected]>
+
+- Fix build error with bazel 8.4.1
+  * Move files from Bazel Central Registry to bcr.tar and
+    use a local bazel registry
+
+-------------------------------------------------------------------

Old:
----
  MODULE.bazel.lock

New:
----
  bcr.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mozc.spec ++++++
--- /var/tmp/diff_new_pack.XPnI7K/_old  2025-11-17 12:24:13.043892741 +0100
+++ /var/tmp/diff_new_pack.XPnI7K/_new  2025-11-17 12:24:13.055893248 +0100
@@ -74,7 +74,9 @@
 # See dependencies.tar/sbom.json for license information
 # License: Apache-2.0 AND BSD-3-Clause AND Zlib AND SUSE-Public-Domain
 Source2:        dependencies.tar
-Source3:        MODULE.bazel.lock
+# A Subset of Bazel Central Registry
+# License: Apache-2.0
+Source3:        bcr.tar.xz
 Source4:        ibus-setup-mozc-jp.desktop.in
 #
 #
@@ -188,7 +190,6 @@
 %patch -P 1 -p1
 
 cp %{SOURCE1} .
-cp %{SOURCE3} src
 
 %if 0%{?suse_version} == 1500
 %patch -P 3 -p1
@@ -198,6 +199,7 @@
 
 # extract dependencies
 tar xf %{SOURCE2}
+tar xf %{SOURCE3}
 
 # fix installation, library and header path
 sed -e 's|@libdir@|%{_libdir}|g' %{SOURCE4} > ibus-setup-mozc-jp.desktop
@@ -215,6 +217,12 @@
        esac
 done
 
+# The version of buil-in bazel module is different for each minor bazel 
versions
+# Use build-in bazel modules from Bazel 8.4
+# https://github.com/bazelbuild/bazel/blob/release-8.4.1/src/MODULE.tools
+echo 'bazel_dep(name = "rules_java", version = "8.14.0")' >> src/MODULE.bazel
+echo 'bazel_dep(name = "zlib", version = "1.3.1.bcr.5")' >> src/MODULE.bazel
+
 %build
 
 cd src
@@ -235,6 +243,7 @@
        "//unix/fcitx5:fcitx5-mozc.so" \
 %endif
        --repository_cache=../dependencies \
+       --registry=file:$(realpath ../bcr) \
        --config oss_linux \
        -c opt \
        --force_pic \

++++++ dependencies.tar ++++++
/work/SRC/openSUSE:Factory/mozc/dependencies.tar 
/work/SRC/openSUSE:Factory/.mozc.new.2061/dependencies.tar differ: char 139, 
line 1

Reply via email to