Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dotnet6.0.spec'], chrootPath='/var/lib/mock/dist-an8_5-build-82917-41277/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 aarch64 --nodeps /builddir/build/SPECS/dotnet6.0.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/dotnet6.0-6.0.104-1.0.1.an8_5.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/dotnet6.0.spec'], chrootPath='/var/lib/mock/dist-an8_5-build-82917-41277/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 aarch64 --nodeps /builddir/build/SPECS/dotnet6.0.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QDwSZI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v6.0.104-SDK + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v6.0.104-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v6.0.104-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.6.0.103.tar.gz packages/archive/ + ln -s '/usr/lib64/dotnet/reference-packages/Private.SourceBuild.ReferencePackages*.tar.gz' packages/archive/ + sed -i 's|/usr/share/dotnet|/usr/lib64/dotnet|' src/runtime.be98e88c760526452df94ef452fff4602fb5bded/src/native/corehost/hostmisc/pal.unix.cpp + pushd src/runtime.be98e88c760526452df94ef452fff4602fb5bded ~/build/BUILD/dotnet-v6.0.104-SDK/src/runtime.be98e88c760526452df94ef452fff4602fb5bded ~/build/BUILD/dotnet-v6.0.104-SDK Patch #100 (runtime-arm64-lld-fix.patch): + echo 'Patch #100 (runtime-arm64-lld-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eng/native/init-compiler.sh Patch #101 (runtime-mono-remove-ilstrip.patch): + echo 'Patch #101 (runtime-mono-remove-ilstrip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Microsoft.NET.Runtime.MonoTargets.Sdk.pkgproj patching file src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Sdk/Sdk.props + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #300 (command-line-api-use-work-tree-with-git-apply.patch): + pushd src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105 + echo 'Patch #300 (command-line-api-use-work-tree-with-git-apply.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eng/SourceBuild.props + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/vstest.68bd10d3aee862a9fbb0bac8b3d474bc323024f3 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #400 (vstest-use-work-tree-with-git-apply.patch): + pushd src/vstest.68bd10d3aee862a9fbb0bac8b3d474bc323024f3 + echo 'Patch #400 (vstest-use-work-tree-with-git-apply.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eng/SourceBuild.props + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/fsharp.6d626ff0752a77d339f609b4d361787dc9ca93a5 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #500 (fsharp-use-work-tree-with-git-apply.patch): + pushd src/fsharp.6d626ff0752a77d339f609b4d361787dc9ca93a5 + echo 'Patch #500 (fsharp-use-work-tree-with-git-apply.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eng/SourceBuild.props Patch #501 (fsharp-no-apphost.patch): + echo 'Patch #501 (fsharp-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/benchmarks/MicroPerf/MicroPerf.fsproj patching file tests/benchmarks/TaskPerf/TaskPerf.fsproj + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/xliff-tasks.bc3233146e1fcd393ed471d5005333c83363e0fe ~/build/BUILD/dotnet-v6.0.104-SDK Patch #600 (xliff-tasks-use-work-tree-with-git-apply.patch): + pushd src/xliff-tasks.bc3233146e1fcd393ed471d5005333c83363e0fe + echo 'Patch #600 (xliff-tasks-use-work-tree-with-git-apply.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eng/SourceBuild.props + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/arcade.879df783283dfb44c7653493fdf7fd7b07ba6b01 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #700 (arcade-no-apphost.patch): + pushd src/arcade.879df783283dfb44c7653493fdf7fd7b07ba6b01 + echo 'Patch #700 (arcade-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Microsoft.DotNet.GitSync.CommitManager/Microsoft.DotNet.GitSync.CommitManager.csproj patching file src/Microsoft.DotNet.SwaggerGenerator/Microsoft.DotNet.SwaggerGenerator.CmdLine/Microsoft.DotNet.SwaggerGenerator.CmdLine.csproj patching file src/Microsoft.DotNet.XUnitConsoleRunner/src/Microsoft.DotNet.XUnitConsoleRunner.csproj + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/roslyn.27d9215906a62c0a550ba19cd275a2dc94ad88b3 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #800 (roslyn-57003-mono-named-mutex.patch): + pushd src/roslyn.27d9215906a62c0a550ba19cd275a2dc94ad88b3 + echo 'Patch #800 (roslyn-57003-mono-named-mutex.patch):' + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file src/Compilers/Core/Portable/InternalUtilities/PlatformInformation.cs patching file src/Compilers/Server/VBCSCompilerTests/BuildClientTests.cs patching file src/Compilers/Server/VBCSCompilerTests/CompilerServerApiTest.cs patching file src/Compilers/Server/VBCSCompilerTests/CompilerServerTests.cs patching file src/Compilers/Server/VBCSCompilerTests/VBCSCompilerServerTests.cs patching file src/Compilers/Shared/BuildServerConnection.cs + echo 'Patch #801 (roslyn-no-apphost.patch):' Patch #801 (roslyn-no-apphost.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Workspaces/Remote/ServiceHub.CoreComponents/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.csproj + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/roslyn-analyzers.c750b5a665adb75b528a93d844f238bd1360a91a ~/build/BUILD/dotnet-v6.0.104-SDK Patch #900 (roslyn-analyzers-no-apphost.patch): + pushd src/roslyn-analyzers.c750b5a665adb75b528a93d844f238bd1360a91a + echo 'Patch #900 (roslyn-analyzers-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Tools/ReleaseNotesUtil/ReleaseNotesUtil.csproj + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/msbuild.c9eb9dd64e9a2e8a433900a1a626d65a2bce4428 ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK + pushd src/msbuild.c9eb9dd64e9a2e8a433900a1a626d65a2bce4428 + popd + pushd src/sdk.50e695e438ba9f826633d4127d891d53fd972314 + echo 'Patch #1500 (sdk-telemetry-optout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 ~/build/BUILD/dotnet-v6.0.104-SDK/src/sdk.50e695e438ba9f826633d4127d891d53fd972314 ~/build/BUILD/dotnet-v6.0.104-SDK Patch #1500 (sdk-telemetry-optout.patch): patching file src/Cli/dotnet/Program.cs Hunk #1 succeeded at 27 (offset -1 lines). Patch #1501 (sdk-22373-portablerid.patch): + echo 'Patch #1501 (sdk-22373-portablerid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets + popd ~/build/BUILD/dotnet-v6.0.104-SDK ~/build/BUILD/dotnet-v6.0.104-SDK/src/installer.915d644e451858f4f7c6e1416ea202695ddd54fb ~/build/BUILD/dotnet-v6.0.104-SDK + pushd src/installer.915d644e451858f4f7c6e1416ea202695ddd54fb + echo 'Patch #1600 (installer-12516-portablerid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1600 (installer-12516-portablerid.patch): patching file src/redist/targets/GetRuntimeInformation.targets + popd ~/build/BUILD/dotnet-v6.0.104-SDK Patch #2000 (2000-anolis-dotnet-add-distro.patch): + echo 'Patch #2000 (2000-anolis-dotnet-add-distro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json 2021-10-03 23:24:08.000000000 +0800 |+++ ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json.new 2022-02-13 20:18:52.581165361 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 73 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json 2021-10-03 23:24:08.000000000 +0800 |+++ ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json.new 2022-02-13 20:42:04.794952145 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 210 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props 2021-10-03 23:24:08.000000000 +0800 |+++ ./src/runtime.c24d9a9c91c5d04b7b4de71f1a9f33ac35e09663/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props.new 2022-02-12 20:37:51.705404475 +0800 -------------------------- 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.QDwSZI (%prep) Bad exit status from /var/tmp/rpm-tmp.QDwSZI (%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 aarch64 --nodeps /builddir/build/SPECS/dotnet6.0.spec