Skip to content

Update installer.ts - #29

Merged
nhktmdzhg merged 1 commit into
LotusInputMethod:mainfrom
Coolllyn:ELEMEMT
Sep 14, 2026
Merged

nhktmdzhg merged 1 commit into
LotusInputMethod:mainfrom
Coolllyn:ELEMEMT

Conversation

@Coolllyn

@Coolllyn Coolllyn commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

PR này thêm lại gettext để build cho đúng ( LÀ GETTEXT CHỨ KHÔNG PHẢI GETTEXT-DEVEL)
lỗi tại mình

@nhktmdzhg

Copy link
Copy Markdown
Contributor

ụa sao bạn bảo môi trường chroot không có gettext vẫn build đc

@Coolllyn

Copy link
Copy Markdown
Contributor Author

ý là nó là gettext-devel, khác biệt so với gettext

@nhktmdzhg

Copy link
Copy Markdown
Contributor

chứ build depend nó phải là -devel mới chuẩn, build đâu cần gettext đâu, mình lấy header thôi

@nhktmdzhg

Copy link
Copy Markdown
Contributor

ý là nó là gettext-devel, khác biệt so với gettext

bạn thử xoá luôn cả gettext xem, tại mình thấy 1 là dùng -devel, 2 là 0 cần luôn

@Coolllyn

Copy link
Copy Markdown
Contributor Author

Ok, để mình test

@Coolllyn

Copy link
Copy Markdown
Contributor Author

