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/OpenMolcas.spec'], chrootPath='/var/lib/mock/f33-build-414086-62843/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/OpenMolcas.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=1604707200 Wrote: /builddir/build/SRPMS/OpenMolcas-20.10-1.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/OpenMolcas.spec'], chrootPath='/var/lib/mock/f33-build-414086-62843/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/OpenMolcas.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=1604707200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wHBeuj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenMolcas-v20.10-01fe7a2bdca51c51d183f3061b0ee9c631bf9bec + /usr/bin/bzip2 -dc /builddir/build/SOURCES/OpenMolcas-20.10.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenMolcas-v20.10-01fe7a2bdca51c51d183f3061b0ee9c631bf9bec + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (OpenMolcas-20.10-fedora.patch): + echo 'Patch #0 (OpenMolcas-20.10-fedora.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fedora --fuzz=0 patching file CMakeLists.txt patching file Tools/pymolcas/CMakeLists.txt Patch #1 (OpenMolcas-19.11-pymodule.patch): + echo 'Patch #1 (OpenMolcas-19.11-pymodule.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pymodule --fuzz=0 patching file Tools/pymolcas/pymolcas.py + sed -i 's|@OPENBLAS_LIBRARY@|flexiblas64|g' CMakeLists.txt + sed -i 's|@MOLCAS_PYTHON@|/usr/lib64/OpenMolcas/python|g' Tools/pymolcas/pymolcas.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/abstract_flow.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/check_test.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/emil_grammar.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/emil_parse.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/export.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/imports.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/molcas_aux.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/molcas_wrapper.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/pack.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/pymolcas.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/python_parse.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/simpleeval.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/tee.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/validate.py + for f in Tools/pymolcas/*.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|g' Tools/pymolcas/write_molcasrc.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5GRnFj + umask 022 + cd /builddir/build/BUILD + cd OpenMolcas-v20.10-01fe7a2bdca51c51d183f3061b0ee9c631bf9bec + export CC=gcc + CC=gcc + export FC=gfortran + FC=gfortran + export '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 -fopenmp -std=gnu99 -fPIC' + 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 -fopenmp -std=gnu99 -fPIC' + export '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 -cpp -fopenmp -fdefault-integer-8 -fPIC' + 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 -cpp -fopenmp -fdefault-integer-8 -fPIC' + export '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 -cpp -fopenmp -fdefault-integer-8 -fPIC -fallow-argument-mismatch' + 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 -cpp -fopenmp -fdefault-integer-8 -fPIC -fallow-argument-mismatch' + 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 -fopenmp -std=gnu99 -fPIC' + 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 -cpp -fopenmp -fdefault-integer-8 -fPIC -fallow-argument-mismatch' + 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 -DCMAKE_INSTALL_PREFIX:PATH=/usr/lib64/OpenMolcas/ -DLINALG=OpenBLAS -DOPENMP=ON -DHDF5=OFF -DCHEMPS2=OFF -S . -B riscv64-redhat-linux-gnu -- The Fortran compiler identification is GNU 10.2.1 -- The C compiler identification is GNU 10.2.1 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/bin/gfortran - skipped -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 - yes -- 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 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.1", minimum required is "3.0") Configuring compilers: Detecting Molcas version info: -- OPENMOLCAS_VERSION: v20.10 ? Detecting system info: -- OS: Linux-riscv64 -- ADDRMODE: 64 CMake Error at CMakeLists.txt:573 (message): Architecture not supported by build system -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/OpenMolcas-v20.10-01fe7a2bdca51c51d183f3061b0ee9c631bf9bec/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". error: Bad exit status from /var/tmp/rpm-tmp.5GRnFj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5GRnFj (%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/OpenMolcas.spec