Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/opencc.spec'], chrootPath='/var/lib/mock/dist-an8.9-nde-build-351661-70918/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/opencc.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/opencc-1.0.5-5.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/opencc.spec'], chrootPath='/var/lib/mock/dist-an8.9-nde-build-351661-70918/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/opencc.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AA5FRh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenCC-ver.1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/OpenCC-ver.1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenCC-ver.1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (opencc-fixes-cmake.patch):' Patch #1 (opencc-fixes-cmake.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cmake --fuzz=0 patching file CMakeLists.txt patching file data/CMakeLists.txt + echo 'Patch #2 (opencc-check-bounds.patch):' Patch #2 (opencc-check-bounds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bounds --fuzz=0 patching file src/BinaryDict.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Nr4xWx + umask 022 + cd /builddir/build/BUILD + cd OpenCC-ver.1.0.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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 . -DENABLE_GETTEXT:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The CXX compiler identification is GNU 8.5.0 -- 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 -- 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.8.14") found components: doxygen missing components: dot -- 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 ENABLE_GETTEXT LIB_SUFFIX -- Build files have been written to: /builddir/build/BUILD/OpenCC-ver.1.0.5 + make VERBOSE=1 -j80 /usr/bin/cmake -S/builddir/build/BUILD/OpenCC-ver.1.0.5 -B/builddir/build/BUILD/OpenCC-ver.1.0.5 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/OpenCC-ver.1.0.5/CMakeFiles /builddir/build/BUILD/OpenCC-ver.1.0.5//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' make -f src/CMakeFiles/libopencc.dir/build.make src/CMakeFiles/libopencc.dir/depend make -f doc/CMakeFiles/apidoc.dir/build.make doc/CMakeFiles/apidoc.dir/depend make[2]: Entering directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' cd /builddir/build/BUILD/OpenCC-ver.1.0.5 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/OpenCC-ver.1.0.5 /builddir/build/BUILD/OpenCC-ver.1.0.5/doc /builddir/build/BUILD/OpenCC-ver.1.0.5 /builddir/build/BUILD/OpenCC-ver.1.0.5/doc /builddir/build/BUILD/OpenCC-ver.1.0.5/doc/CMakeFiles/apidoc.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' cd /builddir/build/BUILD/OpenCC-ver.1.0.5 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/OpenCC-ver.1.0.5 /builddir/build/BUILD/OpenCC-ver.1.0.5/src /builddir/build/BUILD/OpenCC-ver.1.0.5 /builddir/build/BUILD/OpenCC-ver.1.0.5/src /builddir/build/BUILD/OpenCC-ver.1.0.5/src/CMakeFiles/libopencc.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' make -f doc/CMakeFiles/apidoc.dir/build.make doc/CMakeFiles/apidoc.dir/build make[2]: Leaving directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' make -f src/CMakeFiles/libopencc.dir/build.make src/CMakeFiles/libopencc.dir/build make[2]: Entering directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' make[2]: Entering directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' [ 4%] Building API Documentation [ 6%] Building CXX object src/CMakeFiles/libopencc.dir/BinaryDict.cpp.o [ 6%] Building CXX object src/CMakeFiles/libopencc.dir/Config.cpp.o [ 11%] Building CXX object src/CMakeFiles/libopencc.dir/Conversion.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/doc && doxygen /builddir/build/BUILD/OpenCC-ver.1.0.5/doc/opencc.doxy cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/BinaryDict.cpp.o -MF CMakeFiles/libopencc.dir/BinaryDict.cpp.o.d -o CMakeFiles/libopencc.dir/BinaryDict.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/BinaryDict.cpp [ 16%] Building CXX object src/CMakeFiles/libopencc.dir/ConversionChain.cpp.o [ 16%] Building CXX object src/CMakeFiles/libopencc.dir/DartsDict.cpp.o [ 16%] Building CXX object src/CMakeFiles/libopencc.dir/Converter.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/Config.cpp.o -MF CMakeFiles/libopencc.dir/Config.cpp.o.d -o CMakeFiles/libopencc.dir/Config.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp [ 18%] Building CXX object src/CMakeFiles/libopencc.dir/Dict.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/Conversion.cpp.o -MF CMakeFiles/libopencc.dir/Conversion.cpp.o.d -o CMakeFiles/libopencc.dir/Conversion.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Conversion.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/DartsDict.cpp.o -MF CMakeFiles/libopencc.dir/DartsDict.cpp.o.d -o CMakeFiles/libopencc.dir/DartsDict.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/DartsDict.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/ConversionChain.cpp.o -MF CMakeFiles/libopencc.dir/ConversionChain.cpp.o.d -o CMakeFiles/libopencc.dir/ConversionChain.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/ConversionChain.cpp [ 20%] Building CXX object src/CMakeFiles/libopencc.dir/DictConverter.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/Converter.cpp.o -MF CMakeFiles/libopencc.dir/Converter.cpp.o.d -o CMakeFiles/libopencc.dir/Converter.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Converter.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/Dict.cpp.o -MF CMakeFiles/libopencc.dir/Dict.cpp.o.d -o CMakeFiles/libopencc.dir/Dict.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Dict.cpp [ 25%] Building CXX object src/CMakeFiles/libopencc.dir/DictEntry.cpp.o [ 25%] Building CXX object src/CMakeFiles/libopencc.dir/DictGroup.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/DictConverter.cpp.o -MF CMakeFiles/libopencc.dir/DictConverter.cpp.o.d -o CMakeFiles/libopencc.dir/DictConverter.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/DictConverter.cpp [ 27%] Building CXX object src/CMakeFiles/libopencc.dir/MaxMatchSegmentation.cpp.o [ 30%] Building CXX object src/CMakeFiles/libopencc.dir/PhraseExtract.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/DictEntry.cpp.o -MF CMakeFiles/libopencc.dir/DictEntry.cpp.o.d -o CMakeFiles/libopencc.dir/DictEntry.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/DictEntry.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/DictGroup.cpp.o -MF CMakeFiles/libopencc.dir/DictGroup.cpp.o.d -o CMakeFiles/libopencc.dir/DictGroup.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/DictGroup.cpp [ 32%] Building CXX object src/CMakeFiles/libopencc.dir/SimpleConverter.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/MaxMatchSegmentation.cpp.o -MF CMakeFiles/libopencc.dir/MaxMatchSegmentation.cpp.o.d -o CMakeFiles/libopencc.dir/MaxMatchSegmentation.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/MaxMatchSegmentation.cpp [ 34%] Building CXX object src/CMakeFiles/libopencc.dir/Segmentation.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/PhraseExtract.cpp.o -MF CMakeFiles/libopencc.dir/PhraseExtract.cpp.o.d -o CMakeFiles/libopencc.dir/PhraseExtract.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/PhraseExtract.cpp [ 37%] Building CXX object src/CMakeFiles/libopencc.dir/TextDict.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/SimpleConverter.cpp.o -MF CMakeFiles/libopencc.dir/SimpleConverter.cpp.o.d -o CMakeFiles/libopencc.dir/SimpleConverter.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/SimpleConverter.cpp [ 39%] Building CXX object src/CMakeFiles/libopencc.dir/UTF8StringSlice.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/Segmentation.cpp.o -MF CMakeFiles/libopencc.dir/Segmentation.cpp.o.d -o CMakeFiles/libopencc.dir/Segmentation.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Segmentation.cpp [ 41%] Building CXX object src/CMakeFiles/libopencc.dir/UTF8Util.cpp.o cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/TextDict.cpp.o -MF CMakeFiles/libopencc.dir/TextDict.cpp.o.d -o CMakeFiles/libopencc.dir/TextDict.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/TextDict.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/UTF8StringSlice.cpp.o -MF CMakeFiles/libopencc.dir/UTF8StringSlice.cpp.o.d -o CMakeFiles/libopencc.dir/UTF8StringSlice.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/UTF8StringSlice.cpp cd /builddir/build/BUILD/OpenCC-ver.1.0.5/src && /usr/bin/c++ -DLOCALEDIR=\"/usr/share/locale/\" -DPACKAGE_NAME=\"opencc\" -DPKGDATADIR=\"/usr/share/opencc/\" -DVERSION=\"1.0.5\" -Dlibopencc_EXPORTS -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/darts-clone -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11 -I/builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/tclap-1.2.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++0x -Wall -MD -MT src/CMakeFiles/libopencc.dir/UTF8Util.cpp.o -MF CMakeFiles/libopencc.dir/UTF8Util.cpp.o.d -o CMakeFiles/libopencc.dir/UTF8Util.cpp.o -c /builddir/build/BUILD/OpenCC-ver.1.0.5/src/UTF8Util.cpp /builddir/build/BUILD/OpenCC-ver.1.0.5/README.md:3: warning: Unexpected html tag found within context /builddir/build/BUILD/OpenCC-ver.1.0.5/README.md:4: warning: Unexpected html tag found within context make[2]: Leaving directory '/builddir/build/BUILD/OpenCC-ver.1.0.5' [ 41%] Built target apidoc In file included from /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:29: /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h: In instantiation of 'void rapidjson::GenericValue::SetObjectRaw(rapidjson::GenericValue::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:789:3: required from 'void rapidjson::GenericDocument::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/reader.h:271:4: required from 'void rapidjson::GenericReader::ParseObject(Stream&, Handler&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Handler = rapidjson::GenericDocument >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/reader.h:243:38: required from 'bool rapidjson::GenericReader::Parse(Stream&, Handler&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Handler = rapidjson::GenericDocument >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:712:3: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(Stream&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:734:52: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseInsitu(rapidjson::GenericDocument::Ch*) [with unsigned int parseFlags = 0; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericDocument::Ch = char]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:220:53: required from here /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:645:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct rapidjson::GenericValue >::Member' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(data_.o.members, members, count * sizeof(Member)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:29: /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:33:9: note: 'struct rapidjson::GenericValue >::Member' declared here struct Member { ^~~~~~ In file included from /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:29: /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h: In instantiation of 'void rapidjson::GenericValue::SetArrayRaw(rapidjson::GenericValue*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:796:3: required from 'void rapidjson::GenericDocument::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/reader.h:313:4: required from 'void rapidjson::GenericReader::ParseArray(Stream&, Handler&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Handler = rapidjson::GenericDocument >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/reader.h:244:37: required from 'bool rapidjson::GenericReader::Parse(Stream&, Handler&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Handler = rapidjson::GenericDocument >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:712:3: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(Stream&) [with unsigned int parseFlags = 1; Stream = rapidjson::GenericInsituStringStream >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:734:52: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseInsitu(rapidjson::GenericDocument::Ch*) [with unsigned int parseFlags = 0; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericDocument::Ch = char]' /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:220:53: required from here /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:637:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(data_.a.elements, values, count * sizeof(GenericValue)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/OpenCC-ver.1.0.5/src/Config.cpp:29: /builddir/build/BUILD/OpenCC-ver.1.0.5/src/../deps/rapidjson-0.11/document.h:30:7: note: 'class rapidjson::GenericValue >' declared here class GenericValue { ^~~~~~~~~~~~