Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dotnet3.1.spec'], chrootPath='/var/lib/mock/dist-an8_4-build-58167-29426/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dotnet3.1.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dotnet3.1-3.1.118-1.0.1.an8_4.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dotnet3.1.spec'], chrootPath='/var/lib/mock/dist-an8_4-build-58167-29426/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dotnet3.1.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OQZnVr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v3.1.118-SDK + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.118-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.118-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v3.1.118-SDK + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|/usr/share/dotnet|/usr/lib64/dotnet|' src/dotnet-core-setup.5d3919d34e0d8940ee50c36d823ddc28d6b1723c/src/corehost/common/pal.unix.cpp + sed -i 's|skiptests|skiptests ignorewarnings|' repos/coreclr.common.props + pushd src/dotnet-corefx.35d34d408c00b1a44a5f4df0f434030849419f1e ~/build/BUILD/dotnet-v3.1.118-SDK/src/dotnet-corefx.35d34d408c00b1a44a5f4df0f434030849419f1e ~/build/BUILD/dotnet-v3.1.118-SDK Patch #100 (corefx-optflags-support.patch): + echo 'Patch #100 (corefx-optflags-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Native/Unix/CMakeLists.txt Hunk #1 succeeded at 33 (offset 8 lines). patching file src/Native/Unix/configure.cmake Hunk #2 succeeded at 784 (offset 80 lines). + echo 'Patch #101 (corefx-39633-cgroupv2-mountpoints.patch):' Patch #101 (corefx-39633-cgroupv2-mountpoints.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Common/src/Interop/Unix/System.Native/Interop.MountPoints.FormatInfo.cs + popd ~/build/BUILD/dotnet-v3.1.118-SDK ~/build/BUILD/dotnet-v3.1.118-SDK/src/dotnet-coreclr.2aee3eb10b6303dff09cbe5ac99b6fae4644f346 ~/build/BUILD/dotnet-v3.1.118-SDK Patch #200 (coreclr-27048-sysctl-deprecation.patch): + pushd src/dotnet-coreclr.2aee3eb10b6303dff09cbe5ac99b6fae4644f346 + echo 'Patch #200 (coreclr-27048-sysctl-deprecation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pal/src/misc/sysinfo.cpp Patch #201 (coreclr-hardening-flags.patch): + echo 'Patch #201 (coreclr-hardening-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/debug/createdump/CMakeLists.txt Hunk #1 succeeded at 39 (offset 1 line). patching file src/corefx/System.Globalization.Native/CMakeLists.txt Hunk #1 succeeded at 63 (offset -8 lines). + echo 'Patch #202 (coreclr-libunwind-fno-common.patch):' Patch #202 (coreclr-libunwind-fno-common.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pal/src/libunwind/src/aarch64/Ginit.c patching file src/pal/src/libunwind/src/arm/Ginit.c patching file src/pal/src/libunwind/src/coredump/_UPT_get_dyn_info_list_addr.c patching file src/pal/src/libunwind/src/hppa/Ginit.c patching file src/pal/src/libunwind/src/ia64/Ginit.c patching file src/pal/src/libunwind/src/mi/Gfind_dynamic_proc_info.c patching file src/pal/src/libunwind/src/mips/Ginit.c patching file src/pal/src/libunwind/src/ppc32/Ginit.c patching file src/pal/src/libunwind/src/ppc64/Ginit.c patching file src/pal/src/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c patching file src/pal/src/libunwind/src/sh/Ginit.c patching file src/pal/src/libunwind/src/tilegx/Ginit.c patching file src/pal/src/libunwind/src/x86/Ginit.c patching file src/pal/src/libunwind/src/x86_64/Ginit.c + popd ~/build/BUILD/dotnet-v3.1.118-SDK ~/build/BUILD/dotnet-v3.1.118-SDK/src/dotnet-core-setup.5d3919d34e0d8940ee50c36d823ddc28d6b1723c ~/build/BUILD/dotnet-v3.1.118-SDK Patch #300 (core-setup-do-not-strip.patch): + pushd src/dotnet-core-setup.5d3919d34e0d8940ee50c36d823ddc28d6b1723c + echo 'Patch #300 (core-setup-do-not-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settings.cmake Hunk #1 succeeded at 71 (offset 2 lines). + popd ~/build/BUILD/dotnet-v3.1.118-SDK ~/build/BUILD/dotnet-v3.1.118-SDK/src/dotnet-cli.42d211cbde02c515609c1d4691f2c997ab7033ee ~/build/BUILD/dotnet-v3.1.118-SDK Patch #500 (cli-telemetry-optout.patch): + pushd src/dotnet-cli.42d211cbde02c515609c1d4691f2c997ab7033ee + echo 'Patch #500 (cli-telemetry-optout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/dotnet/Program.cs Hunk #1 succeeded at 29 (offset 1 line). + popd ~/build/BUILD/dotnet-v3.1.118-SDK Patch #1000 (0001-dotnet-anolis-add-distro.patch): + echo 'Patch #1000 (0001-dotnet-anolis-add-distro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file repos/core-setup.common.targets can't find file to patch at input line 30 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json b/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json |index 382ee4552..0277f97b0 100644 |--- a/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json |+++ b/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 93 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props b/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props |index faa697f34..82ee1d5a4 100644 |--- a/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props |+++ b/src/dotnet-corefx.9299d909ff6c03c664a3f9a3ef995a9fa2eeec3e/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored error: Bad exit status from /var/tmp/rpm-tmp.OQZnVr (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OQZnVr (%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 x86_64 --nodeps /builddir/build/SPECS/dotnet3.1.spec