Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dotnet6.0.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-233166-19777/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f09fc6db590>timeout=86400uid=982gid=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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dotnet6.0-6.0.133-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) 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='/var/lib/mock/dist-ocs23-build-233166-19777/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f09fc6db590>timeout=86400uid=982gid=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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ACcIxn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v6.0.133 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dotnet-v6.0.133.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v6.0.133 + /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.127.opencloudos.23-x64.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.133/src/runtime ~/build/BUILD/dotnet-v6.0.133 Patch #1 (runtime-re-enable-implicit-rejection.patch): + echo 'Patch #1 (runtime-re-enable-implicit-rejection.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs Hunk #1 succeeded at 340 (offset 2 lines). Hunk #2 succeeded at 830 (offset 95 lines). patching file src/libraries/Native/Unix/System.Security.Cryptography.Native/opensslshim.h Hunk #3 succeeded at 724 (offset -1 lines). Hunk #4 succeeded at 779 (offset -1 lines). patching file src/libraries/Native/Unix/System.Security.Cryptography.Native/pal_evp_pkey_rsa.c Patch #3000 (runtime-arm64-lld-fix.patch): + echo 'Patch #3000 (runtime-arm64-lld-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file eng/native/init-compiler.sh Patch #3001 (runtime-mono-remove-ilstrip.patch): + echo 'Patch #3001 (runtime-mono-remove-ilstrip.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #5000 (runtime-rid-opencloudos.patch): + echo 'Patch #5000 (runtime-rid-opencloudos.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/libraries/Microsoft.NETCore.Platforms/src/runtime.json Hunk #1 succeeded at 2453 (offset 462 lines). patching file src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json Hunk #1 succeeded at 6878 (offset 2004 lines). patching file src/libraries/Microsoft.NETCore.Platforms/src/runtimeGroups.props Hunk #2 succeeded at 295 (offset 8 lines). + popd ~/build/BUILD/dotnet-v6.0.133 ~/build/BUILD/dotnet-v6.0.133/src/fsharp ~/build/BUILD/dotnet-v6.0.133 Patch #3002 (fsharp-no-apphost.patch): + pushd src/fsharp + echo 'Patch #3002 (fsharp-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/benchmarks/MicroPerf/MicroPerf.fsproj patching file tests/benchmarks/TaskPerf/TaskPerf.fsproj + popd ~/build/BUILD/dotnet-v6.0.133 ~/build/BUILD/dotnet-v6.0.133/src/arcade ~/build/BUILD/dotnet-v6.0.133 Patch #3003 (arcade-no-apphost.patch): + pushd src/arcade + echo 'Patch #3003 (arcade-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 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 + pushd src/roslyn ~/build/BUILD/dotnet-v6.0.133 ~/build/BUILD/dotnet-v6.0.133/src/roslyn ~/build/BUILD/dotnet-v6.0.133 Patch #3004 (roslyn-57003-mono-named-mutex.patch): + echo 'Patch #3004 (roslyn-57003-mono-named-mutex.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 #3005 (roslyn-no-apphost.patch): + echo 'Patch #3005 (roslyn-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Workspaces/Remote/ServiceHub.CoreComponents/Microsoft.CodeAnalysis.Remote.ServiceHub.CoreComponents.csproj + popd ~/build/BUILD/dotnet-v6.0.133 ~/build/BUILD/dotnet-v6.0.133/src/roslyn-analyzers ~/build/BUILD/dotnet-v6.0.133 Patch #3006 (roslyn-analyzers-no-apphost.patch): + pushd src/roslyn-analyzers + echo 'Patch #3006 (roslyn-analyzers-no-apphost.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Tools/ReleaseNotesUtil/ReleaseNotesUtil.csproj + popd ~/build/BUILD/dotnet-v6.0.133 ~/build/BUILD/dotnet-v6.0.133/src/sdk ~/build/BUILD/dotnet-v6.0.133 Patch #3007 (sdk-telemetry-optout.patch): + pushd src/sdk + echo 'Patch #3007 (sdk-telemetry-optout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Cli/dotnet/Program.cs Hunk #1 succeeded at 27 (offset -1 lines). + popd ~/build/BUILD/dotnet-v6.0.133 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.twLi5u + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd dotnet-v6.0.133 + cp -a /usr/lib64/dotnet previously-built-dotnet ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -fPIE -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 -Wl,--build-id=sha1' + EXTRA_LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1' + export COMPlus_LTTng=0 + COMPlus_LTTng=0 + export OPENSSL_ENABLE_SHA1_SIGNATURES=1 + OPENSSL_ENABLE_SHA1_SIGNATURES=1 + 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.133/previously-built-dotnet', version '6.0.127' EXCEPTION: [commandTimeoutExpired('Timeout(86400) expired for command:\n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dotnet6.0.spec\n')] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 592, in do_with_status raise exception.commandTimeoutExpired("Timeout(%s) expired for command:\n # %s\n%s" % mockbuild.exception.commandTimeoutExpired: Timeout(86400) expired for command: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dotnet6.0.spec