Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fcitx5-lua.spec'], chrootPath='/var/lib/mock/f37-build-674555-75879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fcitx5-lua.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1661817600 Wrote: /builddir/build/SRPMS/fcitx5-lua-5.0.10-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fcitx5-lua.spec'], chrootPath='/var/lib/mock/f37-build-674555-75879/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fcitx5-lua.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1661817600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YqvzGR + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/0x8E8B898CBF2412F9 --signature=/builddir/build/SOURCES/fcitx5-lua-5.0.10.tar.xz.sig --data=/builddir/build/SOURCES/fcitx5-lua-5.0.10.tar.xz gpgv: Signature made Mon Aug 29 22:17:38 2022 EDT gpgv: using RSA key 2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9 gpgv: Good signature from "Weng Xuetian " gpgv: aka "Weng Xuetian " + cd /builddir/build/BUILD + rm -rf fcitx5-lua-5.0.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fcitx5-lua-5.0.10.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fcitx5-lua-5.0.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cCpzvf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fcitx5-lua-5.0.10 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Lua: /usr/lib64/liblua-5.4.so;/usr/lib64/libm.so (found suitable version "5.4.4", minimum required is "5.3") -- Installing in the same prefix as Fcitx, adopting their path scheme by default -- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- Looking for pthread_create -- Looking for pthread_create - found -- Found Pthread: /usr/include -- The following REQUIRED packages have been found: * ECM * Lua (required version >= 5.3) * Gettext * Pthread * Fcitx5ModuleTestFrontend * Fcitx5ModuleTestIM * Fcitx5ModuleQuickPhrase * Fcitx5Module -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose [1/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build && /usr/bin/msgfmt --xml -d /builddir/build/BUILD/fcitx5-lua-5.0.10/po --template /builddir/build/BUILD/fcitx5-lua-5.0.10/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml.in -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml [2/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dluaaddonloader_EXPORTS -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.cpp [3/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dluaaddonloader_EXPORTS -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddon.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddon.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddon.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddon.cpp [4/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-lua-5.0.10/po --template /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader/luaaddonloader.conf.in -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader/luaaddonloader.conf [5/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/imeapi && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-lua-5.0.10/po --template /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/imeapi/imeapi.conf.in -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/imeapi/imeapi.conf [6/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-da.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/da.po [7/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-fr.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/fr.po [8/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-ja.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/ja.po [9/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-ko.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/ko.po [10/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-ru.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/ru.po [11/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-zh_CN.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/zh_CN.po [12/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/po/fcitx5-lua-zh_TW.mo /builddir/build/BUILD/fcitx5-lua-5.0.10/po/zh_TW.po [13/19] cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon && /usr/bin/cmake -E copy /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader/luaaddonloader.conf /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon/luaaddonloader.conf && cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon && /usr/bin/cmake -E copy /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/imeapi/imeapi.conf /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon/imeapi.conf && cd /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon && /usr/bin/cmake -E copy /builddir/build/BUILD/fcitx5-lua-5.0.10/test/addon/testlua.conf /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test/addon [14/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dluaaddonloader_EXPORTS -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonloader.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonloader.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonloader.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonloader.cpp [15/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dluaaddonloader_EXPORTS -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luahelper.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luahelper.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luahelper.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luahelper.cpp [16/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/test -I/builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/testfrontend -I/usr/include/Fcitx5/Module/fcitx-module/testim -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT test/CMakeFiles/testlua.dir/testlua.cpp.o -MF test/CMakeFiles/testlua.dir/testlua.cpp.o.d -o test/CMakeFiles/testlua.dir/testlua.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/test/testlua.cpp [17/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dluaaddonloader_EXPORTS -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build -I/builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build/src/addonloader -I/usr/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonstate.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonstate.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonstate.cpp.o -c /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::InputContextEvent]': /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:176:48: required from here /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ In file included from /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:10, from /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luahelper.h:10, from /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.h:10, from /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:7: /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::KeyEvent]': /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:180:39: required from here /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::CommitStringEvent]': /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:196:48: required from here /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::InputMethodNotificationEvent]': /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:206:59: required from here /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::InputContextSwitchInputMethodEvent]': /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:215:65: required from here /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-lua-5.0.10/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ [18/19] : && /usr/bin/g++ -fPIC -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o src/addonloader/libluaaddonloader.so src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonstate.cpp.o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonloader.cpp.o src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddon.cpp.o src/addonloader/CMakeFiles/luaaddonloader.dir/luahelper.cpp.o /usr/lib64/libFcitx5Core.so.5.0.19 /usr/lib64/libFcitx5Config.so.5.0.19 /usr/lib64/libFcitx5Utils.so.5.0.19 && : [19/19] : && /usr/bin/g++ -Wall -Wextra -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes test/CMakeFiles/testlua.dir/testlua.cpp.o -o test/testlua /usr/lib64/libFcitx5Core.so.5.0.19 /usr/lib64/libFcitx5Config.so.5.0.19 /usr/lib64/libFcitx5Utils.so.5.0.19 && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LBAzwS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fcitx5-lua-5.0.10 + DESTDIR=/builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/metainfo/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/lib64/fcitx5/libluaaddonloader.so -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/fcitx5/addon/luaaddonloader.conf -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/lib64/cmake/Fcitx5ModuleLuaAddonLoader/Fcitx5ModuleLuaAddonLoaderConfig.cmake -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/lib64/cmake/Fcitx5ModuleLuaAddonLoader/Fcitx5ModuleLuaAddonLoaderConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/include/Fcitx5/Module/fcitx-module/luaaddonloader/luaaddon_public.h -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/fcitx5/addon/imeapi.conf -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/fcitx5/lua/imeapi/imeapi.lua -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/da/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/fr/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/ja/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/ko/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/ru/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/zh_CN/LC_MESSAGES/fcitx5-lua.mo -- Installing: /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/locale/zh_TW/LC_MESSAGES/fcitx5-lua.mo + install -d /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/lua/imeapi/extensions + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/metainfo/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/share/metainfo/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml: OK + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64 fcitx5-lua + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.0.10-1.fc37 --unique-debug-suffix -5.0.10-1.fc37.riscv64 --unique-debug-src-base fcitx5-lua-5.0.10-1.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fcitx5-lua-5.0.10 extracting debug info from /builddir/build/BUILDROOT/fcitx5-lua-5.0.10-1.fc37.riscv64/usr/lib64/fcitx5/libluaaddonloader.so original debug info size: 5004kB, size after compression: 4752kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 97 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AlHMW9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fcitx5-lua-5.0.10 + cd redhat-linux-build + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j4 Test project /builddir/build/BUILD/fcitx5-lua-5.0.10/redhat-linux-build Start 1: testlua 1/1 Test #1: testlua ..........................Subprocess aborted***Exception: 0.89 sec D2022-11-12 10:13:18.040126 i18n.cpp:32] Add gettext domain fcitx5 at /usr/share/locale D2022-11-12 10:13:18.068961 instance.cpp:1768] Trigger Key: Control+space Zenkaku_Hankaku Hangul I2022-11-12 10:13:18.069503 instance.cpp:1252] Override Enabled Addons: {testlua, imeapi, luaaddonloader, testfrontend, testim} I2022-11-12 10:13:18.070294 instance.cpp:1253] Override Disabled Addons: {all} D2022-11-12 10:13:18.073723 addonmanager.cpp:154] Call loadAddon() with testim checkDependencies() returns 0 Dep: [] OptDep: [] I2022-11-12 10:13:18.075311 addonmanager.cpp:191] Loaded addon testim D2022-11-12 10:13:18.075754 addonmanager.cpp:154] Call loadAddon() with testfrontend checkDependencies() returns 0 Dep: [] OptDep: [] I2022-11-12 10:13:18.077108 addonmanager.cpp:191] Loaded addon testfrontend D2022-11-12 10:13:18.077538 addonmanager.cpp:154] Call loadAddon() with testlua checkDependencies() returns 2 Dep: [(luaaddonloader, SemanticVersion(0.1.0))] OptDep: [] D2022-11-12 10:13:18.078512 addonmanager.cpp:154] Call loadAddon() with imeapi checkDependencies() returns 1 Dep: [(luaaddonloader, SemanticVersion(0.1.0))] OptDep: [] D2022-11-12 10:13:18.079482 addonmanager.cpp:154] Call loadAddon() with luaaddonloader checkDependencies() returns 0 Dep: [] OptDep: [(quickphrase, SemanticVersion(0.1.0))] E2022-11-12 10:13:18.082459 luaaddonloader.cpp:21] Failed to load lua library: ld-linux-riscv64-lp64d.so.1: cannot open shared object file: No such file or directory E2022-11-12 10:13:18.083153 addonloader.cpp:61] Failed to create addon: luaaddonloader Failed to resolve lua functions. I2022-11-12 10:13:18.083656 addonmanager.cpp:188] Could not load addon luaaddonloader D2022-11-12 10:13:18.084074 addonmanager.cpp:154] Call loadAddon() with testlua checkDependencies() returns 3 Dep: [(luaaddonloader, SemanticVersion(0.1.0))] OptDep: [] D2022-11-12 10:13:18.085044 addonmanager.cpp:154] Call loadAddon() with imeapi checkDependencies() returns 3 Dep: [(luaaddonloader, SemanticVersion(0.1.0))] OptDep: [] I2022-11-12 10:13:18.086302 inputmethodmanager.cpp:198] Found 3 input method(s) in addon testim I2022-11-12 10:13:18.086897 inputmethodmanager.cpp:117] No valid input method group in configuration. Building a default one I2022-11-12 10:13:18.087501 instance.cpp:342] Items in Default: [InputMethodGroupItem(keyboard-us,layout=)] I2022-11-12 10:13:18.088180 instance.cpp:347] Generated groups: [Default] F2022-11-12 10:13:18.088874 testlua.cpp:27] luaaddonloader failed. 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.90 sec The following tests FAILED: 1 - testlua (Subprocess aborted) Errors while running CTest RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.AlHMW9 (%check) Bad exit status from /var/tmp/rpm-tmp.AlHMW9 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fcitx5-lua.spec