, BUILDSTDERR: from ./common/common-utils.h:23, BUILDSTDERR: from ./common/common-defs.h:102, BUILDSTDERR: from defs.h:28, BUILDSTDERR: from riscv-tdep.c:20: BUILDSTDERR: /usr/include/c++/9/bits/stl_algobase.h:246:5: note: candidate: 'template constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)' BUILDSTDERR: 246 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) BUILDSTDERR: | ^~~ BUILDSTDERR: /usr/include/c++/9/bits/stl_algobase.h:246:5: note: template argument deduction/substitution failed: BUILDSTDERR: riscv-tdep.c:1647:64: note: deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and 'unsigned int') BUILDSTDERR: 1647 | return std::min (TYPE_LENGTH (t), (unsigned) BIGGEST_ALIGNMENT); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/c++/9/algorithm:62, BUILDSTDERR: from common/observable.h:23, BUILDSTDERR: from observable.h:23, BUILDSTDERR: from riscv-tdep.c:56: BUILDSTDERR: /usr/include/c++/9/bits/stl_algo.h:3434:5: note: candidate: 'template constexpr _Tp std::min(std::initializer_list<_Tp>)' BUILDSTDERR: 3434 | min(initializer_list<_Tp> __l) BUILDSTDERR: | ^~~ BUILDSTDERR: /usr/include/c++/9/bits/stl_algo.h:3434:5: note: template argument deduction/substitution failed: BUILDSTDERR: riscv-tdep.c:1647:64: note: mismatched types 'std::initializer_list<_Tp>' and 'long unsigned int' BUILDSTDERR: 1647 | return std::min (TYPE_LENGTH (t), (unsigned) BIGGEST_ALIGNMENT); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/c++/9/algorithm:62, BUILDSTDERR: from common/observable.h:23, BUILDSTDERR: from observable.h:23, BUILDSTDERR: from riscv-tdep.c:56: BUILDSTDERR: /usr/include/c++/9/bits/stl_algo.h:3440:5: note: candidate: 'template constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare)' BUILDSTDERR: 3440 | min(initializer_list<_Tp> __l, _Compare __comp) BUILDSTDERR: | ^~~ BUILDSTDERR: /usr/include/c++/9/bits/stl_algo.h:3440:5: note: template argument deduction/substitution failed: BUILDSTDERR: riscv-tdep.c:1647:64: note: mismatched types 'std::initializer_list<_Tp>' and 'long unsigned int' BUILDSTDERR: 1647 | return std::min (TYPE_LENGTH (t), (unsigned) BIGGEST_ALIGNMENT); BUILDSTDERR: | ^ BUILDSTDERR: make[2]: *** [Makefile:1640: riscv-tdep.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[1]: *** [Makefile:8304: all-gdb] Error 2 BUILDSTDERR: make: *** [Makefile:847: all] Error 2 error: .o CXX registry.o CXX remote-fileio.o CXX remote-notif.o CXX remote.o CXX reverse.o CXX riscv-linux-nat.o CXX riscv-linux-tdep.o CXX riscv-tdep.o CXX rs6000-tdep.o CXX rust-exp.o make[2]: Leaving directory '/builddir/build/BUILD/insight-8.2.50.20190118/gdb' make[1]: Leaving directory '/builddir/build/BUILD/insight-8.2.50.20190118' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OdpZh2 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OdpZh2 (%build) 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 700, 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/insight.spec