Kentaro Hayashi: Short journey to Mozc 2.29.5160.102+dfsg-1
Introduction
This is just a note-taking about how to upgrading Mozc package for up-coming trixie ready (with many restrictions) last year.
Maybe Mozc 2.29.5160.102+dfsg-1.3 will be shipped for Debian 13 (trixie).
FTBFS with Mozc 2.28.4715.102+dfsg-2.2
In May 2024, I've found that Mozc was removed from testing, and still in FTBFS.
#1068186 - mozc: FTBFS with abseil 20230802: ../../base/init_mozc.cc:90:29: error: absl::debian5::flags_internal::ArgvListAction has not been declared - Debian Bug report logs
That FTBFS was fixed in the Mozc upstream, but not applied for a while.
Not only upstream patch, but also additional linkage patch was required to fix it.
Mozc is the de-fact standard input method editor for Japanese.
Most of Japanese uses it by default on linux desktop.
(Even though frontend input method framework is different, the background engine is Mozc in most cases -
uim-mozc for task-japanese-desktop, ibus-mozc for task-japanese-gnome-desktop in Debian)
There is a case that Mozc was re-built locally with integrated external dictionary
to improve quantity of vocabulary. If FTBFS keep ongoing, it means that it blocks such a usage.
So I've sent patches to fix it and they were merged.
Motivation to update Mozc
With fixing #1068186, I've also found Mozc version is not synced to upstream for a long time.
At that time, Mozc in unstable was version 2.28.4715.102+dfsg, but upstream already released 2.30.5544.102.
It seems that Mozc's maintainer was too busy and can't afford to update it, so I've tried to do it.
The blockers for updating Mozc
But, it was not so easy task to do so.
If you want to package latest Mozc, there were many blockers.
- Newer Mozc requires Bazel to build, but there is no Bazel package to fit it (There is bazel-bootstrap 4.x, but it's old. v6.x or newer one is required.)
- Newer abseil and protobuf were required
- Renderer was changed to Qt. GTK renderer was removed
- Revise existing patchsets (e.g. for UIM, for Fcitx)
It was not all.
Road to latest Mozc
First, I knew the existence of debian-bazel, so I've posted about bazel-packaging progress.
Any updates about bazel packaging effort?
Sadly there was no response from it.
Thus, it was not realistic to adopt Bazel as build tool chain.
In other words, we need to keep GYP patch and maintain it.
And as another topic, upstream changed renderer from GTK+ to Qt.
Here are the major topics about each release of Mozc.
- 2.30.5544.102 Require abseil 20240116.1 or later
- 2.29.5544.102 GYP was deprecated
- 2.29.5374.102
- 2.29.5268.102 No gtk renderer anymore, need Qt.
- 2.29.5160.102
- 2.28.5029.102
- 2.28.4880.102
- 2.28.4715.102+dfsg Debian sid
The internal renderer change are too big, and before GYP deprecation
in 2.29.5544.102, GYP support was already removed gradually.
As a result, target to 2.29.5160.102 was the practical approach to make it forward.
Revisit existing patchsets for 2.28.4715.102+dfsg
Second, need to revisit existing patchset to triage them.
- 0001-Update-uim-mozc-to-c979f127acaeb7b35d3344e8b1e40848e.patch
- Required
- 0002-Support-fcitx.patch
- Required
- 0003-Change-compiler-from-clang-to-gcc.patch
- (maybe) Not needed anymore
- Related commits:
https://github.com/google/mozc/commit/ae169acdcc9f7c205a30d432486dcbf13dc3e316
https://github.com/google/mozc/commit/aba090da42a8366e72bc320dfafc3f9f93755edf
- 0004-Add-usage_dict.txt.patch
- Required. (maybe)
- 0005-Enable-verbose-build.patch
- Required.
- 0006-Update-gyp-using-absl.patch
- Required and need massive refactoring.
- 0007-common.gypi-Use-command-v-instead-of-which.patch
- (maybe) Not needed anymore
- 0009-protobuf.gyp-Add-latomic-to-link_settings.patch
- Required.
- 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch
- Required. Should be merged into 0006 patch.
- 0011-Fix-missing-abseil-gyp-link-settings.patch
- Required. Should be merged into 0006 patch.
UIM patch was maintained in third-party repository,
and directory structure was quite different from Mozc.
It seems that maintenance activity was too low, so it was not enough that picking changes
from macuim. It was required to fix FTBFS additionally.
Fcitx patch was also maintained in fcitx/mozc.
But it tracks only master branch, so it was hard to pick patchset for specific version of Mozc.
Finally, I could manage to refresh patchset for 2.29.5160.102.
- support-uim.patch
- support-fcitx.patch
- change-compiler-from-clang-to-gcc.patch
- add-japanese-usage-dictionary.patch
- enable-verbose-build.patch
- update-gyp-using-system-abseil.patch
- gyp-using-command-instead-of-which.patch
- gyp-protobuf-link-with-atomic.patch
- enable-deprecated-gtk-renderer.patch
- fix-compile-error-of-ParseCommandLineFlags.patch
- enable-use_gyp_for_ibus_build-again.patch
- ibus-drop-needless-client_mock.patch
- protobuf-revert-internal-cleanup.patch
- uim-mozc-fix-ftbfs.patch
Improve packaging task
Mozc need to be repacked, but it didn't use Files-Excluded yet.
So I've introduced d/watch to repack upstream source.
It makes source package more reproducible.
OT: Hardware breakage
There was another blocker to do this task.
I've hit the situation that g++ cause SEGV during building Mozc randomly.
First, I wonder why it fails, but digging further more, finally I've found that
memory module was corrupted. Thus I've lost 32GB memory modules. :-<
Unexpected behaviour in uim-mozc
When uploaded Mozc 2.29.5160.102+dfsg-1 to experimental,
I've found that there is a case that uim-mozc behaves weird.
The candidate words were shown with flickering.
But it was not regression in this upload.
uim-mozc with Wayland cause that problem.
Thus GNOME and derivatives might not be affected because ibus-mozc will be used.
Mozc 2.29.5160.102+dfsg-1
As the patchset was matured, then uploaded 2.29.5160.102+dfsg-1 with --delayed 15 option.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes
Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day)
running allowed-distribution: check whether a local profile permits uploads to the target distribution
running protected-distribution: warn before uploading to distributions where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes
fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes
signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
Successfully signed dsc, buildinfo, changes files
Uploading mozc_2.29.5160.102+dfsg-1.dsc
Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz
Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
Uploading mozc_2.29.5160.102+dfsg-1_source.changes
Mozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
Motivation to update Mozc
With fixing #1068186, I've also found Mozc version is not synced to upstream for a long time.
At that time, Mozc in unstable was version 2.28.4715.102+dfsg, but upstream already released 2.30.5544.102.
It seems that Mozc's maintainer was too busy and can't afford to update it, so I've tried to do it.
The blockers for updating Mozc
But, it was not so easy task to do so.
If you want to package latest Mozc, there were many blockers.
- Newer Mozc requires Bazel to build, but there is no Bazel package to fit it (There is bazel-bootstrap 4.x, but it's old. v6.x or newer one is required.)
- Newer abseil and protobuf were required
- Renderer was changed to Qt. GTK renderer was removed
- Revise existing patchsets (e.g. for UIM, for Fcitx)
It was not all.
Road to latest Mozc
First, I knew the existence of debian-bazel, so I've posted about bazel-packaging progress.
Any updates about bazel packaging effort?
Sadly there was no response from it.
Thus, it was not realistic to adopt Bazel as build tool chain.
In other words, we need to keep GYP patch and maintain it.
And as another topic, upstream changed renderer from GTK+ to Qt.
Here are the major topics about each release of Mozc.
- 2.30.5544.102 Require abseil 20240116.1 or later
- 2.29.5544.102 GYP was deprecated
- 2.29.5374.102
- 2.29.5268.102 No gtk renderer anymore, need Qt.
- 2.29.5160.102
- 2.28.5029.102
- 2.28.4880.102
- 2.28.4715.102+dfsg Debian sid
The internal renderer change are too big, and before GYP deprecation
in 2.29.5544.102, GYP support was already removed gradually.
As a result, target to 2.29.5160.102 was the practical approach to make it forward.
Revisit existing patchsets for 2.28.4715.102+dfsg
Second, need to revisit existing patchset to triage them.
- 0001-Update-uim-mozc-to-c979f127acaeb7b35d3344e8b1e40848e.patch
- Required
- 0002-Support-fcitx.patch
- Required
- 0003-Change-compiler-from-clang-to-gcc.patch
- (maybe) Not needed anymore
- Related commits:
https://github.com/google/mozc/commit/ae169acdcc9f7c205a30d432486dcbf13dc3e316
https://github.com/google/mozc/commit/aba090da42a8366e72bc320dfafc3f9f93755edf
- 0004-Add-usage_dict.txt.patch
- Required. (maybe)
- 0005-Enable-verbose-build.patch
- Required.
- 0006-Update-gyp-using-absl.patch
- Required and need massive refactoring.
- 0007-common.gypi-Use-command-v-instead-of-which.patch
- (maybe) Not needed anymore
- 0009-protobuf.gyp-Add-latomic-to-link_settings.patch
- Required.
- 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch
- Required. Should be merged into 0006 patch.
- 0011-Fix-missing-abseil-gyp-link-settings.patch
- Required. Should be merged into 0006 patch.
UIM patch was maintained in third-party repository,
and directory structure was quite different from Mozc.
It seems that maintenance activity was too low, so it was not enough that picking changes
from macuim. It was required to fix FTBFS additionally.
Fcitx patch was also maintained in fcitx/mozc.
But it tracks only master branch, so it was hard to pick patchset for specific version of Mozc.
Finally, I could manage to refresh patchset for 2.29.5160.102.
- support-uim.patch
- support-fcitx.patch
- change-compiler-from-clang-to-gcc.patch
- add-japanese-usage-dictionary.patch
- enable-verbose-build.patch
- update-gyp-using-system-abseil.patch
- gyp-using-command-instead-of-which.patch
- gyp-protobuf-link-with-atomic.patch
- enable-deprecated-gtk-renderer.patch
- fix-compile-error-of-ParseCommandLineFlags.patch
- enable-use_gyp_for_ibus_build-again.patch
- ibus-drop-needless-client_mock.patch
- protobuf-revert-internal-cleanup.patch
- uim-mozc-fix-ftbfs.patch
Improve packaging task
Mozc need to be repacked, but it didn't use Files-Excluded yet.
So I've introduced d/watch to repack upstream source.
It makes source package more reproducible.
OT: Hardware breakage
There was another blocker to do this task.
I've hit the situation that g++ cause SEGV during building Mozc randomly.
First, I wonder why it fails, but digging further more, finally I've found that
memory module was corrupted. Thus I've lost 32GB memory modules. :-<
Unexpected behaviour in uim-mozc
When uploaded Mozc 2.29.5160.102+dfsg-1 to experimental,
I've found that there is a case that uim-mozc behaves weird.
The candidate words were shown with flickering.
But it was not regression in this upload.
uim-mozc with Wayland cause that problem.
Thus GNOME and derivatives might not be affected because ibus-mozc will be used.
Mozc 2.29.5160.102+dfsg-1
As the patchset was matured, then uploaded 2.29.5160.102+dfsg-1 with --delayed 15 option.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes
Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day)
running allowed-distribution: check whether a local profile permits uploads to the target distribution
running protected-distribution: warn before uploading to distributions where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes
fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes
signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
Successfully signed dsc, buildinfo, changes files
Uploading mozc_2.29.5160.102+dfsg-1.dsc
Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz
Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
Uploading mozc_2.29.5160.102+dfsg-1_source.changes
Mozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
- Newer Mozc requires Bazel to build, but there is no Bazel package to fit it (There is bazel-bootstrap 4.x, but it's old. v6.x or newer one is required.)
- Newer abseil and protobuf were required
- Renderer was changed to Qt. GTK renderer was removed
- Revise existing patchsets (e.g. for UIM, for Fcitx)
Road to latest Mozc
First, I knew the existence of debian-bazel, so I've posted about bazel-packaging progress.
Any updates about bazel packaging effort?
Sadly there was no response from it.
Thus, it was not realistic to adopt Bazel as build tool chain.
In other words, we need to keep GYP patch and maintain it.
And as another topic, upstream changed renderer from GTK+ to Qt.
Here are the major topics about each release of Mozc.
- 2.30.5544.102 Require abseil 20240116.1 or later
- 2.29.5544.102 GYP was deprecated
- 2.29.5374.102
- 2.29.5268.102 No gtk renderer anymore, need Qt.
- 2.29.5160.102
- 2.28.5029.102
- 2.28.4880.102
- 2.28.4715.102+dfsg Debian sid
The internal renderer change are too big, and before GYP deprecation
in 2.29.5544.102, GYP support was already removed gradually.
As a result, target to 2.29.5160.102 was the practical approach to make it forward.
Revisit existing patchsets for 2.28.4715.102+dfsg
Second, need to revisit existing patchset to triage them.
- 0001-Update-uim-mozc-to-c979f127acaeb7b35d3344e8b1e40848e.patch
- Required
- 0002-Support-fcitx.patch
- Required
- 0003-Change-compiler-from-clang-to-gcc.patch
- (maybe) Not needed anymore
- Related commits:
https://github.com/google/mozc/commit/ae169acdcc9f7c205a30d432486dcbf13dc3e316
https://github.com/google/mozc/commit/aba090da42a8366e72bc320dfafc3f9f93755edf
- 0004-Add-usage_dict.txt.patch
- Required. (maybe)
- 0005-Enable-verbose-build.patch
- Required.
- 0006-Update-gyp-using-absl.patch
- Required and need massive refactoring.
- 0007-common.gypi-Use-command-v-instead-of-which.patch
- (maybe) Not needed anymore
- 0009-protobuf.gyp-Add-latomic-to-link_settings.patch
- Required.
- 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch
- Required. Should be merged into 0006 patch.
- 0011-Fix-missing-abseil-gyp-link-settings.patch
- Required. Should be merged into 0006 patch.
UIM patch was maintained in third-party repository,
and directory structure was quite different from Mozc.
It seems that maintenance activity was too low, so it was not enough that picking changes
from macuim. It was required to fix FTBFS additionally.
Fcitx patch was also maintained in fcitx/mozc.
But it tracks only master branch, so it was hard to pick patchset for specific version of Mozc.
Finally, I could manage to refresh patchset for 2.29.5160.102.
- support-uim.patch
- support-fcitx.patch
- change-compiler-from-clang-to-gcc.patch
- add-japanese-usage-dictionary.patch
- enable-verbose-build.patch
- update-gyp-using-system-abseil.patch
- gyp-using-command-instead-of-which.patch
- gyp-protobuf-link-with-atomic.patch
- enable-deprecated-gtk-renderer.patch
- fix-compile-error-of-ParseCommandLineFlags.patch
- enable-use_gyp_for_ibus_build-again.patch
- ibus-drop-needless-client_mock.patch
- protobuf-revert-internal-cleanup.patch
- uim-mozc-fix-ftbfs.patch
Improve packaging task
Mozc need to be repacked, but it didn't use Files-Excluded yet.
So I've introduced d/watch to repack upstream source.
It makes source package more reproducible.
OT: Hardware breakage
There was another blocker to do this task.
I've hit the situation that g++ cause SEGV during building Mozc randomly.
First, I wonder why it fails, but digging further more, finally I've found that
memory module was corrupted. Thus I've lost 32GB memory modules. :-<
Unexpected behaviour in uim-mozc
When uploaded Mozc 2.29.5160.102+dfsg-1 to experimental,
I've found that there is a case that uim-mozc behaves weird.
The candidate words were shown with flickering.
But it was not regression in this upload.
uim-mozc with Wayland cause that problem.
Thus GNOME and derivatives might not be affected because ibus-mozc will be used.
Mozc 2.29.5160.102+dfsg-1
As the patchset was matured, then uploaded 2.29.5160.102+dfsg-1 with --delayed 15 option.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes
Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day)
running allowed-distribution: check whether a local profile permits uploads to the target distribution
running protected-distribution: warn before uploading to distributions where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes
fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes
signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
Successfully signed dsc, buildinfo, changes files
Uploading mozc_2.29.5160.102+dfsg-1.dsc
Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz
Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
Uploading mozc_2.29.5160.102+dfsg-1_source.changes
Mozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
- 0001-Update-uim-mozc-to-c979f127acaeb7b35d3344e8b1e40848e.patch
- Required
- 0002-Support-fcitx.patch
- Required
- 0003-Change-compiler-from-clang-to-gcc.patch
- (maybe) Not needed anymore
- Related commits: https://github.com/google/mozc/commit/ae169acdcc9f7c205a30d432486dcbf13dc3e316 https://github.com/google/mozc/commit/aba090da42a8366e72bc320dfafc3f9f93755edf
- 0004-Add-usage_dict.txt.patch
- Required. (maybe)
- 0005-Enable-verbose-build.patch
- Required.
- 0006-Update-gyp-using-absl.patch
- Required and need massive refactoring.
- 0007-common.gypi-Use-command-v-instead-of-which.patch
- (maybe) Not needed anymore
- 0009-protobuf.gyp-Add-latomic-to-link_settings.patch
- Required.
- 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch
- Required. Should be merged into 0006 patch.
- 0011-Fix-missing-abseil-gyp-link-settings.patch
- Required. Should be merged into 0006 patch.
- support-uim.patch
- support-fcitx.patch
- change-compiler-from-clang-to-gcc.patch
- add-japanese-usage-dictionary.patch
- enable-verbose-build.patch
- update-gyp-using-system-abseil.patch
- gyp-using-command-instead-of-which.patch
- gyp-protobuf-link-with-atomic.patch
- enable-deprecated-gtk-renderer.patch
- fix-compile-error-of-ParseCommandLineFlags.patch
- enable-use_gyp_for_ibus_build-again.patch
- ibus-drop-needless-client_mock.patch
- protobuf-revert-internal-cleanup.patch
- uim-mozc-fix-ftbfs.patch
Improve packaging task
Mozc need to be repacked, but it didn't use Files-Excluded yet.
So I've introduced d/watch to repack upstream source.
It makes source package more reproducible.
OT: Hardware breakage
There was another blocker to do this task.
I've hit the situation that g++ cause SEGV during building Mozc randomly.
First, I wonder why it fails, but digging further more, finally I've found that
memory module was corrupted. Thus I've lost 32GB memory modules. :-<
Unexpected behaviour in uim-mozc
When uploaded Mozc 2.29.5160.102+dfsg-1 to experimental,
I've found that there is a case that uim-mozc behaves weird.
The candidate words were shown with flickering.
But it was not regression in this upload.
uim-mozc with Wayland cause that problem.
Thus GNOME and derivatives might not be affected because ibus-mozc will be used.
Mozc 2.29.5160.102+dfsg-1
As the patchset was matured, then uploaded 2.29.5160.102+dfsg-1 with --delayed 15 option.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes
Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day)
running allowed-distribution: check whether a local profile permits uploads to the target distribution
running protected-distribution: warn before uploading to distributions where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes
fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes
signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
Successfully signed dsc, buildinfo, changes files
Uploading mozc_2.29.5160.102+dfsg-1.dsc
Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz
Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
Uploading mozc_2.29.5160.102+dfsg-1_source.changes
Mozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
Unexpected behaviour in uim-mozc
When uploaded Mozc 2.29.5160.102+dfsg-1 to experimental,
I've found that there is a case that uim-mozc behaves weird.
The candidate words were shown with flickering.
But it was not regression in this upload.
uim-mozc with Wayland cause that problem.
Thus GNOME and derivatives might not be affected because ibus-mozc will be used.
Mozc 2.29.5160.102+dfsg-1
As the patchset was matured, then uploaded 2.29.5160.102+dfsg-1 with --delayed 15 option.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes
Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day)
running allowed-distribution: check whether a local profile permits uploads to the target distribution
running protected-distribution: warn before uploading to distributions where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes
fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes
signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3
Successfully signed dsc, buildinfo, changes files
Uploading mozc_2.29.5160.102+dfsg-1.dsc
Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz
Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo
Uploading mozc_2.29.5160.102+dfsg-1_source.changes
Mozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
$ dput --delayed 15 mozc_2.29.5160.102+dfsg-1_source.changes Uploading mozc using ftp to ftp-master (host: ftp.upload.debian.org; directory: /pub/UploadQueue/DELAYED/15-day) running allowed-distribution: check whether a local profile permits uploads to the target distribution running protected-distribution: warn before uploading to distributions where a special policy applies running checksum: verify checksums before uploading running suite-mismatch: check the target distribution for common errors running gpg: check GnuPG signatures before the upload signfile dsc mozc_2.29.5160.102+dfsg-1.dsc 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3 fixup_buildinfo mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_amd64.buildinfo signfile buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3 fixup_changes dsc mozc_2.29.5160.102+dfsg-1.dsc mozc_2.29.5160.102+dfsg-1_source.changes fixup_changes buildinfo mozc_2.29.5160.102+dfsg-1_amd64.buildinfo mozc_2.29.5160.102+dfsg-1_source.changes signfile changes mozc_2.29.5160.102+dfsg-1_source.changes 719EB2D93DBE9C4D21FBA064F7FB75C566ED20E3 Successfully signed dsc, buildinfo, changes files Uploading mozc_2.29.5160.102+dfsg-1.dsc Uploading mozc_2.29.5160.102+dfsg-1.debian.tar.xz Uploading mozc_2.29.5160.102+dfsg-1_amd64.buildinfo Uploading mozc_2.29.5160.102+dfsg-1_source.changesMozc 2.29.5160.102+dfsg-1 was landed to unstable at 2024-12-20.
Additional bug fixes
Additionally, the following bugs were also fixed.
- #1045435 - mozc: Fails to build source after successful build - Debian Bug report logs
- #1049806 - mozc: Fails to build binary packages again after successful build - Debian Bug report logs
These bugs were fixed in 2.29.5160.102+dfsg-1.1
And more, I've found that even though missing pristine-tar branch commit, salsa CI succeeds.
I've sent MR for this issue and already merged into.
Mozc and future in Debian
In this short journey, I gave up to updating more newer Mozc
because the version of dependency libraries were not updated.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
Note that protobuf 3.25.4 on experimental depends on older absl
20230802, so it must be rebuilt against absl 20240722.0.
And more, we need to consider how to migrate from GTK renderer to
Qt renderer in the future.
- #1081553 - transition: abseil - Debian Bug report logs
- #1034668 - Please update to new upstream release 3.22.3 in experimental - Debian Bug report logs
For my
I can t remember exactly the joke I was making at the time in my
The
TL;DR
It's difficult to find the right Debian image. We have thousands of
ISO files and cloud images and we support multiple CPU architectures
and several download methods. The directory structure of our main image server
is like a maze, and our web pages for downloading are also confusing.
Most important facts from this blog post


