Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 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.6-build-133860-48452/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.424-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.6-build-133860-48452/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.XKQmvi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dotnet-v3.1.424-SDK + /usr/bin/gzip -dc /builddir/build/SOURCES/dotnet-v3.1.424-SDK.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dotnet-v3.1.424-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.0.1.0-dev.tar.gz packages/archive/ + ln -s /usr/lib64/dotnet/reference-packages/Private.SourceBuild.ReferencePackages.0.tar.gz packages/archive + sed -i 's|/usr/share/dotnet|/usr/lib64/dotnet|' src/dotnet-core-setup.6ea71919a5bbed566449efe09e953e78abcc5363/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/dotnet-corefx.729859d96f98ad3f36d030b1868875f15bb5632c ~/build/BUILD/dotnet-v3.1.424-SDK/src/dotnet-corefx.729859d96f98ad3f36d030b1868875f15bb5632c ~/build/BUILD/dotnet-v3.1.424-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 33 (offset 8 lines). 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 + popd ~/build/BUILD/dotnet-v3.1.424-SDK ~/build/BUILD/dotnet-v3.1.424-SDK/src/dotnet-coreclr.a7193c865f8951b7ede4ece6f66ba9456f563f8b ~/build/BUILD/dotnet-v3.1.424-SDK Patch #200 (coreclr-27048-sysctl-deprecation.patch): + pushd src/dotnet-coreclr.a7193c865f8951b7ede4ece6f66ba9456f563f8b + 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 + popd ~/build/BUILD/dotnet-v3.1.424-SDK ~/build/BUILD/dotnet-v3.1.424-SDK/src/dotnet-core-setup.6ea71919a5bbed566449efe09e953e78abcc5363 ~/build/BUILD/dotnet-v3.1.424-SDK Patch #300 (core-setup-do-not-strip.patch): + pushd src/dotnet-core-setup.6ea71919a5bbed566449efe09e953e78abcc5363 + echo 'Patch #300 (core-setup-do-not-strip.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settings.cmake Hunk #1 succeeded at 79 (offset 10 lines). Patch #301 (core-setup-no-werror.patch): + echo 'Patch #301 (core-setup-no-werror.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settings.cmake Hunk #1 succeeded at 164 (offset -37 lines). + popd ~/build/BUILD/dotnet-v3.1.424-SDK ~/build/BUILD/dotnet-v3.1.424-SDK/src/dotnet-cli.40fc74c23b5033faf672c15e0050a945a4118112 ~/build/BUILD/dotnet-v3.1.424-SDK Patch #500 (cli-telemetry-optout.patch): + pushd src/dotnet-cli.40fc74c23b5033faf672c15e0050a945a4118112 + 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.424-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 can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json |--- dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json 2022-06-30 14:33:13.000000000 -0400 |+++ dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json 2022-07-29 03:10:13.824095412 -0400 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 101 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props |--- dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props 2022-06-30 14:33:13.000000000 -0400 |+++ dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtimeGroups.props 2022-07-29 03:17:32.883277529 -0400 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 127 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nurw dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.json dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.json |--- dotnet-v3.1.423-SDK-bak/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.json 2022-06-30 14:33:13.000000000 -0400 |+++ dotnet-v3.1.423-SDK/src/dotnet-corefx.0ea07d1b2b7964d8b0a32d96e022218e35c54a6a/pkg/Microsoft.NETCore.Platforms/runtime.json 2022-07-29 03:20:26.382373685 -0400 -------------------------- 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.XKQmvi (%prep) Bad exit status from /var/tmp/rpm-tmp.XKQmvi (%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/dotnet3.1.spec