Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/libkkc.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-51990-23731/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/libkkc.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libkkc-0.3.5-12.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/libkkc.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-51990-23731/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/libkkc.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jTy6Fc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libkkc-0.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/libkkc-0.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libkkc-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libkkc-HEAD.patch):' Patch #0 (libkkc-HEAD.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .HEAD --fuzz=0 patching file Makefile.am patching file README patching symbolic link README patching file configure.ac patching file data/Makefile.am patching file data/dbus/Makefile.am patching file data/dbus/org.du_a.Kkc.CandidateList.xml patching file data/dbus/org.du_a.Kkc.Context.xml patching file data/dbus/org.du_a.Kkc.SegmentList.xml patching file data/dbus/org.du_a.Kkc.Server.xml patching file data/rules/Makefile.am patching file data/rules/act/Makefile.am patching file data/rules/act/metadata.json patching file data/rules/act/metadata.json.in patching file data/rules/atok/Makefile.am patching file data/rules/atok/keymap/default.json patching file data/rules/atok/keymap/direct.json patching file data/rules/atok/keymap/hankaku-katakana.json patching file data/rules/atok/keymap/hiragana.json patching file data/rules/atok/keymap/katakana.json patching file data/rules/atok/keymap/latin.json patching file data/rules/atok/keymap/wide-latin.json patching file data/rules/atok/metadata.json patching file data/rules/atok/rom-kana/default.json patching file data/rules/azik-jp106/Makefile.am patching file data/rules/azik-jp106/keymap/hiragana.json patching file data/rules/azik-jp106/metadata.json patching file data/rules/azik-jp106/metadata.json.in patching file data/rules/azik/Makefile.am patching file data/rules/azik/keymap/default.json patching file data/rules/azik/metadata.json patching file data/rules/azik/metadata.json.in patching file data/rules/default/Makefile.am patching file data/rules/default/metadata.json patching file data/rules/default/metadata.json.in patching file data/rules/kana/Makefile.am patching file data/rules/kana/metadata.json patching file data/rules/kana/metadata.json.in patching file data/rules/kana/rom-kana/default.json patching file data/rules/keymap-schema.json patching file data/rules/kzik/Makefile.am patching file data/rules/kzik/keymap/default.json patching file data/rules/kzik/metadata.json patching file data/rules/kzik/metadata.json.in patching file data/rules/metadata-schema.json patching file data/rules/nicola/Makefile.am patching file data/rules/nicola/metadata.json patching file data/rules/nicola/metadata.json.in patching file data/rules/rom-kana-schema.json patching file data/rules/rule.mk patching file data/rules/tcode/Makefile.am patching file data/rules/tcode/metadata.json patching file data/rules/tcode/metadata.json.in patching file data/rules/trycode/Makefile.am patching file data/rules/trycode/metadata.json patching file data/rules/trycode/metadata.json.in patching file data/rules/tutcode-touch16x/Makefile.am patching file data/rules/tutcode-touch16x/metadata.json patching file data/rules/tutcode-touch16x/metadata.json.in patching file data/rules/tutcode/Makefile.am patching file data/rules/tutcode/metadata.json patching file data/rules/tutcode/metadata.json.in patching file data/templates/libkkc-data/tools/genfilter.py patching file data/templates/libkkc-data/tools/sortlm.py patching file libkkc/Makefile.am patching file libkkc/candidate-list.vala patching file libkkc/context.vala patching file libkkc/convert-segment-state-handler.vala patching file libkkc/convert-sentence-state-handler.vala patching file libkkc/encoding.vala patching file libkkc/initial-state-handler.vala patching file libkkc/key-event-filter.vala patching file libkkc/key-event.vala patching file libkkc/keymap.vala patching file libkkc/rom-kana-utils.vala patching file libkkc/rom-kana.vala patching file libkkc/rule.vala patching file libkkc/server.vala patching file libkkc/state.vala patching file libkkc/template.vala patching file po/POTFILES.in patching file tests/Makefile.am patching file tests/candidate-list.vala patching file tests/conversions-segment.json patching file tests/conversions-user-dictionary.json patching file tests/template.vala patching file tools/Makefile.am patching file tools/gen-metadata-pot.vala patching file tools/kkc.vala Patch #1 (libkkc-POT.skip.patch): + echo 'Patch #1 (libkkc-POT.skip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file po/POTFILES.skip + '[' -f README.md ']' + cp -p /builddir/build/SOURCES/README.md . + autoreconf -f docs/Makefile.am:24: warning: addprefix libkkc/libkkc/,$(common_doc_files: non-POSIX variable name docs/Makefile.am:24: (probably a GNU make extension) docs/Makefile.am:43: warning: wildcard $(top_srcdir: non-POSIX variable name docs/Makefile.am:43: (probably a GNU make extension) docs/Makefile.am:49: warning: sort \ docs/Makefile.am:49: $(filter-out $(libkkc_doc_files_blacklist: non-POSIX variable name docs/Makefile.am:49: (probably a GNU make extension) docs/Makefile.am:61: warning: addprefix --pkg=,$(libkkc_doc_deps: non-POSIX variable name docs/Makefile.am:61: (probably a GNU make extension) docs/Makefile.am:89: warning: addsuffix .stamp, $(docs: non-POSIX variable name docs/Makefile.am:89: (probably a GNU make extension) tests/Makefile.am:19: warning: G_DEBUG:+"${G_DEBUG: non-POSIX variable name + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LB1mNB + umask 022 + cd /builddir/build/BUILD + cd libkkc-0.3.5 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 --disable-silent-rules PYTHON=python3 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 make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-Anolis-linux-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... 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 for loongarch64-Anolis-linux-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for loongarch64-Anolis-linux-g++... no checking for loongarch64-Anolis-linux-c++... no checking for loongarch64-Anolis-linux-gpp... no checking for loongarch64-Anolis-linux-aCC... no checking for loongarch64-Anolis-linux-CC... no checking for loongarch64-Anolis-linux-cxx... no checking for loongarch64-Anolis-linux-cc++... no checking for loongarch64-Anolis-linux-cl.exe... no checking for loongarch64-Anolis-linux-FCC... no checking for loongarch64-Anolis-linux-KCC... no checking for loongarch64-Anolis-linux-RCC... no checking for loongarch64-Anolis-linux-xlC_r... no checking for loongarch64-Anolis-linux-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether NLS is requested... yes checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.3 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool error: Bad exit status from /var/tmp/rpm-tmp.LB1mNB (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LB1mNB (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 loongarch64 --nodeps /builddir/build/SPECS/libkkc.spec