Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 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-26417-14671/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=FalseprintOutput=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.116-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-26417-14671/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=FalseprintOutput=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.nMAZE4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v3.1.116-SDK + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.116-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.116-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v3.1.116-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.4c6b4aa257241c4d419b8c271e37afac4445b1c0/src/corehost/common/pal.unix.cpp + sed -i 's|skiptests|skiptests ignorewarnings|' repos/coreclr.common.props + pushd src/dotnet-corefx.658544bf73653f734bca9675602fa57440f8b718 ~/build/BUILD/dotnet-v3.1.116-SDK/src/dotnet-corefx.658544bf73653f734bca9675602fa57440f8b718 ~/build/BUILD/dotnet-v3.1.116-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 26 (offset 1 line). patching file src/Native/Unix/configure.cmake Hunk #2 succeeded at 784 (offset 80 lines). Patch #103 (corefx-39633-cgroupv2-mountpoints.patch): + echo 'Patch #103 (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 + echo 'Patch #104 (corefx-hardening-flags.patch):' Patch #104 (corefx-hardening-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Native/Unix/System.Native/CMakeLists.txt + popd ~/build/BUILD/dotnet-v3.1.116-SDK ~/build/BUILD/dotnet-v3.1.116-SDK/src/coreclr.b820e148c5ded6a37cb3ddb38b88b54210189562 ~/build/BUILD/dotnet-v3.1.116-SDK Patch #200 (coreclr-27048-sysctl-deprecation.patch): + pushd src/coreclr.b820e148c5ded6a37cb3ddb38b88b54210189562 + 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 41 (offset 3 lines). patching file src/corefx/System.Globalization.Native/CMakeLists.txt Patch #202 (coreclr-libunwind-fno-common.patch): + echo '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.116-SDK ~/build/BUILD/dotnet-v3.1.116-SDK/src/dotnet-core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0 ~/build/BUILD/dotnet-v3.1.116-SDK Patch #300 (core-setup-do-not-strip.patch): + pushd src/dotnet-core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0 + echo 'Patch #300 (core-setup-do-not-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settings.cmake Patch #301 (core-setup-hardening-flags.patch): + echo 'Patch #301 (core-setup-hardening-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settings.cmake Hunk #1 succeeded at 173 (offset -45 lines). patching file src/corehost/cli/apphost/CMakeLists.txt Hunk #1 succeeded at 49 (offset -1 lines). + popd ~/build/BUILD/dotnet-v3.1.116-SDK ~/build/BUILD/dotnet-v3.1.116-SDK/src/dotnet-cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8 ~/build/BUILD/dotnet-v3.1.116-SDK Patch #500 (cli-telemetry-optout.patch): + pushd src/dotnet-cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8 + 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.116-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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.nMAZE4 (%prep) Bad exit status from /var/tmp/rpm-tmp.nMAZE4 (%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