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-413066-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-413066-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.GMzh2s + 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 #1001 (fips-8u-6d1aade0648.patch): + popd + pushd shenandoah8u442-b06 + echo 'Patch #1001 (fips-8u-6d1aade0648.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/configure.ac patching file common/autoconf/generated-configure.sh Hunk #1 succeeded at 652 (offset -3 lines). Hunk #2 FAILED at 1122. Hunk #3 succeeded at 1228 (offset -7 lines). Hunk #4 FAILED at 1879. Hunk #5 succeeded at 2119 (offset -15 lines). Hunk #6 succeeded at 4055 (offset -61 lines). Hunk #7 succeeded at 50092 (offset -61 lines). 2 out of 7 hunks FAILED -- saving rejects to file common/autoconf/generated-configure.sh.rej patching file common/autoconf/libraries.m4 Hunk #1 succeeded at 1067 (offset -149 lines). patching file common/autoconf/spec.gmk.in Hunk #1 FAILED at 317. 1 out of 1 hunk FAILED -- saving rejects to file common/autoconf/spec.gmk.in.rej patching file common/bin/compare_exceptions.sh.incl patching file common/nb_native/nbproject/configurations.xml patching file jdk/make/lib/SecurityLibraries.gmk patching file jdk/make/mapfiles/libsystemconf/mapfile-vers patching file jdk/src/share/classes/java/security/Security.java patching file jdk/src/share/classes/java/security/SystemConfigurator.java patching file jdk/src/share/classes/sun/misc/JavaSecuritySystemConfiguratorAccess.java patching file jdk/src/share/classes/sun/misc/SharedSecrets.java patching file jdk/src/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java patching file jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java patching file jdk/src/share/classes/sun/security/ssl/KeyManagerFactoryImpl.java patching file jdk/src/share/classes/sun/security/ssl/SSLContextImpl.java patching file jdk/src/share/classes/sun/security/ssl/SunJSSE.java patching file jdk/src/share/lib/security/java.security-aix patching file jdk/src/share/lib/security/java.security-linux patching file jdk/src/share/lib/security/java.security-macosx patching file jdk/src/share/lib/security/java.security-solaris patching file jdk/src/share/lib/security/java.security-windows patching file jdk/src/solaris/native/java/security/systemconf.c error: Bad exit status from /var/tmp/rpm-tmp.GMzh2s (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GMzh2s (%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