Article 5DDZ7 regression on -current with libpinyin

regression on -current with libpinyin

by
nobodino
from LinuxQuestions.org on (#5DDZ7)
One package doesn't build anymore with the new version of libpinyin.
- fcitx-libpinyin with the following errors
------------------
gen_binary_files: table_info.cpp:126: pinyin::TABLE_DATABASE_FORMAT_TYPE to_table_database_format_type(const char*): Assertion `FALSE' failed.
make[2]: *** [data/CMakeFiles/zhuyin_data.dir/build.make:111: data/bigram.db] Aborted
make[1]: *** [CMakeFiles/Makefile2:835: data/CMakeFiles/zhuyin_data.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Linking CXX shared module fcitx-libpinyin.so
[ 95%] Built target fcitx-libpinyin
make: *** [Makefile:149: all] Error 2
[ 0%] Built target fcitx-addon-fcitx-libpinyin--headers-1
[ 0%] Built target fcitx-scan-addons.target
[ 27%] Built target fcitx-libpinyin
Scanning dependencies of target fcitx-modules.target
[ 27%] Built target fcitx-modules.target
[ 63%] Built target fcitx-compile-mo.target
[ 63%] Built target fcitx-parse-pos.target
[ 63%] Built target fcitx-parse-pos.dependency
[ 68%] Built target fcitx-addon-fcitx-libpinyin--addon--conf-3
[ 72%] Built target fcitx-addon-fcitx-libpinyin--addon--conf-4
[ 77%] Built target fcitx-addon-fcitx-libpinyin--addon--conf-1
[ 81%] Built target fcitx-addon-fcitx-libpinyin--addon--conf-2
[ 81%] Built target fcitx-addon-fcitx-libpinyin--addon--desc-1
[ 81%] Built target fcitx-libpinyin--addon
[ 81%] Built target zhuyin_data_tar
[ 90%] Built target zhuyin-data-extract
[ 95%] Generating bigram.db, art.bin, gb_char.bin, history.bin, nature.bin, scitech.bin, culture.bin, gbk_char.bin, life.bin, society.bin, economy.bin, geology.bin, merged.bin, sport.bin, phrase_index.bin, pinyin_index.bin, addon_phrase_index.bin, addon_pinyin_index.bin
gen_binary_files: table_info.cpp:126: pinyin::TABLE_DATABASE_FORMAT_TYPE to_table_database_format_type(const char*): Assertion `FALSE' failed.
make[2]: *** [data/CMakeFiles/zhuyin_data.dir/build.make:111: data/bigram.db] Aborted
make[1]: *** [CMakeFiles/Makefile2:835: data/CMakeFiles/zhuyin_data.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
-----------------------------
If youd downgrade to libpinyin-2.3.0-x86_64-2.txz, it builds fine.latest?d=yIl2AUoC8zA latest?i=ygS8k8ba5mE:3x8lj9vrofQ:F7zBnMy latest?i=ygS8k8ba5mE:3x8lj9vrofQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=ygS8k8ba5mE:3x8lj9vrofQ:gIN9vFwygS8k8ba5mE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments