D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/pyzy-0.1.0-10.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.X511NZ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pyzy-0.1.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pyzy-0.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyzy-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/iurt/rpmbuild/SOURCES/pyzy-database-1.0.0.tar.bz2 data/db/open-phrase + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pyzy-0.1.0-fixes-compile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pyzy-0.1.0-opencc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GAuhJY + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyzy-0.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-db-open-phrase --enable-opencc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking for x86_64-mageia-linux-gnu-gcc... (cached) x86_64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-mageia-linux-gnu-gcc... (cached) none checking for x86_64-mageia-linux-gnu-g++... x86_64-mageia-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-mageia-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-mageia-linux-gnu-g++... none checking whether x86_64-mageia-linux-gnu-gcc and cc understand -c and -o together... yes checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... x86_64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-mageia-linux-gnu-gcc static flag -static works... no checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-mageia-linux-gnu-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-mageia-linux-gnu-g++ -E checking for ld used by x86_64-mageia-linux-gnu-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-mageia-linux-gnu-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-mageia-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-mageia-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-mageia-linux-gnu-g++ static flag -static works... no checking if x86_64-mageia-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-mageia-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-mageia-linux-gnu-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.0.0... yes (version 2.65.0) checking for GLIB2... yes checking for SQLITE... yes checking for sqlite3... /usr/bin/sqlite3 checking for uuid_create... no checking for LIBUUID... yes checking for env... /usr/bin/env checking for OPENCC... yes checking for doxygen... no configure: WARNING: Doxygen not found - continuing without Doxygen support configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating data/db/Makefile config.status: creating data/db/android/Makefile config.status: creating data/db/open-phrase/Makefile config.status: creating docs/Makefile config.status: creating m4/Makefile config.status: creating pyzy-1.0.pc config.status: WARNING: 'pyzy-1.0.pc.in' seems to ignore the --datarootdir setting config.status: creating pyzy.spec config.status: creating src/Makefile config.status: creating src/tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build options: Version 0.1.0 Install prefix /usr Use boost no Use opencc yes Build database android yes Build database open-phrase yes Run test cases no + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in data Making all in db Making all in android make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' \ rm -f android.db; \ ./create_db.py ./rawdict_utf16_65105_freq.txt | /usr/bin/sqlite3 android.db || \ ( rm -f android.db ; exit 1 ) File "./create_db.py", line 36 print "PRAGMA synchronous = NORMAL;" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("PRAGMA synchronous = NORMAL)? make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' Making all in open-phrase make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/open-phrase' \ tar jxfm pyzy-database-1.0.0.tar.bz2; \ mv db/main.db db/open-phrase.db; \ touch stamp-db make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/open-phrase' make[4]: Nothing to be done for 'all-am'. make[3]: Nothing to be done for 'all-am'. Making all in docs make[2]: Nothing to be done for 'all'. Making all in m4 make[2]: Nothing to be done for 'all'. Making all in src /usr/bin/make all-recursive make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-InputContext.lo `test -f 'InputContext.cc' || echo './'`InputContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c InputContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-InputContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-DynamicSpecialPhrase.lo `test -f 'DynamicSpecialPhrase.cc' || echo './'`DynamicSpecialPhrase.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c DynamicSpecialPhrase.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-DynamicSpecialPhrase.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-DoublePinyinContext.lo `test -f 'DoublePinyinContext.cc' || echo './'`DoublePinyinContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c DoublePinyinContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-DoublePinyinContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-FullPinyinContext.lo `test -f 'FullPinyinContext.cc' || echo './'`FullPinyinContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c FullPinyinContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-FullPinyinContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-PhoneticContext.lo `test -f 'PhoneticContext.cc' || echo './'`PhoneticContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c PhoneticContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-PhoneticContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-Variant.lo `test -f 'Variant.cc' || echo './'`Variant.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c Variant.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-Variant.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-PhraseEditor.lo `test -f 'PhraseEditor.cc' || echo './'`PhraseEditor.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c PhraseEditor.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-PhraseEditor.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-BopomofoContext.lo `test -f 'BopomofoContext.cc' || echo './'`BopomofoContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c BopomofoContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-BopomofoContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-SimpTradConverter.lo `test -f 'SimpTradConverter.cc' || echo './'`SimpTradConverter.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c SimpTradConverter.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-SimpTradConverter.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-PinyinParser.lo `test -f 'PinyinParser.cc' || echo './'`PinyinParser.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c PinyinParser.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-PinyinParser.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-PinyinContext.lo `test -f 'PinyinContext.cc' || echo './'`PinyinContext.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c PinyinContext.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-PinyinContext.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-Database.lo `test -f 'Database.cc' || echo './'`Database.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c Database.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-Database.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libpyzy_1_0_la-SpecialPhraseTable.lo `test -f 'SpecialPhraseTable.cc' || echo './'`SpecialPhraseTable.cc libtool: compile: x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c SpecialPhraseTable.cc -fPIC -DPIC -o .libs/libpyzy_1_0_la-SpecialPhraseTable.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' /bin/sh ../libtool --tag=CXX --mode=link x86_64-mageia-linux-gnu-g++ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/opencc -DPKGDATADIR=\"/usr/share/pyzy\" -std=c++0x -I/usr/include/uuid -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -no-undefined -version-info 100:0:100 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpyzy-1.0.la -rpath /usr/lib64 libpyzy_1_0_la-BopomofoContext.lo libpyzy_1_0_la-Database.lo libpyzy_1_0_la-DoublePinyinContext.lo libpyzy_1_0_la-DynamicSpecialPhrase.lo libpyzy_1_0_la-FullPinyinContext.lo libpyzy_1_0_la-InputContext.lo libpyzy_1_0_la-PhoneticContext.lo libpyzy_1_0_la-PhraseEditor.lo libpyzy_1_0_la-PinyinContext.lo libpyzy_1_0_la-PinyinParser.lo libpyzy_1_0_la-SimpTradConverter.lo libpyzy_1_0_la-SpecialPhraseTable.lo libpyzy_1_0_la-Variant.lo -lglib-2.0 -lsqlite3 -lopencc -luuid libtool: link: x86_64-mageia-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-mageia-linux-gnu/10/../../../../lib64/crti.o /usr/lib/gcc/x86_64-mageia-linux-gnu/10/crtbeginS.o .libs/libpyzy_1_0_la-BopomofoContext.o .libs/libpyzy_1_0_la-Database.o .libs/libpyzy_1_0_la-DoublePinyinContext.o .libs/libpyzy_1_0_la-DynamicSpecialPhrase.o .libs/libpyzy_1_0_la-FullPinyinContext.o .libs/libpyzy_1_0_la-InputContext.o .libs/libpyzy_1_0_la-PhoneticContext.o .libs/libpyzy_1_0_la-PhraseEditor.o .libs/libpyzy_1_0_la-PinyinContext.o .libs/libpyzy_1_0_la-PinyinParser.o .libs/libpyzy_1_0_la-SimpTradConverter.o .libs/libpyzy_1_0_la-SpecialPhraseTable.o .libs/libpyzy_1_0_la-Variant.o -O2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lglib-2.0 -lsqlite3 -lopencc -luuid -L/usr/lib/gcc/x86_64-mageia-linux-gnu/10 -L/usr/lib/gcc/x86_64-mageia-linux-gnu/10/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-mageia-linux-gnu/10/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-mageia-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-mageia-linux-gnu/10/../../../../lib64/crtn.o -Wl,-soname -Wl,libpyzy-1.0.so.0 -o .libs/libpyzy-1.0.so.0.100.0 libtool: link: (cd ".libs" && rm -f "libpyzy-1.0.so.0" && ln -s "libpyzy-1.0.so.0.100.0" "libpyzy-1.0.so.0") libtool: link: (cd ".libs" && rm -f "libpyzy-1.0.so" && ln -s "libpyzy-1.0.so.0.100.0" "libpyzy-1.0.so") libtool: link: ( cd ".libs" && rm -f "libpyzy-1.0.la" && ln -s "../libpyzy-1.0.la" "libpyzy-1.0.la" ) make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fA7ydY + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64 + cd pyzy-0.1.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64 'INSTALL=/usr/bin/install -p' Making install in data make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data' Making install in db make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db' Making install in android make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' GEN android.db File "./create_db.py", line 36 print "PRAGMA synchronous = NORMAL;" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("PRAGMA synchronous = NORMAL)? make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' make[4]: Nothing to be done for 'install-exec-am'. GEN android.db File "./create_db.py", line 36 print "PRAGMA synchronous = NORMAL;" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("PRAGMA synchronous = NORMAL)? test -z "/usr/share/pyzy/db" || /usr/bin/mkdir -p "/home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64/usr/share/pyzy/db" /usr/bin/install -p -m 644 ./android.db '/home/iurt/rpmbuild/BUILDROOT/pyzy-0.1.0-10.mga8.x86_64/usr/share/pyzy/db' /usr/bin/install: cannot stat './android.db': No such file or directory make[4]: *** [Makefile:333: install-main_dbDATA] Error 1 make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' make[3]: *** [Makefile:398: install-am] Error 2 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db/android' make[2]: *** [Makefile:381: install-recursive] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data/db' make[1]: *** [Makefile:323: install-recursive] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pyzy-0.1.0/data' make: *** [Makefile:442: install-recursive] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fA7ydY (%install) RPM build errors: %configure2_5x is deprecated, use %configure instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fA7ydY (%install) I: [iurt_root_command] ERROR: chroot