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/dotnet6.0.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-133972-48618/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/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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dotnet6.0-6.0.110-1.0.1.an8.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/dotnet6.0.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-133972-48618/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/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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MDlaBJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v6.0.110 + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v6.0.110.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v6.0.110 + /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.104.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/src/native/corehost/hostmisc/pal.unix.cpp + pushd src/runtime ~/build/BUILD/dotnet-v6.0.110/src/runtime ~/build/BUILD/dotnet-v6.0.110 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 + echo 'Patch #101 (runtime-mono-remove-ilstrip.patch):' 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 + echo 'Patch #102 (runtime-66594-s390x-debuginfo.patch):' Patch #102 (runtime-66594-s390x-debuginfo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mono/mono.proj + popd ~/build/BUILD/dotnet-v6.0.110 ~/build/BUILD/dotnet-v6.0.110/src/fsharp ~/build/BUILD/dotnet-v6.0.110 Patch #500 (fsharp-no-apphost.patch): + pushd src/fsharp + echo 'Patch #500 (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.110 ~/build/BUILD/dotnet-v6.0.110/src/arcade ~/build/BUILD/dotnet-v6.0.110 Patch #700 (arcade-no-apphost.patch): + pushd src/arcade + 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.110 ~/build/BUILD/dotnet-v6.0.110/src/roslyn ~/build/BUILD/dotnet-v6.0.110 Patch #800 (roslyn-57003-mono-named-mutex.patch): + pushd src/roslyn + 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.110 ~/build/BUILD/dotnet-v6.0.110/src/roslyn-analyzers ~/build/BUILD/dotnet-v6.0.110 Patch #900 (roslyn-analyzers-no-apphost.patch): + pushd src/roslyn-analyzers + 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.110 ~/build/BUILD/dotnet-v6.0.110/src/msbuild ~/build/BUILD/dotnet-v6.0.110 ~/build/BUILD/dotnet-v6.0.110 ~/build/BUILD/dotnet-v6.0.110/src/sdk ~/build/BUILD/dotnet-v6.0.110 Patch #1500 (sdk-telemetry-optout.patch): + pushd src/msbuild + popd + pushd src/sdk + echo 'Patch #1500 (sdk-telemetry-optout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Cli/dotnet/Program.cs Hunk #1 succeeded at 27 (offset -1 lines). + echo 'Patch #1501 (sdk-22373-portablerid.patch):' 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.110 ~/build/BUILD/dotnet-v6.0.110/src/installer ~/build/BUILD/dotnet-v6.0.110 Patch #1600 (installer-12516-portablerid.patch): + pushd src/installer + echo 'Patch #1600 (installer-12516-portablerid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/redist/targets/GetRuntimeInformation.targets + popd ~/build/BUILD/dotnet-v6.0.110 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 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/arcade/src/Microsoft.DotNet.XUnitConsoleRunner/src/common/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions/Native/PlatformApis.cs dotnet-v6.0.110-new/src/arcade/src/Microsoft.DotNet.XUnitConsoleRunner/src/common/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions/Native/PlatformApis.cs |--- dotnet-v6.0.110/src/arcade/src/Microsoft.DotNet.XUnitConsoleRunner/src/common/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions/Native/PlatformApis.cs 2022-09-27 12:26:56.000000000 +0800 |+++ dotnet-v6.0.110-new/src/arcade/src/Microsoft.DotNet.XUnitConsoleRunner/src/common/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions/Native/PlatformApis.cs 2022-10-13 09:42:43.023460111 +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 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/deployment-tools/eng/native/init-distro-rid.sh dotnet-v6.0.110-new/src/deployment-tools/eng/native/init-distro-rid.sh |--- dotnet-v6.0.110/src/deployment-tools/eng/native/init-distro-rid.sh 2022-09-27 12:26:50.000000000 +0800 |+++ dotnet-v6.0.110-new/src/deployment-tools/eng/native/init-distro-rid.sh 2022-10-13 09:19:58.970791620 +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 28 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/diagnostics/eng/init-distro-rid.sh dotnet-v6.0.110-new/src/diagnostics/eng/init-distro-rid.sh |--- dotnet-v6.0.110/src/diagnostics/eng/init-distro-rid.sh 2022-09-27 12:26:52.000000000 +0800 |+++ dotnet-v6.0.110-new/src/diagnostics/eng/init-distro-rid.sh 2022-10-13 09:15:42.370675650 +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 40 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/runtime/eng/native/init-distro-rid.sh dotnet-v6.0.110-new/src/runtime/eng/native/init-distro-rid.sh |--- dotnet-v6.0.110/src/runtime/eng/native/init-distro-rid.sh 2022-09-27 12:24:48.000000000 +0800 |+++ dotnet-v6.0.110-new/src/runtime/eng/native/init-distro-rid.sh 2022-10-13 09:17:45.676289426 +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 52 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props dotnet-v6.0.110-new/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props |--- dotnet-v6.0.110/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props 2022-09-27 12:24:49.000000000 +0800 |+++ dotnet-v6.0.110-new/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props 2022-10-13 09:13:17.839300215 +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 77 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/runtime/src/native/corehost/hostmisc/pal.unix.cpp dotnet-v6.0.110-new/src/runtime/src/native/corehost/hostmisc/pal.unix.cpp |--- dotnet-v6.0.110/src/runtime/src/native/corehost/hostmisc/pal.unix.cpp 2022-09-27 12:24:51.000000000 +0800 |+++ dotnet-v6.0.110-new/src/runtime/src/native/corehost/hostmisc/pal.unix.cpp 2022-10-13 09:39:36.634554667 +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 99 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v6.0.110/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/RuntimeEnvironment.cs dotnet-v6.0.110-new/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/RuntimeEnvironment.cs |--- dotnet-v6.0.110/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/RuntimeEnvironment.cs 2022-09-27 12:25:16.000000000 +0800 |+++ dotnet-v6.0.110-new/src/sdk/src/Cli/Microsoft.DotNet.Cli.Utils/RuntimeEnvironment.cs 2022-10-13 09:29:01.519692215 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MDlaBJ (%prep) Bad exit status from /var/tmp/rpm-tmp.MDlaBJ (%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/dotnet6.0.spec