Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dotnet6.0.spec'], chrootPath='/mnt/compose/mock/dist-circle9_2-updates-build-97148-44980/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 setting SOURCE_DATE_EPOCH=1681257600 Wrote: /builddir/build/SRPMS/dotnet6.0-6.0.116-2.el9_2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dotnet6.0.spec'], chrootPath='/mnt/compose/mock/dist-circle9_2-updates-build-97148-44980/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 setting SOURCE_DATE_EPOCH=1681257600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GG1Ukp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v6.0.116 + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v6.0.116.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v6.0.116 + /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.116.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.116/src/runtime ~/build/BUILD/dotnet-v6.0.116 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.116 ~/build/BUILD/dotnet-v6.0.116/src/fsharp ~/build/BUILD/dotnet-v6.0.116 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.116 ~/build/BUILD/dotnet-v6.0.116/src/arcade ~/build/BUILD/dotnet-v6.0.116 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.116 ~/build/BUILD/dotnet-v6.0.116/src/roslyn ~/build/BUILD/dotnet-v6.0.116 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 Patch #801 (roslyn-no-apphost.patch): + echo '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.116 ~/build/BUILD/dotnet-v6.0.116/src/roslyn-analyzers ~/build/BUILD/dotnet-v6.0.116 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.116 ~/build/BUILD/dotnet-v6.0.116/src/msbuild ~/build/BUILD/dotnet-v6.0.116 ~/build/BUILD/dotnet-v6.0.116 ~/build/BUILD/dotnet-v6.0.116/src/sdk ~/build/BUILD/dotnet-v6.0.116 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). + popd ~/build/BUILD/dotnet-v6.0.116 ~/build/BUILD/dotnet-v6.0.116/src/installer ~/build/BUILD/dotnet-v6.0.116 ~/build/BUILD/dotnet-v6.0.116 + pushd src/installer + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6anI8y + umask 022 + cd /builddir/build/BUILD + cd dotnet-v6.0.116 + cat /etc/os-release NAME="Circle Linux" VERSION="9" ID="circle" ID_LIKE="rhel fedora" VERSION_ID="9.1" PLATFORM_ID="platform:el9" PRETTY_NAME="Circle Linux 9" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:circle:circle:9.1" HOME_URL="https://cclinux.org/" BUG_REPORT_URL="https://bugs.cclinux.org/" REDHAT_SUPPORT_PRODUCT="Circle Linux" REDHAT_SUPPORT_PRODUCT_VERSION="Circle Linux" + cp -a /usr/lib64/dotnet previously-built-dotnet + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e s/-fstack-clash-protection// + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e s/-fstack-clash-protection// + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + export 'EXTRA_CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + EXTRA_CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + export 'EXTRA_CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + EXTRA_CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fcf-protection' + export 'EXTRA_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now ' + EXTRA_LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now ' + export COMPlus_LTTng=0 + COMPlus_LTTng=0 + export OPENSSL_ENABLE_SHA1_SIGNATURES=1 + OPENSSL_ENABLE_SHA1_SIGNATURES=1 + CheckEolTargetFramework=false + VERBOSE=1 + ./build.sh --with-sdk previously-built-dotnet -- Detected '--': passing remaining parameters '' as build.sh arguments. Using custom bootstrap SDK from '/builddir/build/BUILD/dotnet-v6.0.116/previously-built-dotnet', version '6.0.116' Found bootstrap SDK 6.0.116, bootstrap Arcade 6.0.0-beta.23167.1, bootstrap SourceLink 1.1.0-beta-21480-02 Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET Copyright (C) Microsoft Corporation. All rights reserved. /builddir/build/BUILD/dotnet-v6.0.116/previously-built-dotnet/sdk/6.0.116/MSBuild.dll /bl:/builddir/build/BUILD/dotnet-v6.0.116/artifacts/log/Debug/BuildXPlatTasks_0517034628.binlog /fileLoggerParameters:LogFile=/builddir/build/BUILD/dotnet-v6.0.116/artifacts/logs/BuildXPlatTasks_0517034628.log /flp:v=detailed /t:PrepareOfflineLocalTools /builddir/build/BUILD/dotnet-v6.0.116/tools-local/init-build.proj Build started 05/17/2023 03:46:28. /builddir/build/BUILD/dotnet-v6.0.116/tools-local/init-build.proj(6,3): warning MSB4011: "/builddir/build/BUILD/dotnet-v6.0.116/git-info/AllRepoVersions.props" cannot be imported again. It was already imported at "/builddir/build/BUILD/dotnet-v6.0.116/Directory.Build.props (219,3)". This is most likely a build authoring error. This subsequent import will be ignored. Project "/builddir/build/BUILD/dotnet-v6.0.116/tools-local/init-build.proj" on node 1 (PrepareOfflineLocalTools target(s)). UnpackTarballs: Creating directory "/builddir/build/BUILD/dotnet-v6.0.116/packages/previously-source-built/". tar -xzf /builddir/build/BUILD/dotnet-v6.0.116/packages/archive/Private.SourceBuilt.Artifacts.*.tar.gz