Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-94810-45528/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '14ff16556c83475cb74fc36f02389e2a', '-D', '/var/lib/mock/dist-an23-riscv64-build-94810-45528/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 61: %{version}-%{DATE}.tar.xz warning: line 193: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap warning: line 194: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel warning: line 195: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1651881600 Wrote: /builddir/build/SRPMS/gcc-12.1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-94810-45528/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '054514da69d44c54a54803070d1cf6d7', '-D', '/var/lib/mock/dist-an23-riscv64-build-94810-45528/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 61: %{version}-%{DATE}.tar.xz warning: line 193: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap warning: line 194: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel warning: line 195: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1651881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.J17Jcu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-releases-gcc-12.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/gcc-12.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-releases-gcc-12.1.0 + /usr/bin/xz -dc /builddir/build/SOURCES/nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/isl-0.18.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc12-hack.patch):' Patch #0 (gcc12-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .hack~ --fuzz=0 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 -p0 -b --suffix .libtool-no-rpath~ --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). Patch #2 (gcc12-isl-dl.patch): + echo 'Patch #2 (gcc12-isl-dl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isl-dl~ --fuzz=0 patching file gcc/Makefile.in Hunk #1 succeeded at 1084 (offset 21 lines). Hunk #2 succeeded at 2381 (offset 79 lines). patching file gcc/graphite.h patching file gcc/graphite.cc Hunk #1 succeeded at 59 (offset -1 lines). Hunk #2 succeeded at 450 (offset 56 lines). Hunk #3 succeeded at 554 (offset 61 lines). patching file gcc/toplev.cc Hunk #1 succeeded at 101 (offset 7 lines). Hunk #2 succeeded at 653 (offset -31 lines). Patch #3 (gcc12-isl-dl2.patch): + echo 'Patch #3 (gcc12-isl-dl2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isl-dl2~ --fuzz=0 patching file gcc/toplev.cc Hunk #2 succeeded at 2251 (offset 10 lines). patching file gcc/graphite.cc Patch #4 (gcc12-libstdc++-docs.patch): + echo 'Patch #4 (gcc12-libstdc++-docs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libstdc++-docs~ --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 Patch #5 (gcc12-no-add-needed.patch): + echo 'Patch #5 (gcc12-no-add-needed.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .no-add-needed~ --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 -p0 -b --suffix .Wno-format-security~ --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 -p0 -b --suffix .rh1574936~ --fuzz=0 patching file libgcc/Makefile.in Hunk #1 succeeded at 247 (offset 1 line). Hunk #2 succeeded at 303 (offset 1 line). + echo 'Patch #8 (gcc12-d-shared-libphobos.patch):' Patch #8 (gcc12-d-shared-libphobos.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .d-shared-libphobos~ --fuzz=0 patching file gcc/d/d-spec.cc Hunk #1 succeeded at 426 (offset 18 lines). + echo 'Patch #9 (gcc12-ifcvt-revert.patch):' Patch #9 (gcc12-ifcvt-revert.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .ifcvt-revert~ --fuzz=0 patching file gcc/ifcvt.cc patching file gcc/config/rs6000/rs6000.cc Hunk #1 succeeded at 16305 (offset -68 lines). Hunk #2 succeeded at 22675 (offset -94 lines). patching file gcc/expmed.cc Hunk #1 succeeded at 4128 (offset 4 lines). Hunk #2 succeeded at 6131 (offset 4 lines). patching file gcc/expr.cc patching file gcc/ifcvt.cc patching file gcc/optabs.cc Hunk #3 succeeded at 4855 (offset 4 lines). Hunk #4 succeeded at 4878 (offset 4 lines). Hunk #5 succeeded at 4919 (offset 4 lines). Hunk #6 succeeded at 4931 (offset 4 lines). Hunk #7 succeeded at 4960 (offset 4 lines). patching file gcc/optabs.h patching file gcc/rtl.h Hunk #1 succeeded at 4605 (offset 1 line). Patch #100 (gcc12-fortran-fdec-duplicates.patch): + echo 'Patch #100 (gcc12-fortran-fdec-duplicates.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-duplicates~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 482 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/symbol.cc Hunk #1 succeeded at 1996 (offset 1 line). Hunk #2 succeeded at 2010 (offset 1 line). Hunk #3 succeeded at 2040 (offset 1 line). patching file gcc/testsuite/gfortran.dg/duplicate_type_4.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_5.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_6.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_7.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_8.f90 patching file gcc/testsuite/gfortran.dg/duplicate_type_9.f90 Patch #101 (gcc12-fortran-flogical-as-integer.patch): + echo 'Patch #101 (gcc12-fortran-flogical-as-integer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-flogical-as-integer~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 510 (offset 13 lines). patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 3992 (offset 77 lines). Hunk #2 succeeded at 4051 (offset 77 lines). Hunk #3 succeeded at 4079 (offset 77 lines). Hunk #4 succeeded at 4186 (offset 83 lines). Hunk #5 succeeded at 4228 (offset 83 lines). Hunk #6 succeeded at 4286 (offset 84 lines). Hunk #7 succeeded at 4329 (offset 84 lines). patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_1.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_2.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_3.f patching file gcc/testsuite/gfortran.dg/logical_to_integer_and_vice_versa_4.f + echo 'Patch #102 (gcc12-fortran-fdec-ichar.patch):' Patch #102 (gcc12-fortran-fdec-ichar.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-ichar~ --fuzz=0 patching file gcc/fortran/check.cc Hunk #1 succeeded at 3145 (offset -12 lines). patching file gcc/fortran/simplify.cc Hunk #1 succeeded at 3268 (offset 7 lines). Hunk #2 succeeded at 3466 (offset 7 lines). patching file gcc/testsuite/gfortran.dg/dec_ichar_with_string_1.f + echo 'Patch #103 (gcc12-fortran-fdec-non-integer-index.patch):' Patch #103 (gcc12-fortran-fdec-non-integer-index.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-non-integer-index~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 502 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 5219 (offset 88 lines). Hunk #2 succeeded at 5258 (offset 88 lines). patching file gcc/testsuite/gfortran.dg/dec_not_integer_substring_indexes_1.f patching file gcc/testsuite/gfortran.dg/dec_not_integer_substring_indexes_2.f patching file gcc/testsuite/gfortran.dg/dec_not_integer_substring_indexes_3.f + echo 'Patch #104 (gcc12-fortran-fdec-old-init.patch):' Patch #104 (gcc12-fortran-fdec-old-init.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-old-init~ --fuzz=0 patching file gcc/fortran/decl.cc Hunk #1 succeeded at 2939 (offset 112 lines). patching file gcc/fortran/lang.opt Hunk #1 succeeded at 506 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/testsuite/gfortran.dg/dec_derived_types_initialised_old_style_1.f patching file gcc/testsuite/gfortran.dg/dec_derived_types_initialised_old_style_2.f patching file gcc/testsuite/gfortran.dg/dec_derived_types_initialised_old_style_3.f + echo 'Patch #105 (gcc12-fortran-fdec-override-kind.patch):' Patch #105 (gcc12-fortran-fdec-override-kind.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-override-kind~ --fuzz=0 patching file gcc/fortran/decl.cc Hunk #1 succeeded at 1216 (offset 3 lines). Hunk #2 succeeded at 2603 (offset 112 lines). Hunk #3 succeeded at 2642 (offset 112 lines). Hunk #4 succeeded at 2651 (offset 112 lines). Hunk #5 succeeded at 2712 (offset 112 lines). Hunk #6 succeeded at 2882 (offset 112 lines). Hunk #7 succeeded at 2989 (offset 112 lines). patching file gcc/fortran/lang.opt Hunk #1 succeeded at 506 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_1.f patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_2.f patching file gcc/testsuite/gfortran.dg/dec_mixed_char_array_declaration_3.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_1.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_2.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_3.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_4.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_5.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_6.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_7.f patching file gcc/testsuite/gfortran.dg/dec_spec_in_variable_8.f Patch #106 (gcc12-fortran-fdec-non-logical-if.patch): + echo 'Patch #106 (gcc12-fortran-fdec-non-logical-if.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-non-logical-if~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 510 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 10907 (offset 118 lines). Hunk #2 succeeded at 12267 (offset 153 lines). patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_1.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_2.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_3.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_4.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_5.f patching file gcc/testsuite/gfortran.dg/dec_logical_expressions_if_statements_blocks_6.f Patch #107 (gcc12-fortran-fdec-promotion.patch): + echo 'Patch #107 (gcc12-fortran-fdec-promotion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-promotion~ --fuzz=0 patching file gcc/fortran/check.cc Hunk #1 succeeded at 1382 (offset -14 lines). Hunk #2 succeeded at 3740 (offset -12 lines). Hunk #3 succeeded at 3799 (offset -12 lines). Hunk #4 succeeded at 5159 (offset -28 lines). patching file gcc/fortran/intrinsic.cc Hunk #1 succeeded at 4474 (offset 7 lines). patching file gcc/fortran/iresolve.cc patching file gcc/fortran/lang.opt Hunk #1 succeeded at 518 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/simplify.cc Hunk #1 succeeded at 2337 (offset 4 lines). Hunk #2 succeeded at 5066 (offset 73 lines). Hunk #3 succeeded at 6108 (offset 86 lines). Hunk #4 succeeded at 6140 (offset 86 lines). Hunk #5 succeeded at 6170 (offset 86 lines). Hunk #6 succeeded at 6199 (offset 86 lines). Hunk #7 succeeded at 7807 (offset 99 lines). patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_array_const_promotion_1.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_array_const_promotion_2.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_array_const_promotion_3.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_const_promotion_1.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_const_promotion_2.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_const_promotion_3.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_1.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_2.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_3.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_4.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_5.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_6.f patching file gcc/testsuite/gfortran.dg/dec_intrinsic_int_real_promotion_7.f patching file gcc/testsuite/gfortran.dg/dec_kind_promotion-1.f patching file gcc/testsuite/gfortran.dg/dec_kind_promotion-2.f patching file gcc/testsuite/gfortran.dg/dec_kind_promotion-3.f Patch #108 (gcc12-fortran-fdec-sequence.patch): + echo 'Patch #108 (gcc12-fortran-fdec-sequence.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-sequence~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #1 succeeded at 522 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 989 (offset 11 lines). patching file gcc/testsuite/gfortran.dg/dec_add_SEQUENCE_to_COMMON_block_by_default_1.f patching file gcc/testsuite/gfortran.dg/dec_add_SEQUENCE_to_COMMON_block_by_default_2.f patching file gcc/testsuite/gfortran.dg/dec_add_SEQUENCE_to_COMMON_block_by_default_3.f + echo 'Patch #109 (gcc12-fortran-fdec-add-missing-indexes.patch):' Patch #109 (gcc12-fortran-fdec-add-missing-indexes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortran-fdec-add-missing-indexes~ --fuzz=0 patching file gcc/fortran/lang.opt Hunk #2 succeeded at 477 (offset 13 lines). patching file gcc/fortran/options.cc patching file gcc/fortran/resolve.cc Hunk #1 succeeded at 4894 (offset 88 lines). patching file gcc/testsuite/gfortran.dg/array_6.f90 patching file gcc/testsuite/gfortran.dg/array_7.f90 patching file gcc/testsuite/gfortran.dg/array_8.f90 + rm -f libphobos/testsuite/libphobos.gc/forkgc2.d + echo 'Anolis OS 12.1.0-0' + cp -a libstdc++-v3/config/cpu/i486/atomicity.h libstdc++-v3/config/cpu/i386/atomicity.h + ./contrib/gcc_update --touch Touching gcc/cstamp-h.in... Touching gcc/config.in... + LC_ALL=C + sed -i -e 's/\xa0/ /' gcc/doc/options.texi + sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt + rm -f gcc/testsuite/go.test/test/chan/goroutines.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8WeAOt + umask 022 + cd /builddir/build/BUILD + cd gcc-releases-gcc-12.1.0 + export CONFIG_SITE=NONE + CONFIG_SITE=NONE + CC=gcc + CXX=g++ ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g' + OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-m64//g;s/-m32//g;s/-m31//g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ -pipe / /g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e s/-Werror=format-security/-Wformat-security/g + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ echo '-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' ++ sed -e 's/[[:blank:]]\+/ /g' + OPT_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection' + case "$OPT_FLAGS" in + sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables /' libgcc/Makefile.in + rm -rf obj-riscv64-redhat-linux + mkdir obj-riscv64-redhat-linux + cd obj-riscv64-redhat-linux + mkdir isl-build isl-install + ISL_FLAG_PIC=-fpic + cd isl-build + sed -i 's|libisl|libgcc12privateisl|g' ../../isl-0.18/Makefile.am ../../isl-0.18/Makefile.in ++ cd .. ++ pwd + ../../isl-0.18/configure CC=/usr/bin/gcc CXX=/usr/bin/g++ 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -fpic' --prefix=/builddir/build/BUILD/gcc-releases-gcc-12.1.0/obj-riscv64-redhat-linux/isl-install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /usr/bin/gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking dependency style of /usr/bin/g++... gcc3 checking for C compiler vendor... gnu checking build system type... ../../isl-0.18/./config.guess: unable to guess system type This script, last modified 2014-03-23, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (../../isl-0.18/./config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2014-03-23 uname -m = riscv64 uname -r = 5.14.16-101.0.riscv64.fc33.riscv64 uname -s = Linux uname -v = #1 SMP Tue Nov 9 05:04:52 EST 2021 /usr/bin/uname -p = riscv64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = riscv64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 5.14.16-101.0.riscv64.fc33.riscv64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Tue Nov 9 05:04:52 EST 2021 configure: error: cannot guess build type; you must specify one error: Bad exit status from /var/tmp/rpm-tmp.8WeAOt (%build) RPM build errors: Macro expanded in comment on line 61: %{version}-%{DATE}.tar.xz line 193: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap line 194: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel line 195: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static Bad exit status from /var/tmp/rpm-tmp.8WeAOt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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: # /usr/bin/systemd-nspawn -q -M 054514da69d44c54a54803070d1cf6d7 -D /var/lib/mock/dist-an23-riscv64-build-94810-45528/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ekczjqzq:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec