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-76437-39458/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.116-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/dotnet3.1.spec'], chrootPath='/var/lib/mock/dist-an8.4-build-76437-39458/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.YpazX2 + 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/core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0/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/corefx.658544bf73653f734bca9675602fa57440f8b718 ~/build/BUILD/dotnet-v3.1.116-SDK/src/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). + 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 + 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 + echo 'Patch #201 (coreclr-hardening-flags.patch):' 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 + popd ~/build/BUILD/dotnet-v3.1.116-SDK ~/build/BUILD/dotnet-v3.1.116-SDK/src/core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0 ~/build/BUILD/dotnet-v3.1.116-SDK Patch #300 (core-setup-do-not-strip.patch): + pushd src/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 + echo 'Patch #301 (core-setup-hardening-flags.patch):' 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/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8 ~/build/BUILD/dotnet-v3.1.116-SDK Patch #500 (cli-telemetry-optout.patch): + pushd src/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 patching file src/corefx.658544bf73653f734bca9675602fa57440f8b718/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json Hunk #2 succeeded at 5271 (offset 119 lines). patching file src/corefx.658544bf73653f734bca9675602fa57440f8b718/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props Hunk #1 succeeded at 40 (offset 7 lines). Hunk #2 succeeded at 201 (offset 12 lines). + grep CLR_CMAKE_USE_SYSTEM_LIBUNWIND repos/coreclr.common.props $(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE + sed -i 's|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=FALSE|' repos/coreclr.common.props + cat source-build-info.txt source-build: 50888aa55ff56a262682cf3e42193fd1abb6adf1 . (v3.1.116-SDK) submodules: + find -iname nuget.config -exec echo '{}:' ';' -exec cat '{}' ';' -exec echo ';' ./src/Newtonsoft.Json.e43dae94c26f0c30e9095327a3a9eac87193923d/Src/NuGet.Config:  ./src/core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0/eng/common/sdl/NuGet.config:  ./src/core-setup.4c6b4aa257241c4d419b8c271e37afac4445b1c0/NuGet.config: ./src/xdt.c01a538851a8ab1a1fbeb2e6243f391fff7587b4/NuGet.config:  ./src/toolset.7e6521f300e2a942d94c3be4eefbde921d3bbe74/eng/common/sdl/NuGet.config:  ./src/toolset.7e6521f300e2a942d94c3be4eefbde921d3bbe74/NuGet.config: ./src/aspnetcore-tooling.198cc5ec1c2fa512a34273fdfcc659e54c539002/eng/common/sdl/NuGet.config:  ./src/aspnetcore-tooling.198cc5ec1c2fa512a34273fdfcc659e54c539002/NuGet.config: ./src/sdk.ef142b8d894e6f4b4f5f2d086e1802ec56351dd6/eng/common/sdl/NuGet.config:  ./src/sdk.ef142b8d894e6f4b4f5f2d086e1802ec56351dd6/NuGet.config: ./src/xliff-tasks.173ee3bd61c9549557eefa3cfb718bdef157cb87/NuGet.config: ./src/installer.975b5bfc36d279a27ee35637f6503b5b9ddb7b1c/eng/common/sdl/NuGet.config:  ./src/installer.975b5bfc36d279a27ee35637f6503b5b9ddb7b1c/NuGet.config: ./src/common.6e37cdfe96ac8b06a923242120169fafacd720e6/NuGet.config: ./src/NuGet.Client.6f8eb3a2e1db6b458451b9cfd2a4f5557769b041/submodules/FileSystem/NuGet.config: ./src/NuGet.Client.6f8eb3a2e1db6b458451b9cfd2a4f5557769b041/submodules/Common/NuGet.config:  ./src/NuGet.Client.6f8eb3a2e1db6b458451b9cfd2a4f5557769b041/test/EndToEnd/NuGet.Config:  ./src/NuGet.Client.6f8eb3a2e1db6b458451b9cfd2a4f5557769b041/NuGet.Config: ./src/standard.a5b5f2e1e369972c8ff1e2183979fab6099f52ef/eng/common/sdl/NuGet.config:  ./src/standard.a5b5f2e1e369972c8ff1e2183979fab6099f52ef/NuGet.config: ./src/roslyn.d8180a5ecafb92adcfbfe8cf9199eb23be1a1ccf/src/Workspaces/MSBuildTest/Resources/NuGet.Config:  ./src/roslyn.d8180a5ecafb92adcfbfe8cf9199eb23be1a1ccf/eng/common/sdl/NuGet.config:  ./src/roslyn.d8180a5ecafb92adcfbfe8cf9199eb23be1a1ccf/NuGet.config: ./src/extensions.60938620996db86debee5cf1652e70a6ec5cb3e7/eng/common/sdl/NuGet.config:  ./src/extensions.60938620996db86debee5cf1652e70a6ec5cb3e7/NuGet.config: ./src/websdk.7f8358e605a2a61afbba8b5e61be6a9f6c474955/eng/common/sdl/NuGet.config:  ./src/websdk.7f8358e605a2a61afbba8b5e61be6a9f6c474955/NuGet.config: ./src/sourcelink.f175b06862f889474b689a57527e489101c774cc/eng/common/sdl/NuGet.config:  ./src/sourcelink.f175b06862f889474b689a57527e489101c774cc/NuGet.config: ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/src/dotnet-new3/NuGet.Config:  ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/test/dotnet-new3.UnitTests/NuGet.Config:  ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/eng/common/sdl/NuGet.config:  ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Nuget/nuget.config: ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/tools/ProjectTestRunner/NuGet.config: ./src/templating.241b4771f5caa832464e16ee6739c291d12b0ff5/NuGet.config: ./src/cliCommandLineParser.0e89c2116ad28e404ba56c14d1c3f938caa25a01/NuGet.config: -> ./src/Newtonsoft.Json.cac0690ad133c5e166ce5642dc71175791404fad/Src/NuGet.Config:  ./src/msbuild.e901037fe1815eae17424f860412d0b967d09461/eng/common/sdl/NuGet.config:  ./src/msbuild.e901037fe1815eae17424f860412d0b967d09461/NuGet.config: ./src/corefx.658544bf73653f734bca9675602fa57440f8b718/eng/common/sdl/NuGet.config:  ./src/corefx.658544bf73653f734bca9675602fa57440f8b718/eng/internal/NuGet.config: ./src/corefx.658544bf73653f734bca9675602fa57440f8b718/NuGet.config: ./src/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8/TestAssets/TestPackages/dotnet-desktop-and-portable/NuGet.Config:  ./src/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8/TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/NuGet.Config: ./src/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8/TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/NuGet.Config: ./src/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8/eng/common/sdl/NuGet.config:  ./src/cli.49e1881e820b9958b6292276afc5afb8a7b2b9d8/NuGet.config: ./src/fsharp.dc86ab5d2c46e9a7c49290e7e2270ab1eeb0c61e/tests/EndToEndBuildTests/ComboProvider/ComboProvider.Tests/NuGet.config: ./src/fsharp.dc86ab5d2c46e9a7c49290e7e2270ab1eeb0c61e/tests/EndToEndBuildTests/BasicProvider/BasicProvider.Tests/NuGet.config: ./src/fsharp.dc86ab5d2c46e9a7c49290e7e2270ab1eeb0c61e/tests/FSharp.Build.UnitTests/NuGet.Config:  ./src/fsharp.dc86ab5d2c46e9a7c49290e7e2270ab1eeb0c61e/eng/common/sdl/NuGet.config:  ./src/fsharp.dc86ab5d2c46e9a7c49290e7e2270ab1eeb0c61e/NuGet.config: ./src/arcade.15f00efd583eab4372b2e9ca25bd80ace5b119ad/eng/common/sdl/NuGet.config:  ./src/arcade.15f00efd583eab4372b2e9ca25bd80ace5b119ad/NuGet.config: ./src/coreclr.b820e148c5ded6a37cb3ddb38b88b54210189562/eng/common/sdl/NuGet.config:  ./src/coreclr.b820e148c5ded6a37cb3ddb38b88b54210189562/eng/internal/NuGet.config: ./src/coreclr.b820e148c5ded6a37cb3ddb38b88b54210189562/NuGet.config: ./src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/test/ILLink.Tasks.Tests/nuget/NuGet.config: ./src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/eng/common/sdl/NuGet.config:  ./src/linker.1127689f262d52ea8ff68ef03d706fa62b3b40a1/NuGet.config: ./src/vstest.55e7e45431c9c05656c999b902686e7402664573/NuGet.config:  ./src/aspnetcore.7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf/src/Components/benchmarkapps/BlazingPizza.Server/NuGet.config: ./src/aspnetcore.7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf/src/Servers/Kestrel/perf/PlatformBenchmarks/NuGet.config: ./src/aspnetcore.7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf/src/Mvc/benchmarkapps/NuGet.config: ./src/aspnetcore.7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf/eng/common/sdl/NuGet.config:  ./src/aspnetcore.7e8bbb70b266b2fdaf0b11ec47fb3077761fb6bf/NuGet.config: ./src/ApplicationInsights-dotnet.53b80940842204f78708a538628288ff5d741a1d/NuGet.config:  ./tools-local/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/NuGet.Config: ./packages/reference/staging/microsoft.dotnet.common.itemtemplates/2.0.0-preview8.19373.1/content/Nuget/nuget.config: ./packages/reference/staging/microsoft.dotnet.common.itemtemplates/1.0.2-beta3/content/Nuget/nuget.config: ./packages/reference/staging/microsoft.dotnet.common.itemtemplates/1.0.2-beta4/content/Nuget/nuget.config: ./eng/common/sdl/NuGet.config:  + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7xtv9Z + umask 022 + cd /builddir/build/BUILD + cd dotnet-v3.1.116-SDK + cat /etc/os-release NAME="Anolis OS" VERSION="8.4" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.4" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.4" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now ' + VERBOSE=1 + ./build.sh -- /v:n /p:SkipPortableRuntimeBuild=true /p:LogVerbosity=n /p:MinimalConsoleLogOutput=false /p:ContinueOnPrebuiltBaselineError=true Detected '--': passing remaining parameters '/v:n /p:SkipPortableRuntimeBuild=true /p:LogVerbosity=n /p:MinimalConsoleLogOutput=false /p:ContinueOnPrebuiltBaselineError=true' as build.sh arguments. Cannot find PackagesVersions.props. Debugging info: Attempted archive path: /builddir/build/BUILD/dotnet-v3.1.116-SDK/packages/archive Attempted custom PVP path: /PackageVersions.props error: Bad exit status from /var/tmp/rpm-tmp.7xtv9Z (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7xtv9Z (%build) 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