Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sphinxbase.spec'], chrootPath='/var/lib/mock/f29-build-22019-11458/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sphinxbase.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: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sphinxbase-0.8-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sphinxbase.spec'], chrootPath='/var/lib/mock/f29-build-22019-11458/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sphinxbase.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: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XNkHil + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sphinxbase-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/sphinxbase-0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinxbase-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sphinxbase-largefile.patch):' Patch #0 (sphinxbase-largefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./include/sphinxbase/pio.h patching file ./include/sphinxbase/prim_type.h patching file ./configure.in patching file ./src/sphinx_fe/sphinx_fe.c patching file ./src/sphinx_fe/Makefile.am patching file ./src/sphinx_lmtools/Makefile.am patching file ./src/libsphinxad/Makefile.am patching file ./src/sphinx_adtools/sphinx_pitch.c patching file ./src/sphinx_adtools/Makefile.am patching file ./src/sphinx_cepview/Makefile.am patching file ./src/sphinx_cepview/main_cepview.c patching file ./src/sphinx_jsgf2fsg/Makefile.am patching file ./src/libsphinxbase/util/bio.c patching file ./src/libsphinxbase/util/logmath.c patching file ./src/libsphinxbase/util/Makefile.am patching file ./src/libsphinxbase/util/pio.c patching file ./src/libsphinxbase/util/mmio.c patching file ./src/libsphinxbase/lm/ngram_model_dmp.c patching file ./src/libsphinxbase/lm/Makefile.am patching file ./src/libsphinxbase/fe/Makefile.am patching file ./src/libsphinxbase/feat/Makefile.am patching file ./src/libsphinxbase/feat/feat.c patching file ./test/unit/test_fe/Makefile.am patching file ./test/unit/test_matrix/Makefile.am patching file ./test/unit/test_ngram/Makefile.am patching file ./test/unit/test_logmath/Makefile.am patching file ./test/unit/test_thread/Makefile.am patching file ./test/unit/test_string/Makefile.am patching file ./test/unit/test_alloc/Makefile.am patching file ./test/unit/test_util/Makefile.am patching file ./test/unit/test_ad/Makefile.am patching file ./test/unit/test_lineiter/Makefile.am patching file ./test/unit/test_fsg/Makefile.am patching file ./test/unit/test_feat/Makefile.am patching file ./test/unit/test_hash/Makefile.am patching file ./test/unit/test_case/Makefile.am patching file ./test/unit/test_bitvec/Makefile.am patching file ./test/unit/test_cmdln/Makefile.am patching file ./test/regression/Makefile.am + echo 'Patch #1 (sphinxbase-uninit.patch):' Patch #1 (sphinxbase-uninit.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/sphinx_lmtools/sphinx_lm_eval.c + echo 'Patch #2 (sphinxbase-doxygen.patch):' Patch #2 (sphinxbase-doxygen.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./include/sphinxbase/matrix.h patching file ./src/libsphinxbase/util/heap.c + sed -ri 's/blas|lapack/openblas/' configure.in + autoreconf -fi BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level BUILDSTDERR: configure.in:212: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... BUILDSTDERR: m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... BUILDSTDERR: m4/libtool.m4:138: _LT_SETUP is expanded from... BUILDSTDERR: m4/libtool.m4:67: LT_INIT is expanded from... BUILDSTDERR: configure.in:212: the top level libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: configure.in:30: installing './compile' BUILDSTDERR: configure.in:6: installing './missing' BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: src/libsphinxad/Makefile.am: installing './depcomp' BUILDSTDERR: parallel-tests: installing './test-driver' + iconv -f ISO8859-1 -t UTF-8 -o AUTHORS.new AUTHORS + touch -r AUTHORS.new AUTHORS + mv -f AUTHORS.new AUTHORS + rm -f python/sphinxbase.c src/libsphinxbase/lm/jsgf_parser.c src/libsphinxbase/lm/jsgf_parser.h + sed 's|\( install \)--prefix\( \$(DESTDIR)\)\$(prefix)|\1--skip-build --root\2|' -i python/Makefile.in + for f in src/sphinx_lmtools/sphinx_lm_sort src/sphinx_jsgf2fsg/fsg2dot.pl python/hufftest2.py python/sb_test.py + sed -r 's|/usr/bin/env (.*)|/usr/bin/\1|' src/sphinx_lmtools/sphinx_lm_sort + touch -r src/sphinx_lmtools/sphinx_lm_sort src/sphinx_lmtools/sphinx_lm_sort.new + mv -f src/sphinx_lmtools/sphinx_lm_sort.new src/sphinx_lmtools/sphinx_lm_sort + for f in src/sphinx_lmtools/sphinx_lm_sort src/sphinx_jsgf2fsg/fsg2dot.pl python/hufftest2.py python/sb_test.py + sed -r 's|/usr/bin/env (.*)|/usr/bin/\1|' src/sphinx_jsgf2fsg/fsg2dot.pl + touch -r src/sphinx_jsgf2fsg/fsg2dot.pl src/sphinx_jsgf2fsg/fsg2dot.pl.new + mv -f src/sphinx_jsgf2fsg/fsg2dot.pl.new src/sphinx_jsgf2fsg/fsg2dot.pl + for f in src/sphinx_lmtools/sphinx_lm_sort src/sphinx_jsgf2fsg/fsg2dot.pl python/hufftest2.py python/sb_test.py + sed -r 's|/usr/bin/env (.*)|/usr/bin/\1|' python/hufftest2.py + touch -r python/hufftest2.py python/hufftest2.py.new + mv -f python/hufftest2.py.new python/hufftest2.py + for f in src/sphinx_lmtools/sphinx_lm_sort src/sphinx_jsgf2fsg/fsg2dot.pl python/hufftest2.py python/sb_test.py + sed -r 's|/usr/bin/env (.*)|/usr/bin/\1|' python/sb_test.py + touch -r python/sb_test.py python/sb_test.py.new + mv -f python/sb_test.py.new python/sb_test.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WYIu7N + umask 022 + cd /builddir/build/BUILD + cd sphinxbase-0.8 + export 'CPPFLAGS=-I /usr/include/openblas' + CPPFLAGS='-I /usr/include/openblas' + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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=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 --disable-static --disable-rpath --with-python=/usr/bin/python2 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 build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... no BUILDSTDERR: configure: error: in `/builddir/build/BUILD/sphinxbase-0.8': BUILDSTDERR: configure: error: C compiler cannot create executables BUILDSTDERR: See `config.log' for more details BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.WYIu7N (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.WYIu7N (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/sphinxbase.spec