Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libminc.spec'], chrootPath='/var/lib/mock/f33-build-323270-57973/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libminc.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1593043200 Wrote: /builddir/build/SRPMS/libminc-2.4.03-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libminc.spec'], chrootPath='/var/lib/mock/f33-build-323270-57973/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libminc.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1593043200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x6zmhI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libminc-release-2.4.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/libminc-2.4.03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libminc-release-2.4.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'libminc-2.4.03 base' + /usr/bin/cat /builddir/build/SOURCES/0001-install-cmake-files-in-private-directory.patch + /usr/bin/git apply --index --reject - Checking patch CMakeLists.txt... Hunk #1 succeeded at 55 (offset 5 lines). Hunk #2 succeeded at 501 (offset 81 lines). Hunk #3 succeeded at 539 (offset 86 lines). Applied patch CMakeLists.txt cleanly. + /usr/bin/git commit -q -m 0001-install-cmake-files-in-private-directory.patch --author 'rpm-build ' + rm -rf build/ + mkdir -p build/ + sed -i -e '/SET (LIBMINC_INSTALL_INCLUDE_DIR/s/include/include\/libminc/' CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IOPbbG + umask 022 + cd /builddir/build/BUILD + cd libminc-release-2.4.03 + pushd build/ ~/build/BUILD/libminc-release-2.4.03/build ~/build/BUILD/libminc-release-2.4.03 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 ../ -DLIBMINC_BUILD_SHARED_LIBS=ON -DLIBMINC_USE_SYSTEM_NIFTI=ON -DLIBMINC_MINC1_SUPPORT=ON -DLIBMINC_BUILD_EZMINC=ON -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found NetCDF headers: /usr/include -- Found NetCDF library: /usr/lib64/libnetcdf.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found HDF5: /usr/lib64/libhdf5.so (found version "1.10.5") found components: C -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for tmpnam -- Looking for tmpnam - found -- Looking for tempnam -- Looking for tempnam - found -- Looking for strerror -- Looking for strerror - found -- Looking for popen -- Looking for popen - found -- Looking for fork -- Looking for fork - found -- Looking for vfork -- Looking for vfork - found -- Looking for fdopen -- Looking for fdopen - found -- Looking for strdup -- Looking for strdup - found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for select -- Looking for select - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for system -- Looking for system - found -- Looking for rint -- Looking for rint - found -- Looking for copysign -- Looking for copysign - found -- Looking for round -- Looking for round - found -- Looking for srand48 -- Looking for srand48 - found -- Looking for drand48 -- Looking for drand48 - found -- Looking for sleep -- Looking for sleep - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for include file float.h -- Looking for include file float.h - found -- Looking for include file sys/dir.h -- Looking for include file sys/dir.h - found -- Looking for include file sys/ndir.h -- Looking for include file sys/ndir.h - not found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file time.h -- Looking for include file time.h - found -- Looking for include file values.h -- Looking for include file values.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file vfork.h -- Looking for include file vfork.h - not found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- 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 INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libminc-release-2.4.03/build/riscv64-redhat-linux-gnu + /usr/bin/make -O -j4 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IOPbbG (%build) Bad exit status from /var/tmp/rpm-tmp.IOPbbG (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/libminc.spec