odir=/usr/share/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=/usr/riscv64-redhat-linux" "gdc_include_dir=/usr/lib/gcc/riscv64-redhat-linux/10/include/d" "AR=ar" "AS=/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/./gcc/as" "LD=/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/./gcc/collect-ld" "RANLIB=ranlib" "NM=/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" \ CFLAGS="-O2 -g -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection ${flags}" \ CCASFLAGS="-O2 -g -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection ${flags}" \ FCFLAGS=" ${flags}" \ FFLAGS=" ${flags}" \ ADAFLAGS=" ${flags}" \ prefix="/usr" \ exec_prefix="/usr" \ mandir="/usr/share/man" \ infodir="/usr/share/info" \ GOCFLAGS="-O2 -g ${flags}" \ GDCFLAGS="-O2 -g ${flags}" \ CXXFLAGS="-O2 -g -Wformat -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE ${flags}" \ LIBCFLAGS="-O2 -g -Wall -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection ${flags}" \ LIBCXXFLAGS="-O2 -g -Wformat -Wformat-security -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="/usr/bin/install -c -m 644" \ INSTALL_PROGRAM="/usr/bin/install -c" \ INSTALL_SCRIPT="/usr/bin/install -c" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi make[5]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[4]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[3]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[2]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/riscv64-redhat-linux/libphobos' make[3]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/gcc/ada/tools' make[2]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux/gnattools' make[1]: Leaving directory '/builddir/build/BUILD/gcc-10.0.1-20200130/obj-riscv64-redhat-linux' BUILDSTDERR: make: *** [Makefile:26019: profiledbootstrap] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LzDGMA (%build) BUILDSTDERR: line 312: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap BUILDSTDERR: line 313: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel BUILDSTDERR: line 314: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.LzDGMA (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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