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/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-build-357515-71155/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/gcc.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 warning: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static warning: line 162: It's not recommended to have unversioned Obsoletes: Obsoletes: libcilkrts libcilkrts-static warning: line 163: It's not recommended to have unversioned Obsoletes: Obsoletes: libmpx libmpx-static warning: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1709769600 Wrote: /builddir/build/SRPMS/gcc-12.3.0-1.an23.src.rpm RPM build warnings: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static line 162: It's not recommended to have unversioned Obsoletes: Obsoletes: libcilkrts libcilkrts-static line 163: It's not recommended to have unversioned Obsoletes: Obsoletes: libmpx libmpx-static %patchN is deprecated (12 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 --target x86_64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-build-357515-71155/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/gcc.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 warning: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static warning: line 162: It's not recommended to have unversioned Obsoletes: Obsoletes: libcilkrts libcilkrts-static warning: line 163: It's not recommended to have unversioned Obsoletes: Obsoletes: libmpx libmpx-static warning: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1709769600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bZ883M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-releases-gcc-12.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gcc-12.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-releases-gcc-12.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nvptx-tools-472b6e78b3ba918d727698f79911360b7c808247.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/newlib-cygwin-a8526cb52bedabd4d6ba4b227a5185627f871aa1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/isl-0.24.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc12-hack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 Patch #0 (gcc12-hack.patch): patching file libada/Makefile.in Hunk #1 succeeded at 73 (offset 2 lines). Hunk #2 succeeded at 118 (offset 3 lines). patching file config-ml.in Hunk #1 succeeded at 522 (offset 11 lines). patching file libcpp/macro.cc Hunk #1 succeeded at 3572 (offset 316 lines). Hunk #2 succeeded at 3699 (offset 319 lines). Hunk #3 succeeded at 3716 (offset 319 lines). patching file libcpp/expr.cc Hunk #1 succeeded at 799 (offset -4 lines). Patch #1 (gcc12-libtool-no-rpath.patch): + echo 'Patch #1 (gcc12-libtool-no-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file ltmain.sh Hunk #1 succeeded at 7103 (offset 1709 lines). Hunk #2 succeeded at 7799 (offset 1727 lines). Hunk #3 succeeded at 7851 (offset 1729 lines). + echo 'Patch #4 (gcc12-libstdc++-docs.patch):' Patch #4 (gcc12-libstdc++-docs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libstdc++-v3/doc/html/index.html Hunk #1 succeeded at 4 (offset -1 lines). patching file libstdc++-v3/doc/html/api.html + echo 'Patch #5 (gcc12-no-add-needed.patch):' Patch #5 (gcc12-no-add-needed.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 142 (offset -26 lines). patching file gcc/config/ia64/linux.h Hunk #1 succeeded at 74 (offset -2 lines). patching file gcc/config/gnu-user.h Patch #6 (gcc12-Wno-format-security.patch): + echo 'Patch #6 (gcc12-Wno-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/configure.ac patching file gcc/configure Hunk #1 succeeded at 7080 (offset 3 lines). patching file Makefile.tpl patching file Makefile.in Patch #7 (gcc12-rh1574936.patch): + echo 'Patch #7 (gcc12-rh1574936.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libgcc/Makefile.in Hunk #1 succeeded at 247 (offset 1 line). Hunk #2 succeeded at 303 (offset 1 line). Patch #8 (gcc12-d-shared-libphobos.patch): + echo 'Patch #8 (gcc12-d-shared-libphobos.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file gcc/d/d-spec.cc Hunk #1 succeeded at 426 (offset 18 lines). + echo 'Patch #9 (gcc12-pr107468.patch):' Patch #9 (gcc12-pr107468.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libstdc++-v3/src/c++17/fast_float/fast_float.h Hunk #1 FAILED at 2842. Hunk #2 FAILED at 2870. 2 out of 2 hunks FAILED -- saving rejects to file libstdc++-v3/src/c++17/fast_float/fast_float.h.rej patching file libstdc++-v3/testsuite/20_util/from_chars/pr107468.cc error: Bad exit status from /var/tmp/rpm-tmp.bZ883M (%prep) RPM build warnings: RPM build errors: line 157: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap libmudflap-devel libmudflap-static line 162: It's not recommended to have unversioned Obsoletes: Obsoletes: libcilkrts libcilkrts-static line 163: It's not recommended to have unversioned Obsoletes: Obsoletes: libmpx libmpx-static %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.bZ883M (%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/gcc.spec