@naoina
I have confirmed built successfully.
Thanks for the quick fix.
Search Criteria
Package Details: fcitx-mozc-ut 2.28.4990.102-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fcitx-mozc-ut.git (read-only, click to copy) |
---|---|
Package Base: | fcitx-mozc-ut |
Description: | Mozc module for Fcitx |
Upstream URL: | https://github.com/fcitx/mozc |
Licenses: | GPL, custom, LGPL, MIT, Apache |
Conflicts: | fcitx-mozc |
Provides: | fcitx-mozc |
Submitter: | naoina |
Maintainer: | Nocifer |
Last Packager: | Nocifer |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2014-01-21 09:00 (UTC) |
Last Updated: | 2023-01-21 18:34 (UTC) |
Dependencies (7)
- fcitx
- mozcAUR (mozc-utAUR)
- bazel (bazel-gitAUR, bazel024-binAUR, bazel3-binAUR, bazelisk-gitAUR, bazeliskAUR, bazelisk-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- fcitx-configtool (optional)
Required by (1)
- fcitx-input-support (requires fcitx-mozc) (optional)
Sources (2)
tty170 commented on 2015-12-14 06:06 (UTC)
naoina commented on 2015-12-14 01:08 (UTC)
@tty170
I have fixed it.
Please rebuild after you remove edict-20151130.gz, x-ken-all-201511.zip and jigyosyo-201511.zip.
tty170 commented on 2015-12-14 00:43 (UTC)
edict-20151130.gz, x-ken-all-201511.zip and jigyosyo-201511.zip are downloded successfully, but sha512sum was faild.
x-ken-all-201511.zip and jigyosyo-201511.zip are downloaded as zip file but contents was html file.
And edict-20151130.gz can't expand file( gunzip said not gzip file)
Here is makepkg's error message.
==> Validating source files with sha512sums...
mozc-2.17.2106.102 ... Skipped
jsoncpp ... Skipped
japanese_usage_dictionary ... Skipped
gyp ... Skipped
protobuf ... Skipped
fontTools ... Skipped
x-ken-all-201511.zip ... FAILED
edict-20151130.gz ... FAILED
jigyosyo-201511.zip ... FAILED
mozcdic-ut-20151130.tar.bz2 ... Passed
EDICT_license.html ... Passed
mod-generate-mozc-ut.sh ... Passed
jsr305-2.0.2.jar ... Passed
fcitx-mozc-2.17.2102.102.1.patch ... Passed
fcitx-mozc-icon.tar.gz ... Passed
==> ERROR: One or more files did not pass the validity check!
Harukamy commented on 2015-11-07 01:04 (UTC)
Japanese Usage Dictionary 20150822 is now out of date.
20151002 is latest, and current URI is wrong.
Line of Japanese Usage Dictionary's location needs quote.
Please apply this patch and fix it.
--- PKGBUILD.orig 2015-11-07 09:57:16.678842211 +0900
+++ PKGBUILD 2015-11-07 09:56:35.892433038 +0900
@@ -54,7 +54,7 @@
_zipcode_rel=201507
_mozcver=2.17.2102.102
-_utdicver=20150822
+_utdicver=20151002
_protobuf_rev=172019c40bf548908ab09bfd276074c929d48415
_gyp_rev=cdf037c1edc0ba3b5d25f8e3973661efe00980cc
_jsoncpp_rev=11086dd6a7eba04289944367ca82cea71299ed70
@@ -85,7 +85,7 @@
"x-ken-all-${_zipcode_rel}.zip::https://www.codeplex.com/Download/Release?ProjectName=naoina&DownloadId=1481657&FileTime=130854558240170000&Build=21031"
"edict-${_utdicver}.gz::https://www.codeplex.com/Download/Release?ProjectName=naoina&DownloadId=1481658&FileTime=130854558241600000&Build=21031"
"jigyosyo-${_zipcode_rel}.zip::https://www.codeplex.com/Download/Release?ProjectName=naoina&DownloadId=1481659&FileTime=130854558244230000&Build=21031"
- mozcdic-ut-${_utdicver}.tar.bz2::http://osdn.jp/frs/chamber_redir.php?f=%2Fusers%2F8%2F8903%2Fmozcdic-ut-${_utdicver}.tar.bz2
+ "mozcdic-ut-${_utdicver}.tar.bz2::http://osdn.jp/frs/chamber_redir.php?m=iij&f=%2Fusers%2F9%2F9229%2Fmozcdic-ut-${_utdicver}.tar.bz2"
EDICT_license.html
mod-generate-mozc-ut.sh
http://findbugs.googlecode.com/svn/repos/release-repository/com/google/code/findbugs/jsr305/$_jsr305_ver/jsr305-$_jsr305_ver.jar
@@ -195,7 +195,7 @@
'612e7e41557f7549047c9a08d520995d2fb59114e31c619b866b1249038c8fb34075241db05a91d604718d59bc56a198a43c117a3012abf0b0467b0da5404a7f'
'c9d703f5d218ce3e5885d69acd7573afded85d1cfa76091d9c45a04c4221ad0c6c1c18514bce79399b40d1f8ed2de8ebc8fe6e081f685015b636d176fc758003'
'35cf18f04763ed473dec67266ee7d92266d0c5543cf9785393cc53bb6a37d42f32f7962a2c85a60845a4869540f003ccd52f6885e81b058f3b6196e58946230e'
- '114b9ec0ab02a2e2e5baf35599d327cbe9bbfe76968c468151047aa89c479cb3b8f006f1b2fa3fbe6b63a14a03d8be1eb45f332de380ce8a2b491a00846a3a16'
+ 'edb7b2e30249162fb10c3a3caac84323fc659a9184ca08cf8760b214379ff235924f81f1458b9ca4115546c395c9f2dd6e0e2a6d03f7bfa2fb298dcd9173adc3'
'4899c7ee01e387c7c5c628356a0b32e7ba28643580701b779138361ca657864ec17ae0f38d298d60e44093e52a3dfe37d922f780b791e3bd17fc4f056f22dbbb'
'4668967b324261b4643cf4876a65f82a7157df140ca9fa0aa89d5cd39c87961eeabfbe63b20a2acc393acdff6c6284477d47f5a1d4967db64e0521c65ef9c0e4'
'b3b832489ef9249b22d8a0b9d6eee1895c9d93ef53d5968724a65184cb3f04e17cc74938128b98916da7829c6566be0bc6d60fa8801248cc24620730a060eac6'
Harukamy commented on 2015-03-01 02:22 (UTC)
Hi,
I post my match for current revisions Japanese Usage Dictionary and current mozcdics.
Please apply and fix it.
--- PKGBUILD.orig 2015-03-01 11:18:28.842696275 +0900
+++ PKGBUILD 2015-03-01 11:16:45.959266354 +0900
@@ -53,11 +53,11 @@
_bldtype=Release
_mozcver=1.15.1917.102
-_utdicver=20141110
+_utdicver=20150214
_zipcoderel=201410
_protobuf_rev=172019c40bf548908ab09bfd276074c929d48415
_gyp_rev=1987
-_japanese_usage_dictionary_rev=0
+_japanese_usage_dictionary_rev=10
_revision=383
_pkgbase=mozc
@@ -190,8 +190,8 @@
sha512sums=('SKIP'
'SKIP'
'SKIP'
- 'c3d75c33205073db45efc2b1e09e2274d84d18bb333d5198d2df4393e36cc5a668f703b5b017469fa41c95b112756645dda7024fe4cab3a202c7c693788d743d'
- 'bc985592dce28f1c2bbb93813b80092a089a1d20b6b1d9e3358db87571af598f18b1edd9ca9e51817001e94a1654a6bc971b15e7d5e78021de1cc81ab2178a9e'
+ '7f21d3761531399e8b05bd307ed425da290c6a3024cbf60534a392c4d5b160ca56d3c2b934becf455808e476a6bbaac1f9b5c7178bc1336fdb88d4d59213e659'
+ '3e1d08de98efff39f8fce81975deec8b0e3a2d66b6eba36c3d9d496b8ed62460147e6b7c845f9359b99da74a38f7f106ea164a96d8d885dedd7c35a255b90e0a'
'4899c7ee01e387c7c5c628356a0b32e7ba28643580701b779138361ca657864ec17ae0f38d298d60e44093e52a3dfe37d922f780b791e3bd17fc4f056f22dbbb'
'f74d2ddf95706b2925d87b3effa9490aa7cba1f5ce2c20e537f2ac4dfc4c6b6b531f90f8c128bca0f1eafd9197abb6e1f004c11a1ea7a978b2ccad5e85ad0d55'
'2befbb40957f9fdd2454af7cbde1c27da4570fd7f8519237d344b014f42504b642f95e31308a1a4b62f2ac327609270015a572dbc7de7a6a5a0a6ade889a39a0'
tuxsavvy commented on 2015-02-12 13:03 (UTC)
@naoina,
Here is my patch which fixes the dictionaries and all to the current latest revisions as well as gyp. fcitx-mozc and mozc aren't affected (revisions are retained) and this patch works as of writing (that is, compiles fine):
--- PKGBUILD.orig 2015-02-12 20:17:01.192291016 +0900
+++ PKGBUILD 2015-02-12 21:45:19.945520448 +0900
#***********************************************************************
@@ -53,11 +53,11 @@
_bldtype=Release
_mozcver=1.15.1917.102
-_utdicver=20141110
-_zipcoderel=201410
+_utdicver=20150114
+_zipcoderel=201501
_protobuf_rev=172019c40bf548908ab09bfd276074c929d48415
-_gyp_rev=1987
-_japanese_usage_dictionary_rev=0
+_gyp_rev=2031
+_japanese_usage_dictionary_rev=10
_revision=383
_pkgbase=mozc
@@ -112,10 +112,14 @@
# Copy japanese_usage_dictionary
mkdir third_party/japanese_usage_dictionary
+ # Redundancy, possibly also fixing up a bug
+ svn co -r $_japanese_usage_dictionary_rev http://japanese-usage-dictionary.googlecode.com/svn/trunk "$srcdir"/japanese_usage_dictionary
cp -a "$srcdir"/japanese_usage_dictionary/* third_party/japanese_usage_dictionary
# Copy gyp
mkdir third_party/gyp
+ # Redundancy, possibly also fixing up a bug
+ svn co -r $_gyp_rev http://gyp.googlecode.com/svn/trunk "$srcdir"/gyp
cp -a "${srcdir}"/gyp/* third_party/gyp
# Copy protobuf to be linked statically
@@ -190,12 +194,12 @@
sha512sums=('SKIP'
'SKIP'
'SKIP'
- 'c3d75c33205073db45efc2b1e09e2274d84d18bb333d5198d2df4393e36cc5a668f703b5b017469fa41c95b112756645dda7024fe4cab3a202c7c693788d743d'
- 'bc985592dce28f1c2bbb93813b80092a089a1d20b6b1d9e3358db87571af598f18b1edd9ca9e51817001e94a1654a6bc971b15e7d5e78021de1cc81ab2178a9e'
+ 'b3e5b7ac85e2b675ba0efd55ed6ee8c26d1b1ca2c6403df1445ac5e721d6688bc269ca695b7802b72a59ca9548a69f9e72215209a22774fe516e584e96037298'
+ 'ffcfa9402c5f91748d8e0335efee77f4cab6ff42b1dead73694c57a0d1c826c4c4f4d949217fcc6c17955e6952aeb920a257e731e8048223564a390addf17bc0'
'4899c7ee01e387c7c5c628356a0b32e7ba28643580701b779138361ca657864ec17ae0f38d298d60e44093e52a3dfe37d922f780b791e3bd17fc4f056f22dbbb'
'f74d2ddf95706b2925d87b3effa9490aa7cba1f5ce2c20e537f2ac4dfc4c6b6b531f90f8c128bca0f1eafd9197abb6e1f004c11a1ea7a978b2ccad5e85ad0d55'
- '2befbb40957f9fdd2454af7cbde1c27da4570fd7f8519237d344b014f42504b642f95e31308a1a4b62f2ac327609270015a572dbc7de7a6a5a0a6ade889a39a0'
- 'f5a479fa9f27465acd7fb6b787339d1f6f0f478c6fccf42384c4675d26495c9bc7839233e7b8b0c9a37818af37bc4e2de4d9483e923a067055015d587a009f60'
+ 'b079d229b72422273f28f9354fcae5a068b2567ee9919ebdd5559b9c04b6e47cef448c28c5bd7374b6120bec81ad4dfddb03bd9a431dd9b2d1d43a1cb87a0ee5'
+ '3c9c505ccf2554f705b202c14854f1e76e9219e3899816e0255f4e80f8dd96e430e17ed9431d97adac7fad9f3335ed2a1eac326aec8532eb74508e8bfd4147eb'
'SKIP'
'7a5bcedc8c3174fb65bdfd2126abae0f7432bc5b10dfdce7cd9703bdeac4a5652cc3be59b2a6829184a1b4e0199bf9606db79c2cef7858c2ccc6a5a367b229c6'
'5507c637e5a65c44ccf6e32118b6d16647ece865171b9a77dd3c78e6790fbd97e6b219e68d2e27750e22074eb536bccf8d553c295d939066b72994b86b2f251a')
The patch also addresses an issue that may happen to those running AUR wrappers and finding out Japanese usage dictionary files were missing for instance.
Summary of dictionary/postal codes/gyp version changes in patch:
Line 56: _utdicver=20150114
Line 57: _zipcoderel=201501
Line 59: _gyp_rev=2031
Line 60: _japanese_usage_dictionary_rev=10
Thanks to amazingfate for pointing out _japanese_usage_dictionary_rev is now at 10. Using 0 for instance may not work.
Thanks again naoina for continuing to maintain this package, keep up the good work!
@amazingfate, doubt it. For mozc in order to work with fcitx, the fcitx devs needs to push patches and the latest released was for patching against mozc 1.15.
Pinned Comments
Nocifer commented on 2022-05-29 21:56 (UTC)
Due to the recent GCC 12.1 update, if you try to update a Mozc package that was built with an older GCC version you will need to yet again delete your Bazel cache (
~/.cache/bazel/...
by default) in order to prevent the following error (or some such):It's more than likely that this error can also be prevented by removing one or more specific files within Bazel's cache instead of the whole lot of it, so in the future such toolchain updates may become much less painful; but for the time being, and unless otherwise noted, be aware that an updated toolchain will always mean that you need to delete Bazel's cache and suffer a full recompilation.