=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> fcitx5-lotus-3.5.9_3: removing autodeps, please wait...
=> fcitx5-lotus-3.5.9_3: building with [cmake] for x86_64...
[host] extra-cmake-modules-6.29.0_1: found (https://repo-fastly.voidlinux.org/current)
[host] pkgconf-2.1.0_1: found (https://repo-fastly.voidlinux.org/current)
[host] go-1.27.1_1: found (/host/binpkgs)
[host] python3-3.14.7_1: found (https://repo-fastly.voidlinux.org/current)
[host] librsvg-utils-2.59.2_2: found (https://repo-fastly.voidlinux.org/current)
[host] cmake-bootstrap-4.1.2_1: found (https://repo-fastly.voidlinux.org/current/bootstrap)
[host] ninja-1.13.2_2: found (https://repo-fastly.voidlinux.org/current)
[check] fcitx5-5.1.21_1: found (https://repo-fastly.voidlinux.org/current)
[check] iso-codes-4.20.1_1: found (https://repo-fastly.voidlinux.org/current)
[check] xkeyboard-config-2.48_1: found (https://repo-fastly.voidlinux.org/current)
[target] libfcitx5-devel-5.1.21_1: found (https://repo-fastly.voidlinux.org/current)
[target] libinput-devel-1.31.3_2: found (https://repo-fastly.voidlinux.org/current)
[target] eudev-libudev-devel-3.2.14_2: found (https://repo-fastly.voidlinux.org/current)
[runtime] fcitx5-5.1.21_1: found (https://repo-fastly.voidlinux.org/current)
[runtime] acl-progs-2.4.0_1: found (https://repo-fastly.voidlinux.org/current)
[runtime] fcitx5-lotus-3.5.9_3: found (/host/binpkgs)
[runtime] fcitx5-lotus-3.5.9_3: found (/host/binpkgs)
[runtime] python3-3.14.7_1: found (https://repo-fastly.voidlinux.org/current)
[runtime] python3-QtPy-2.4.3_3: found (https://repo-fastly.voidlinux.org/current)
[runtime] python3-pyqt6-6.11.0_2: found (https://repo-fastly.voidlinux.org/current)
[runtime] python3-dbus-1.3.2_5: found (https://repo-fastly.voidlinux.org/current)
[runtime] python3-pyqt6-widgets-6.11.0_2: found (https://repo-fastly.voidlinux.org/current)
[runtime] python3-pyqt6-gui-6.11.0_2: found (https://repo-fastly.voidlinux.org/current)
=> fcitx5-lotus-3.5.9_3: installing host dependencies: extra-cmake-modules-6.29.0_1 pkgconf-2.1.0_1 go-1.27.1_1 python3-3.14.7_1 librsvg-utils-2.59.2_2 cmake-bootstrap-4.1.2_1 ninja-1.13.2_2 fcitx5-5.1.21_1 iso-codes-4.20.1_1 xkeyboard-config-2.48_1 ...
=> fcitx5-lotus-3.5.9_3: installing target dependencies: libfcitx5-devel-5.1.21_1 libinput-devel-1.31.3_2 eudev-libudev-devel-3.2.14_2 ...
=> fcitx5-lotus-3.5.9_3: running do-fetch hook: 00-distfiles ...
=> fcitx5-lotus-3.5.9_3: running do-extract hook: 00-distfiles ...
=> fcitx5-lotus-3.5.9_3: extracting distfile(s), please wait...
=> fcitx5-lotus-3.5.9_3: running post_extract ...
=> fcitx5-lotus-3.5.9_3: running do-patch hook: 00-patches ...
=> fcitx5-lotus-3.5.9_3: patching: not_Fcitx5Utils.patch.
=> fcitx5-lotus-3.5.9_3: patching: rm-libx11.patch.
=> fcitx5-lotus-3.5.9_3: running pre-configure hook: 00-gnu-configure-asneeded ...
=> fcitx5-lotus-3.5.9_3: running pre-configure hook: 01-override-config ...
=> fcitx5-lotus-3.5.9_3: running pre-configure hook: 02-script-wrapper ...
=> fcitx5-lotus-3.5.9_3: running do_configure ...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Fcitx, adopting their path scheme by default
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Pthread: /usr/include
CMake Error at /usr/libexec/xbps-src/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
/usr/libexec/xbps-src/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
/usr/libexec/xbps-src/share/cmake-4.1/Modules/FindGettext.cmake:409 (find_package_handle_standard_args)
CMakeLists.txt:30 (find_package)

-- Configuring incomplete, errors occurred!
=> ERROR: fcitx5-lotus-3.5.9_3: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${XBPS_VERBOSE--Wno-dev} ${cmake_args} ${configure_args} -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} ${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR: in do_configure() at common/build-style/cmake.sh:78
đó, bỏ gettext ra lỗi build

@Coolllyn

Copy link
Copy Markdown
Contributor Author

nothing@void ~/v/s/f/patches (master)> vpm fl gettext
/usr/bin/envsubst
/usr/bin/gettext
/usr/bin/gettext.sh
/usr/bin/msgattrib
/usr/bin/msgcat
/usr/bin/msgcmp
/usr/bin/msgcomm
/usr/bin/msgconv
/usr/bin/msgen
/usr/bin/msgexec
/usr/bin/msgfilter
/usr/bin/msgfmt
/usr/bin/msggrep
/usr/bin/msginit
/usr/bin/msgmerge
/usr/bin/msgunfmt
/usr/bin/msguniq
/usr/bin/ngettext
/usr/bin/recode-sr-latin
/usr/bin/xgettext
/usr/lib/gettext/cldr-plurals
/usr/lib/gettext/hostname
/usr/lib/gettext/project-id
/usr/lib/gettext/urlget
/usr/lib/gettext/user-email
/usr/lib/libgettextlib-0.22.5.so
/usr/lib/libgettextpo.so.0.5.10
/usr/lib/libgettextsrc-0.22.5.so
/usr/lib/libtextstyle.so.0.2.1
/usr/lib/preloadable_libintl.so
/usr/share/doc/libtextstyle/libtextstyle_1.html
/usr/share/doc/libtextstyle/libtextstyle_2.html
/usr/share/doc/libtextstyle/libtextstyle_3.html
/usr/share/doc/libtextstyle/libtextstyle_4.html
/usr/share/doc/libtextstyle/libtextstyle_5.html
/usr/share/doc/libtextstyle/libtextstyle_6.html
/usr/share/doc/libtextstyle/libtextstyle_7.html
/usr/share/doc/libtextstyle/libtextstyle_abt.html
/usr/share/doc/libtextstyle/libtextstyle_toc.html
/usr/share/gettext-0.22.5/its/glade.loc
/usr/share/gettext-0.22.5/its/glade1.its
/usr/share/gettext-0.22.5/its/glade2.its
/usr/share/gettext-0.22.5/its/gsettings.its
/usr/share/gettext-0.22.5/its/gsettings.loc
/usr/share/gettext-0.22.5/its/gtkbuilder.its
/usr/share/gettext-0.22.5/its/metainfo.its
/usr/share/gettext-0.22.5/its/metainfo.loc
/usr/share/info/gettext.info
/usr/share/info/libtextstyle.info
/usr/share/locale/ast/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/be/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/be/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/bg/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/bg/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ca/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ca/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/cs/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/cs/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/da/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/da/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/de/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/de/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/el/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/el/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/en@quot/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/eo/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/es/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/es/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/et/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/et/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/eu/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/fi/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/fi/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/fr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/fr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ga/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/gl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/gl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/hr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/hr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/hu/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/id/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/id/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/it/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/it/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ja/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ja/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ka/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ka/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ko/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ko/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nb/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nb/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/nn/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/nn/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pa/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pt/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pt/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ro/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ro/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/ru/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/ru/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sk/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sk/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sl/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sl/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/sv/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/sv/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/tr/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/tr/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/uk/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/uk/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/vi/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/vi/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo
/usr/share/man/man1/envsubst.1
/usr/share/man/man1/gettext.1
/usr/share/man/man1/msgattrib.1
/usr/share/man/man1/msgcat.1
/usr/share/man/man1/msgcmp.1
/usr/share/man/man1/msgcomm.1
/usr/share/man/man1/msgconv.1
/usr/share/man/man1/msgen.1
/usr/share/man/man1/msgexec.1
/usr/share/man/man1/msgfilter.1
/usr/share/man/man1/msgfmt.1
/usr/share/man/man1/msggrep.1
/usr/share/man/man1/msginit.1
/usr/share/man/man1/msgmerge.1
/usr/share/man/man1/msgunfmt.1
/usr/share/man/man1/msguniq.1
/usr/share/man/man1/ngettext.1
/usr/share/man/man1/recode-sr-latin.1
/usr/share/man/man1/xgettext.1
/usr/lib/libgettextpo.so.0 -> /usr/lib/libgettextpo.so.0.5.10
/usr/lib/libtextstyle.so.0 -> /usr/lib/libtextstyle.so.0.2.1
nothing@void ~/v/s/f/patches (master)> vpm fl gettext-devel
/usr/include/gettext-po.h
/usr/include/textstyle/stdbool.h
/usr/include/textstyle/version.h
/usr/include/textstyle/woe32dll.h
/usr/include/textstyle.h
/usr/lib/libgettextlib.a
/usr/lib/libgettextpo.a
/usr/lib/libgettextsrc.a
/usr/lib/libtextstyle.a
/usr/share/man/man3/bind_textdomain_codeset.3
/usr/share/man/man3/bindtextdomain.3
/usr/share/man/man3/dcgettext.3
/usr/share/man/man3/dcngettext.3
/usr/share/man/man3/dgettext.3
/usr/share/man/man3/dngettext.3
/usr/share/man/man3/gettext.3
/usr/share/man/man3/ngettext.3
/usr/share/man/man3/textdomain.3
/usr/lib/libgettextlib.so -> /usr/lib/libgettextlib-0.22.5.so
/usr/lib/libgettextpo.so -> /usr/lib/libgettextpo.so.0.5.10
/usr/lib/libgettextsrc.so -> /usr/lib/libgettextsrc-0.22.5.so
/usr/lib/libtextstyle.so -> /usr/lib/libtextstyle.so.0.2.1
nothing@void ~/v/s/f/patches (master)>

2 gói này trên void cung cấp 2 cái khác nhau

@nhktmdzhg

Copy link
Copy Markdown
Contributor

hmmmmmmmm, hơi ngược đời so với các distro khác ta, kiểu mấy gói khác trong makedep là -devel nhưng thằng này 0 phải devel, quái vl

@Coolllyn

Coolllyn commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

cấu trúc void nó thế, họ ưu tiên tối đa tính nguyên bản của upstream mà

@nhktmdzhg

Copy link
Copy Markdown
Contributor

cấu trúc void nó thế, họ ưu tiên tối đa tính nguyên bản của upstream mà

ờm không liên quan đến cái mình đang nói lắm, ý mình là các gói khác nó đều là -devel hết mà

@Coolllyn

Copy link
Copy Markdown
Contributor Author

cấu trúc void nó thế, họ ưu tiên tối đa tính nguyên bản của upstream mà

ờm không liên quan đến cái mình đang nói lắm, ý mình là các gói khác nó đều là -devel hết mà

à, thế à

@Coolllyn

Copy link
Copy Markdown
Contributor Author

Mình cũng chả bieets tại sao lắm, họ thích thế thì mình cũng chả biết

@nhktmdzhg

Copy link
Copy Markdown
Contributor

thua

@nhktmdzhg
nhktmdzhg merged commit b031d7f into LotusInputMethod:main Sep 14, 2026
1 check passed
@Coolllyn
Coolllyn deleted the ELEMEMT branch September 14, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants