#1032378 mozc is not compiled on all little-endian platforms, should it be?

#1032378#5
Date:
2023-03-05 13:22:34 UTC
From:
To:
From discussion on #1029821, it seems that mozc only supports little-endian
CPU architectures (for example i386 and arm64) and does not support
big-endian CPU architectures (for example powerpc and s390x).

At the moment, mozc is only compiled on some little-endian architectures:

* amd64
* arm64
* armel
* armhf,
* i386
* riscv64

but not on others, such as:

* mips64el
* mipsel
* ppc64el
* hurd-i386
* kfreebsd-amd64
* kfreebsd-i386
* sh4 (?)
* x32

Should mozc be compiled on *all* little-endian architectures, or are there
other reasons why it needs to be restricted to a subset of them?

If the intention is to compile mozc on all little-endian platforms, the
easiest way is probably:

    # debian/control
    ...
    Build-Depends: ..., architecture-is-little-endian, ...

    ...

    Package: ibus-mozc
    Architecture: any
    ...

    Package: uim-mozc
    Architecture: any
    ...

and so on, so that it builds successfully on all LE architectures (past,
present and future) but is BD-Uninstallable on all BE architectures.

If we change GNOME's idea of the default input method for Japanese locales
from anthy to mozc as requested in #1029821, then any changes here might
need to be coordinated with src:gnome-desktop (although I'm investigating
whether we can make that decision dynamically at runtime). Please keep
the GNOME team informed on what happens here.

Thanks,
    smcv

#1032378#10
Date:
2023-12-14 21:39:19 UTC
From:
To:
I use a Japanese ppc64el desktop, and I build the mozc packages from
salsa just by adding ppc64el to the Architecture: lines in the control
file. If there is any technical reason why ppc64el was excluded, I
cannot identify it. Tested yesterday in an up to date Debian 12.4
environment to be sure. For any who would like to take a look without
building themselves, my packages are here:

https://pkg.tsundoku.ne.jp/debian/pool/bookworm/main/

Could we implement Simon's suggestion or something like it, so that
working architectures are not excluded for this package, and affected
users don't have to request their addition one by one?

Thanks!

#1032378#15
Date:
2026-01-10 10:08:33 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1032378#20
Date:
2026-10-17 10:49:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mozc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1032378@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kentaro Hayashi <kenhys@xdump.org> (supplier of updated mozc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 15 Oct 2026 19:40:14 +0900
Source: mozc
Architecture: source
Version: 3.34.6239+ds1-0.1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Changed-By: Kentaro Hayashi <kenhys@xdump.org>
Closes: 1032378
Changes:
 mozc (3.34.6239+ds1-0.1~exp1) experimental; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream version 3.34.6239
   * debian/rules,
     debian/third_party/abseil-cpp/absl/strings/BUILD.bazel
     debian/third_party/gtest/BUILD.bazel
     debian/third_party/gazelle/BUILD.bazel
     debian/third_party/gazelle/MODULE.bazel
     debian/third_party/rules_android/BUILD.bazel
     debian/third_party/rules_android/MODULE.bazel
     debian/third_party/rules_go/BUILD.bazel
     debian/third_party/rules_go/MODULE.bazel
     * Add more dummy modules to reduce network access
   * debian/patches/0003-fcitx5-integration.patch
     debian/patches/0004-fix-mozc-visibility.patch
     debian/patches/0005-fix-mozc-ftbfs.patch
     * Refresh patch sets. It also fixes FTBFS.
   * debian/patches/0008-Add-zip-code-data.patch
     * Update zip code patch to 2026-09-30.
   * debian/control
     * Set Architectures to linux-any and restrict build to
       64-bit little-endian architectures via the build profiles.
       (Closes: #1032378)
Checksums-Sha1:
 cd4476d01830564dba9aba107e0bdb2b3b4d99ec 2720 mozc_3.34.6239+ds1-0.1~exp1.dsc
 58e5814f8b397057c8328e0b57d8bd7aaa4d7f4c 20899708 mozc_3.34.6239+ds1.orig.tar.xz
 34a36e0b003cd15168bf1726782c94a7a48dd42b 1993016 mozc_3.34.6239+ds1-0.1~exp1.debian.tar.xz
 91b70435b2d4e1aea271696a43447330d259f728 15352 mozc_3.34.6239+ds1-0.1~exp1_source.buildinfo
Checksums-Sha256:
 85b9f14694284d69b73acb87a41bc30020223c1de270f5968119f407fab32ee5 2720 mozc_3.34.6239+ds1-0.1~exp1.dsc
 7299581a780a9e36b35f68419f21bd3f575e4c03859cd55fe7c5909de9fa58c6 20899708 mozc_3.34.6239+ds1.orig.tar.xz
 32b446c4a98df5d0d2b22f559f2c0709ac8c71ce85a035b787a079c2d0b37c69 1993016 mozc_3.34.6239+ds1-0.1~exp1.debian.tar.xz
 686279e457cd89a3b65f71dbc07df3dda9e60834d9d3a5421b932ddd2bfa4613 15352 mozc_3.34.6239+ds1-0.1~exp1_source.buildinfo
Files:
 bb08fdf1ff4ad20f7f0036a9cbddf3d3 2720 utils optional mozc_3.34.6239+ds1-0.1~exp1.dsc
 c6013646926d337c56effc81375b6959 20899708 utils optional mozc_3.34.6239+ds1.orig.tar.xz
 833752f3cde8fee2150206bf4aaf296d 1993016 utils optional mozc_3.34.6239+ds1-0.1~exp1.debian.tar.xz
 ac85c0ade220d404432e271052527076 15352 utils optional mozc_3.34.6239+ds1-0.1~exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEcZ6y2T2+nE0h+6Bk9/t1xWbtIOMFAmrTT3QACgkQ9/t1xWbt
ION+hhAA3pxs+jE8sESaQQgKQGFsgM6CDcI1J7Ey4InMKQ84R/qKrySm55t7oIux
DFDolnXOJTiFiHBDcINn9/XJaduyXkmjJaTFooQR9ct3zYzjV9cA6VJV4pymJmNm
gwOQBxaZ9YvcUsMODDpmjeOdj92McwlvhTnKi+jtUdb+6GS5QXDENeFzO97eQt/3
E2htnV0aoVDTTEDe2y7SIQ5hNgKCYX98VmptrAWY8p26BkJP+PjCmFwPjQ/o8mfH
osSAg11hAjqyTG780rpmV6K5ZhZ4ceLfbeGeIHnr5Sdjv0s7FNRLg/4XITXrcon+
Xc0G2Rys7wZyZXgbm3cgbBbmgel0lTmUjegx/5YR+krumFwnQGpTsDwpEfF5Zd9m
G6RzeGHb/RGb/gG8WycyBoo7oN4SbwBB9ch6bOdq9wWxeI6rNk7J5KG1RLEXVeq8
l/z2haxsrxT+A3B+0ls/81wvRReh7XFrezYeZuyrALHxM3ZBjensPGsy+lkAP82r
wXdJIfL2ebqtj6bUVuybmC0HuHZXLxp9rprfX/futvc80l8w++KwYCl90YwdXFch
/TCqKWOrqMiTPZXcSFAlDct0ujRdnAUiI01IAd/E1Rl0GtQAJWBADJJW3LXQQMN3
5fZwxsa8iJijmkOuTCigall1aIXwDV173OhY22SFmby55FGPEiI=
=a4ca
-----END PGP SIGNATURE-----