==> Building on articuno ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/opencc ./ .SRCINFO 812 100% 0.00kB/s 0:00:00 812 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 2,059 100% 1.96MB/s 0:00:00 2,059 100% 1.96MB/s 0:00:00 (xfr#2, to-chk=1/4) opencc-1.1.7-2.log 472 100% 460.94kB/s 0:00:00 472 100% 460.94kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,828 bytes received 114 bytes 3,884.00 bytes/sec total size is 3,066 speedup is 1.58 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root30 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root30]...done ==> Making package: opencc 1.1.7-2 (Thu May 23 08:39:08 2024) ==> Retrieving sources...  -> Downloading opencc-1.1.7.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 236k 0 236k 0 0 113k 0 --:--:-- 0:00:02 --:--:-- 272k 100 2533k 0 2533k 0 0 822k 0 --:--:-- 0:00:03 --:--:-- 1359k 100 3234k 0 3234k 0 0 962k 0 --:--:-- 0:00:03 --:--:-- 1509k ==> Validating source files with sha512sums... opencc-1.1.7.tar.gz ... Passed ==> Making package: opencc 1.1.7-2 (Thu May 23 08:39:39 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (40) New Version Net Change Download Size extra/clang 17.0.6-2 200.56 MiB extra/compiler-rt 17.0.6-2 60.25 MiB extra/cppdap 1.58.0-1 1.37 MiB core/expat 2.6.2-1 0.38 MiB extra/fmt 10.2.0-1 1.54 MiB extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20230828_3.1-1 0.24 MiB extra/libuv 1.48.0-2 0.56 MiB extra/llvm-libs 17.0.6-5 117.17 MiB extra/mpdecimal 4.0.0-2 0.29 MiB core/python 3.12.3-1 105.93 MiB extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-fastjsonschema 2.19.1-3 0.26 MiB extra/python-inflect 7.2.1-2 0.36 MiB extra/python-jaraco.context 4.3.0-4 0.03 MiB extra/python-jaraco.functools 4.0.0-3 0.07 MiB extra/python-jaraco.text 3.12.0-3 0.08 MiB extra/python-more-itertools 10.2.0-2 0.61 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-packaging 24.0-1 0.50 MiB extra/python-platformdirs 4.2.0-3 0.23 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-trove-classifiers 2024.5.17-1 0.12 MiB extra/python-typeguard 4.2.1-2 0.40 MiB extra/python-typing_extensions 4.11.0-1 0.38 MiB extra/python-validate-pyproject 0.16-1 0.31 MiB extra/rhash 1.4.4-1 0.31 MiB extra/spdlog 1.14.1-1 0.62 MiB extra/chrpath 0.17-1 0.06 MiB extra/cmake 3.29.3-1 67.26 MiB extra/darts 0.32-1 0.04 MiB 0.02 MiB extra/doxygen 1.11.0-1 17.55 MiB extra/gtest 1.14.0-1 2.01 MiB extra/marisa 0.2.6-12 0.32 MiB extra/pybind11 2.12.0-4 0.89 MiB 0.18 MiB extra/python-setuptools 1:69.0.3-6 4.39 MiB extra/python-wheel 0.43.0-4 0.25 MiB extra/rapidjson 1.1.0-5 0.62 MiB extra/tclap 1.2.5-1 0.15 MiB 0.03 MiB Total Download Size: 0.22 MiB Total Installed Size: 587.66 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... pybind11-2.12.0-4-any downloading... tclap-1.2.5-1-any downloading... darts-0.32-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing chrpath... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui installing darts... installing libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format [pending] llvm: referenced by some clang headers installing fmt... installing spdlog... installing doxygen... Optional dependencies for doxygen graphviz: for caller/callee graph generation qt6-base: for doxywizard texlive-fontsrecommended: for generating LaTeX, Postscript and PDF output texlive-fontutils: for generating LaTeX, Postscript and PDF output texlive-latexextra: for generating LaTeX, Postscript and PDF output texlive-plaingeneric: for generating LaTeX, Postscript and PDF output installing marisa... installing pybind11... Optional dependencies for pybind11 python-setuptools: for python bindings [pending] installing expat... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python [pending] python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing rapidjson... installing tclap... installing gtest... Optional dependencies for gtest python: gmock generator [installed] [?25h==> Retrieving sources...  -> Found opencc-1.1.7.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting opencc-1.1.7.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. -- The CXX compiler identification is GNU 14.1.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- libmarisa found: /usr/lib/libmarisa.so -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Found Doxygen: /usr/bin/doxygen (found version "1.11.0") found components: doxygen missing components: dot CMake Warning (dev) at data/CMakeLists.txt:1 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python (found version "3.12.3") CMake Warning (dev) at /usr/lib/cmake/pybind11/FindPythonLibsNew.cmake:101 (message): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning, or preferably upgrade to using FindPython, either by calling it explicitly before pybind11, or by setting PYBIND11_FINDPYTHON ON before pybind11. Call Stack (most recent call first): /usr/lib/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /usr/lib/cmake/pybind11/pybind11Common.cmake:192 (include) /usr/lib/cmake/pybind11/pybind11Config.cmake:250 (include) CMakeLists.txt:249 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python (found suitable version "3.12.3", minimum required is "3.6") -- Found PythonLibs: /usr/lib/libpython3.12.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.12.0") -- Configuring done (9.0s) -- Generating done (0.3s) -- Build files have been written to: /build/opencc/src/OpenCC-ver.1.1.7 [ 1%] Building API Documentation [ 2%] Building CXX object src/CMakeFiles/libopencc.dir/ConversionChain.cpp.o [ 3%] Building CXX object src/CMakeFiles/libopencc.dir/Config.cpp.o [ 4%] Building CXX object src/CMakeFiles/libopencc.dir/Converter.cpp.o [ 6%] Building CXX object src/CMakeFiles/libopencc.dir/Conversion.cpp.o [ 7%] Building CXX object src/CMakeFiles/libopencc.dir/DictConverter.cpp.o [ 9%] Building CXX object src/CMakeFiles/libopencc.dir/DictEntry.cpp.o [ 11%] Building CXX object src/CMakeFiles/libopencc.dir/Dict.cpp.o [ 11%] Building CXX object src/CMakeFiles/libopencc.dir/DictGroup.cpp.o [ 12%] Building CXX object src/CMakeFiles/libopencc.dir/MarisaDict.cpp.o [ 14%] Building CXX object src/CMakeFiles/libopencc.dir/MaxMatchSegmentation.cpp.o [ 14%] Building CXX object src/CMakeFiles/libopencc.dir/Lexicon.cpp.o [ 18%] Building CXX object src/CMakeFiles/libopencc.dir/SimpleConverter.cpp.o [ 18%] Building CXX object src/CMakeFiles/libopencc.dir/PhraseExtract.cpp.o [ 18%] Building CXX object src/CMakeFiles/libopencc.dir/SerializedValues.cpp.o [ 19%] Building CXX object src/CMakeFiles/libopencc.dir/Segmentation.cpp.o warning: Tag 'TCL_SUBST' at line 205 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 850 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_TIMESTAMP' at line 956 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'FORMULA_TRANSPARENT' at line 1178 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'LATEX_SOURCE_CODE' at line 1364 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 1617 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 1629 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 1638 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTNAME' at line 1668 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTSIZE' at line 1673 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_TRANSPARENT' at line 1822 of file '/build/opencc/src/OpenCC-ver.1.1.7/doc/opencc.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" [ 20%] Building CXX object src/CMakeFiles/libopencc.dir/TextDict.cpp.o warning: Specified markdown mainpage 'README.md' has not been defined as input file [ 20%] Built target apidoc [ 22%] Building CXX object src/CMakeFiles/libopencc.dir/UTF8StringSlice.cpp.o In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Lexicon.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/SerializedValues.cpp:22: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.cpp:19: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/Converter.cpp:23: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Lexicon.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/TextDict.cpp:22: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Lexicon.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Lexicon.cpp:21: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/SerializableDict.hpp:21, from /build/opencc/src/OpenCC-ver.1.1.7/src/MarisaDict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictConverter.cpp:20: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.cpp:21: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/ConversionChain.cpp:22: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictGroup.hpp:24, from /build/opencc/src/OpenCC-ver.1.1.7/src/MaxMatchSegmentation.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/MaxMatchSegmentation.cpp:19: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Conversion.cpp:20: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictGroup.hpp:24, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictGroup.cpp:22: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/Config.cpp:23: /usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef& rapidjson::GenericStringRef::operator=(const rapidjson::GenericStringRef&)’: /usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef::length’ 319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } | ~~~~~~~^~~~~~~~~~~~ In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Lexicon.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/MarisaDict.cpp:25: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying [ 23%] Building CXX object src/CMakeFiles/libopencc.dir/UTF8Util.cpp.o [ 24%] Building CXX object src/CMakeFiles/libopencc.dir/BinaryDict.cpp.o [ 25%] Building CXX object src/CMakeFiles/libopencc.dir/DartsDict.cpp.o In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DictGroup.hpp:24, from /build/opencc/src/OpenCC-ver.1.1.7/src/Config.cpp:28: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/SerializableDict.hpp:21, from /build/opencc/src/OpenCC-ver.1.1.7/src/BinaryDict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/DartsDict.cpp:22: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying In file included from /build/opencc/src/OpenCC-ver.1.1.7/src/DictEntry.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/Dict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/SerializableDict.hpp:21, from /build/opencc/src/OpenCC-ver.1.1.7/src/BinaryDict.hpp:22, from /build/opencc/src/OpenCC-ver.1.1.7/src/BinaryDict.cpp:23: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp: In constructor ‘opencc::Segments::Segments(std::initializer_list)’: /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: warning: loop variable ‘item’ of type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct] 35 | for (const std::string& item : initList) { | ^~~~ /build/opencc/src/OpenCC-ver.1.1.7/src/Segments.hpp:35:29: note: use non-reference type ‘const std::string’ {aka ‘const std::__cxx11::basic_string’} to make the copy explicit or ‘const char* const&’ to prevent copying make[2]: *** [src/CMakeFiles/libopencc.dir/build.make:76: src/CMakeFiles/libopencc.dir/Config.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:986: src/CMakeFiles/libopencc.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root30/build [?25h[?25hreceiving incremental file list opencc-1.1.7-2-riscv64-build.log opencc-1.1.7-2-riscv64-prepare.log sent 62 bytes received 2,646 bytes 5,416.00 bytes/sec total size is 22,877 speedup is 8.45