Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sunpinyin.spec'], chrootPath='/var/lib/mock/f31-build-54010-27922/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sunpinyin.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le BUILDSTDERR: warning: line 43: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/sunpinyin-2.0.4-0.25.20160301git.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sunpinyin.spec'], chrootPath='/var/lib/mock/f31-build-54010-27922/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sunpinyin.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le BUILDSTDERR: warning: line 43: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K1yIZ7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sunpinyin-20160301 + /usr/bin/tar -xof /builddir/build/SOURCES/sunpinyin-20160301.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd sunpinyin-20160301 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sunpinyin-use-python2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python2 --fuzz=0 + mkdir -p raw + cp /builddir/build/SOURCES/lm_sc.3gm.arpa-20140820.tar.bz2 raw + cp /builddir/build/SOURCES/dict.utf8-20131214.tar.bz2 raw + pushd raw + tar xvf lm_sc.3gm.arpa-20140820.tar.bz2 + tar xvf dict.utf8-20131214.tar.bz2 + popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (sunpinyin-use-python2.patch): patching file SConstruct patching file python/pinyin_info_gen.py patching file python/quanpin_trie_gen.py ~/build/BUILD/sunpinyin-20160301/raw ~/build/BUILD/sunpinyin-20160301 lm_sc.3gm.arpa dict.utf8 ~/build/BUILD/sunpinyin-20160301 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PtrLd8 + umask 022 + cd /builddir/build/BUILD + cd sunpinyin-20160301 + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: /var/tmp/rpm-tmp.PtrLd8: line 47: ./configure: No such file or directory + : + scons -j4 --prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share BUILDSTDERR: /var/tmp/rpm-tmp.PtrLd8: line 65: scons: command not found RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.PtrLd8 (%build) BUILDSTDERR: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le BUILDSTDERR: line 43: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.PtrLd8 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sunpinyin.spec