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_5-build-77999-40548/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.417-1.0.1.an8_5.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_5-build-77999-40548/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.us1Sru + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v3.1.417-SDK + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.417-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v3.1.417-SDK + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -iname '*.dll' -type f -delete + find -iname '*.so' -type f -delete + find -iname '*.tar.gz' -type f -delete + find -iname '*.nupkg' -type f -delete + find -iname '*.zip' -type f -delete + rm -rf .dotnet/ + rm -rf packages/source-built + mkdir -p packages/archive + ln -s /usr/lib64/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.0.1.0-dev.tar.gz packages/archive/ + ln -s /usr/lib64/dotnet/reference-packages/Private.SourceBuild.ReferencePackages.0.tar.gz packages/archive + sed -i 's|/usr/share/dotnet|/usr/lib64/dotnet|' src/dotnet-core-setup.7af614fde0e0da1d20b33a6e2da7ae2994c5eec3/src/corehost/common/pal.unix.cpp + sed -i 's|skiptests|skiptests ignorewarnings|' repos/coreclr.common.props + echo 'Patch #1 (source-build-ilasm-ildasm-path-fix.patch):' Patch #1 (source-build-ilasm-ildasm-path-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Directory.Build.props + pushd src/dotnet-corefx.641ee87bc17bd8307682c4677c10e0eb33906c0d ~/build/BUILD/dotnet-v3.1.417-SDK/src/dotnet-corefx.641ee87bc17bd8307682c4677c10e0eb33906c0d ~/build/BUILD/dotnet-v3.1.417-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 #103 (corefx-39633-cgroupv2-mountpoints.patch):' 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 + popd ~/build/BUILD/dotnet-v3.1.417-SDK ~/build/BUILD/dotnet-v3.1.417-SDK/src/dotnet-coreclr.0dee78f90fc80c0fa4390ac1ba519c679bd503a4 ~/build/BUILD/dotnet-v3.1.417-SDK Patch #200 (coreclr-27048-sysctl-deprecation.patch): + pushd src/dotnet-coreclr.0dee78f90fc80c0fa4390ac1ba519c679bd503a4 + 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 + popd ~/build/BUILD/dotnet-v3.1.417-SDK ~/build/BUILD/dotnet-v3.1.417-SDK/src/dotnet-core-setup.7af614fde0e0da1d20b33a6e2da7ae2994c5eec3 ~/build/BUILD/dotnet-v3.1.417-SDK Patch #300 (core-setup-do-not-strip.patch): + pushd src/dotnet-core-setup.7af614fde0e0da1d20b33a6e2da7ae2994c5eec3 + 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 79 (offset 10 lines). + popd ~/build/BUILD/dotnet-v3.1.417-SDK ~/build/BUILD/dotnet-v3.1.417-SDK/src/dotnet-cli.433456c4deeb85f95ce94acc35cfa84373e5daa2 ~/build/BUILD/dotnet-v3.1.417-SDK Patch #500 (cli-telemetry-optout.patch): + pushd src/dotnet-cli.433456c4deeb85f95ce94acc35cfa84373e5daa2 + 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.417-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/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json |index 382ee4552..0277f97b0 100644 |--- a/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json |+++ b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 115 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.json b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.json |index 382ee4552..0277f97b0 100644 |--- a/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.json 2021-12-11 06:54:19.000000000 +0800 |+++ b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtime.json 2022-02-28 23:54:04.700075540 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 164 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props |index faa697f34..82ee1d5a4 100644 |--- a/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props |+++ b/src/corefx.93bbacb3437ddb3b5a45ea269ea049d64b5825ec/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.us1Sru (%prep) Bad exit status from /var/tmp/rpm-tmp.us1Sru (%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