Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/f33-build-633045-68460/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False warning: line 335: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap warning: line 336: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel warning: line 337: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static warning: bogus date in %changelog: Thu Jan 25 2022 Jakub Jelinek 11.2.1-9 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658966400 Wrote: /builddir/build/SRPMS/gcc-11.3.1-2.0.riscv64.fc33.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/f33-build-633045-68460/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False warning: line 335: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap warning: line 336: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel warning: line 337: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static warning: bogus date in %changelog: Thu Jan 25 2022 Jakub Jelinek 11.2.1-9 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658966400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p1gaCG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-11.3.1-20220421 + /usr/bin/xz -dc /builddir/build/SOURCES/gcc-11.3.1-20220421.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-11.3.1-20220421 + /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 (gcc11-hack.patch):' Patch #0 (gcc11-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.c Hunk #1 succeeded at 3489 (offset 233 lines). Hunk #2 succeeded at 3613 (offset 233 lines). Hunk #3 succeeded at 3630 (offset 233 lines). patching file libcpp/expr.c Patch #2 (gcc11-sparc-config-detection.patch): + echo 'Patch #2 (gcc11-sparc-config-detection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 3377 (offset 587 lines). Hunk #2 succeeded at 3431 (offset 587 lines). patching file libgcc/config.host Hunk #1 succeeded at 1393 (offset 391 lines). Hunk #2 succeeded at 1441 (offset 391 lines). + echo 'Patch #3 (gcc11-libgomp-omp_h-multilib.patch):' Patch #3 (gcc11-libgomp-omp_h-multilib.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 46 (offset 4 lines). Patch #4 (gcc11-libtool-no-rpath.patch): + echo 'Patch #4 (gcc11-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). + echo 'Patch #5 (gcc11-isl-dl.patch):' Patch #5 (gcc11-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 1080 (offset 17 lines). Hunk #2 succeeded at 2361 (offset 59 lines). patching file gcc/graphite.h patching file gcc/graphite.c Hunk #1 succeeded at 59 (offset -1 lines). Hunk #2 succeeded at 451 (offset 57 lines). Hunk #3 succeeded at 556 (offset 63 lines). patching file gcc/toplev.c Hunk #1 succeeded at 100 (offset 6 lines). Hunk #2 succeeded at 655 (offset -29 lines). Patch #6 (gcc11-isl-dl2.patch): + echo 'Patch #6 (gcc11-isl-dl2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isl-dl2~ --fuzz=0 patching file gcc/toplev.c patching file gcc/graphite.c + echo 'Patch #7 (gcc11-libstdc++-docs.patch):' Patch #7 (gcc11-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 #8 (gcc11-no-add-needed.patch): + echo 'Patch #8 (gcc11-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 patching file gcc/config/gnu-user.h Patch #9 (gcc11-foffload-default.patch): + echo 'Patch #9 (gcc11-foffload-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .foffload-default~ --fuzz=0 patching file gcc/gcc.c Hunk #2 succeeded at 4837 (offset 5 lines). Hunk #3 succeeded at 8507 (offset 6 lines). patching file gcc/lto-wrapper.c Hunk #2 succeeded at 908 (offset 1 line). Hunk #3 succeeded at 983 (offset 1 line). Hunk #4 succeeded at 994 (offset 1 line). patching file libgomp/target.c Hunk #1 succeeded at 3173 (offset 817 lines). + echo 'Patch #10 (gcc11-Wno-format-security.patch):' Patch #10 (gcc11-Wno-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .Wno-format-security~ --fuzz=0 patching file gcc/configure.ac Hunk #1 succeeded at 554 (offset 74 lines). patching file gcc/configure Hunk #1 succeeded at 6874 (offset 227 lines). Patch #11 (gcc11-rh1574936.patch): + echo 'Patch #11 (gcc11-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). Patch #12 (gcc11-d-shared-libphobos.patch): + echo 'Patch #12 (gcc11-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 416 (offset 8 lines). Patch #14 (gcc11-libgcc-link.patch): + echo 'Patch #14 (gcc11-libgcc-link.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgcc-link~ --fuzz=0 patching file libgcc/config/t-slibgcc patching file libgcc/config/t-slibgcc-vms Patch #15 (gcc11-pr101786.patch): + echo 'Patch #15 (gcc11-pr101786.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr101786~ --fuzz=0 patching file gcc/cp/decl2.c Hunk #1 succeeded at 3421 (offset -26 lines). patching file gcc/testsuite/g++.dg/cpp2a/constinit16.C Patch #16 (gcc11-stringify-__VA_OPT__.patch): + echo 'Patch #16 (gcc11-stringify-__VA_OPT__.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .stringify-__VA_OPT__~ --fuzz=0 patching file libcpp/macro.c Hunk #12 succeeded at 1940 (offset 3 lines). Hunk #13 succeeded at 2064 (offset 3 lines). Hunk #14 succeeded at 3641 (offset 1 line). patching file gcc/testsuite/c-c++-common/cpp/va-opt-5.c patching file gcc/testsuite/c-c++-common/cpp/va-opt-6.c Patch #17 (gcc11-stringify-__VA_OPT__-2.patch): + echo 'Patch #17 (gcc11-stringify-__VA_OPT__-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .stringify-__VA_OPT__-2~ --fuzz=0 patching file libcpp/macro.c Hunk #5 succeeded at 1922 (offset 3 lines). Hunk #6 succeeded at 2049 (offset 3 lines). patching file gcc/testsuite/c-c++-common/cpp/va-opt-8.c patching file gcc/testsuite/c-c++-common/Wimplicit-fallthrough-38.c Patch #18 (gcc11-pr105331.patch): + echo 'Patch #18 (gcc11-pr105331.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr105331~ --fuzz=0 patching file gcc/config/i386/i386.c Hunk #1 succeeded at 4754 (offset -137 lines). patching file gcc/testsuite/gcc.dg/pr105331.c + echo 'Red Hat 11.3.1-2' + 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.7tnfPY + umask 022 + cd /builddir/build/BUILD + cd gcc-11.3.1-20220421 + 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 + curl -o ../../isl-0.18/config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: git.savannah.gnu.org RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.7tnfPY (%build) line 335: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap line 336: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel line 337: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static bogus date in %changelog: Thu Jan 25 2022 Jakub Jelinek 11.2.1-9 Bad exit status from /var/tmp/rpm-tmp.7tnfPY (%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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec