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/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413076-72800/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/java-1.8.0-openjdk-portable.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 Package nss was not found in the pkg-config search path. Perhaps you should add the directory containing `nss.pc' to the PKG_CONFIG_PATH environment variable Package 'nss', required by 'virtual:world', not found Package nss-softokn was not found in the pkg-config search path. Perhaps you should add the directory containing `nss-softokn.pc' to the PKG_CONFIG_PATH environment variable Package 'nss-softokn', required by 'virtual:world', not found Package nss-softokn was not found in the pkg-config search path. Perhaps you should add the directory containing `nss-softokn.pc' to the PKG_CONFIG_PATH environment variable Package 'nss-softokn', required by 'virtual:world', not found Package nss was not found in the pkg-config search path. Perhaps you should add the directory containing `nss.pc' to the PKG_CONFIG_PATH environment variable Package 'nss', required by 'virtual:world', not found Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.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/java-1.8.0-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413076-72800/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/java-1.8.0-openjdk-portable.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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l5MJK3 + umask 022 + cd /builddir/build/BUILD include_normal_build is 1 include_debug_build is 1 include_fastdebug_build is 1 Update version: 442 Build number: b06 Milestone: fcs + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_debug_build is 1' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_fastdebug_build is 1' + '[' 1 -eq 0 -a 1 -eq 0 -a 1 -eq 0 ']' + echo 'Update version: 442' + echo 'Build number: b06' + echo 'Milestone: fcs' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 + /usr/bin/mkdir -p java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 + cd java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 + /usr/bin/xz -dc /builddir/build/SOURCES/shenandoah8u442-b06.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 1800442 + prioritylength=7 + '[' 7 -ne 7 ']' + ln -s shenandoah8u442-b06 jdk8 + ln -s shenandoah8u442-b06 openjdk + cp /builddir/build/SOURCES/README.md . + pushd shenandoah8u442-b06 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64/shenandoah8u442-b06 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64/shenandoah8u442-b06 ~/build/BUILD/java-1.8.0-openjdk-portable-1.8.0.442.b06-1.0.2.an8.loongarch64 Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch): + popd + pushd shenandoah8u442-b06 + echo 'Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/lib/security/java.security-linux Hunk #1 FAILED at 74. 1 out of 1 hunk FAILED -- saving rejects to file jdk/src/share/lib/security/java.security-linux.rej error: Bad exit status from /var/tmp/rpm-tmp.l5MJK3 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.l5MJK3 (%prep) 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/java-1.8.0-openjdk-portable.spec