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/openblas.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-140501-53870/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/openblas.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 warning: bogus date in %changelog: Wed Mar 04 2018 Susi Lehtola - 0.2.20-9 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/openblas-0.3.15-3.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/openblas.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-140501-53870/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/openblas.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 warning: bogus date in %changelog: Wed Mar 04 2018 Susi Lehtola - 0.2.20-9 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mWu4fs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openblas-0.3.15 + /usr/bin/mkdir -p openblas-0.3.15 + cd openblas-0.3.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar zxf /builddir/build/SOURCES/v0.3.15.tar.gz + cd OpenBLAS-0.3.15 Patch #1 (openblas-0.3.15-libname.patch): + echo 'Patch #1 (openblas-0.3.15-libname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libname --fuzz=0 patching file Makefile.system Patch #2 (openblas-0.3.15-tests.patch): + echo 'Patch #2 (openblas-0.3.15-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tests --fuzz=0 patching file Makefile + echo 'Patch #3 (openblas-0.3.15-noopt.patch):' Patch #3 (openblas-0.3.15-noopt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noopt --fuzz=0 patching file lapack-netlib/INSTALL/Makefile patching file lapack-netlib/SRC/Makefile patching file lapack-netlib/TESTING/MATGEN/Makefile Patch #4 (openblas-0.3.15-asmflags.patch): + echo 'Patch #4 (openblas-0.3.15-asmflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .asmflags --fuzz=0 patching file kernel/Makefile patching file kernel/Makefile.L1 patching file kernel/Makefile.L2 patching file kernel/Makefile.L3 patching file kernel/Makefile.LA + echo 'Patch #5 (openblas-0.3.15-power-optimize.patch):' Patch #5 (openblas-0.3.15-power-optimize.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .power-optimize --fuzz=0 patching file kernel/power/drot.c patching file kernel/power/srot.c patching file kernel/power/zscal.c Patch #6 (openblas-0.3.15-opt-loongarch64.patch): + echo 'Patch #6 (openblas-0.3.15-opt-loongarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .opt-loongarch64 --fuzz=0 patching file Makefile.loongarch64 patching file Makefile.system patching file TargetList.txt patching file c_check patching file cmake/arch.cmake patching file cmake/cc.cmake patching file cmake/fc.cmake patching file cmake/system_check.cmake patching file common.h patching file common_loongarch64.h patching file common_macro.h patching file cpuid_loongarch64.c patching file ctest.c patching file driver/others/Makefile patching file driver/others/dynamic_loongarch64.c patching file getarch.c patching file kernel/loongarch64/KERNEL patching file kernel/loongarch64/KERNEL.LOONGSON3R5 patching file kernel/loongarch64/KERNEL.generic patching file kernel/loongarch64/Makefile patching file kernel/loongarch64/amax.S patching file kernel/loongarch64/amin.S patching file kernel/loongarch64/asum.S patching file kernel/loongarch64/cnrm2.S patching file kernel/loongarch64/copy.S patching file kernel/loongarch64/dgemm_kernel_16x4.S patching file kernel/loongarch64/dgemm_ncopy_16.S patching file kernel/loongarch64/dgemm_ncopy_4.S patching file kernel/loongarch64/dgemm_tcopy_16.S patching file kernel/loongarch64/dgemm_tcopy_4.S patching file kernel/loongarch64/dnrm2.S patching file kernel/loongarch64/dot.S patching file kernel/loongarch64/gemm_kernel.S patching file kernel/loongarch64/gemv_n.S patching file kernel/loongarch64/gemv_t.S patching file kernel/loongarch64/iamax.S patching file kernel/loongarch64/iamin.S patching file kernel/loongarch64/izamax.S patching file kernel/loongarch64/izamin.S patching file kernel/loongarch64/max.S patching file kernel/loongarch64/min.S patching file kernel/loongarch64/scal.S patching file kernel/loongarch64/snrm2.S patching file kernel/loongarch64/swap.S patching file kernel/loongarch64/trsm_kernel_LN.S patching file kernel/loongarch64/trsm_kernel_LT.S patching file kernel/loongarch64/trsm_kernel_RT.S patching file kernel/loongarch64/zamax.S patching file kernel/loongarch64/zamin.S patching file kernel/loongarch64/zasum.S patching file kernel/loongarch64/zcopy.S patching file kernel/loongarch64/zdot.S patching file kernel/loongarch64/zgemm3m_kernel.S patching file kernel/loongarch64/zgemm_kernel.S patching file kernel/loongarch64/zgemv_n.S patching file kernel/loongarch64/zgemv_t.S patching file kernel/loongarch64/znrm2.S patching file kernel/loongarch64/zscal.S patching file kernel/loongarch64/ztrsm_kernel_LT.S patching file kernel/loongarch64/ztrsm_kernel_RT.S patching file kernel/mips64/dnrm2.S patching file kernel/setparam-ref.c patching file lapack/laswp/loongarch64/Makefile patching file param.h + find -name '*.f' -exec chmod 644 '{}' ';' + cd .. + cp -ar OpenBLAS-0.3.15 openmp + cp -ar OpenBLAS-0.3.15 threaded + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 serial64 + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 serial64_ + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 threaded64 + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 threaded64_ + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 openmp64 + for d in {serial,threaded,openmp}64{,_} + cp -ar OpenBLAS-0.3.15 openmp64_ + cp -ar OpenBLAS-0.3.15 Rblas + mv OpenBLAS-0.3.15 serial + sed -i 's|.so.$(MAJOR_VERSION)|.so|g' Rblas/Makefile + sed -i 's|.so.$(MAJOR_VERSION)|.so|g' Rblas/exports/Makefile + sed -i 's|@ln -fs $(LIBSONAME) $(LIBPREFIX).so|#@ln -fs $(LIBSONAME) $(LIBPREFIX).so|g' Rblas/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SsW2BG + umask 022 + cd /builddir/build/BUILD + cd openblas-0.3.15 + source scl_source enable gcc-toolset-11 /var/tmp/rpm-tmp.SsW2BG: line 35: source: scl_source: file not found error: Bad exit status from /var/tmp/rpm-tmp.SsW2BG (%build) RPM build errors: bogus date in %changelog: Wed Mar 04 2018 Susi Lehtola - 0.2.20-9 Bad exit status from /var/tmp/rpm-tmp.SsW2BG (%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/openblas.spec