Stable Wireshark PPA:
Like each month, have a look at the work funded by 
Last November, the DebConf25 Team
Juliana also shared with us a bit of her motivation, creative process and
inspiration when designing her logo:
20 years ago, I got my Debian Developer account. I was 18 at the time, it was Shrove Tuesday and - as is customary - I was drunk when I got the email. There was so much that I did not know - which is also why the process took 1.5 years from the time I applied. I mostly only maintained a package or two. I'm still amazed that Christian Perrier and Joerg Jaspert put sufficient trust in me at that time. Nevertheless now feels like a good time for a personal reflection of my involvement in Debian.
After circling a bit to find somewhere suitable (there appear to be construction
works in the park!) I set up my gear in 2C with frost on the ground, called CQ,
spotted and got nothing on either the end fed half wave or the cheap vertical.
As it was too late for 20m, I tried 40 and a bit of 80 using the inbuilt tuner,
but wasn t heard by stations I called or when calling independently.
I packed everything up and lora-doofered my way home, mildly deflated.
After a mild struggle on 2m, I set up the end fed the first hill and got to
work from the old hill fort:
The end fed worked flawlessly. Exactly as promised, switching between 7MHz, 14MHz, 21MHz
and 28MHz without a tuner was perfect, I chased hills on all the bands, and had a
great time. Apart from 40m, where there was absolutely no space due to a
contest. That wasn t such a fun time!
My fingers were bitterly cold, so on went the big gloves for the descent and I
felt like I was warm by the time I made it back to the car.
It worked so well, in fact, I took the 1/4 wave cheap vertical out my bag and
decided to brave it on the next activation.
To get some height for the feedpoint, I wrapped the coax around my winder a
couple of turns and trapped it with the elastic while draping the coax over the
trig. This bought me some more height and I felt clever because of it. Maybe a
pole would be easier?
From here, I worked inter-G on 40m and had a wee pile up, eventually working 15
or so European stations on 20m. Pleased with that!
I had been considering a third hill, but home was the call in the failing light.
Back to the car I walked to find my key didn t have any battery, so out came the
Audi App and I used the Internet of Things to unlock my car. The modern world is
bizarre.
I set up at the cairn and picked up 30 contacts overall, split between 40m and
20m, with some inter-g on 40 and a couple of continental surprises. 20 had
longer skip today, so I saw Spain, Finland, Slovenia, Poland.
On teardown, I managed to snap the top segment of my brand new mast with my
cold, clumsy fingers, but thankfully sotabeams stock replacements. More money at
the problem, again.
Back to the car, no app needed, and homeward bound as the light faded.
At the end of the weekend, I find myself finally over 100 activator points and
over 400 chaser points. Somehow I ve collected more points this year already
than last year, the winter bonuses really do stack up!
This weekend I discovered it s possible to have height maps for nice 3d
maps and contours marked on the map - you just need to download some
additions for the maps. This is a really nice feature, it makes maps more
pretty and more useful when you re in the middle of nowhere.