emain.cxx.o CMakeFiles/cmake.dir/cmcmd.cxx.o -o ../bin/cmake libCMakeLib.a libCMakeServerLib.a libCMakeLib.a kwsys/libcmsys.a -ldl ../Utilities/std/libcmstd.a /usr/lib64/libexpat.so /usr/lib64/libz.so /usr/lib64/libarchive.so /usr/lib64/libcurl.so /usr/lib64/libjsoncpp.so /usr/lib64/libuv.so /usr/lib64/librhash.so -lpthread make[2]: Leaving directory '/builddir/build/BUILD/cmake-3.18.4/riscv64-redhat-linux-gnu' /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmFortranLexer.cxx:869:8: warning: type 'struct yyguts_t' violates the C++ One Definition Rule [-Wodr] 869 | struct yyguts_t | ^ /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmCommandArgumentLexer.cxx:697: note: a different type is defined in another translation unit 697 | struct yyguts_t | /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmFortranLexer.cxx:873:19: note: the first difference of corresponding definitions is field 'yyextra_r' 873 | YY_EXTRA_TYPE yyextra_r; | ^ /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmCommandArgumentLexer.cxx:701: note: a field of same name but different type is defined in another translation unit 701 | YY_EXTRA_TYPE yyextra_r; | /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmFortranLexer.cxx:869:8: note: type name 'cmFortranParser_s' should match type name 'cmCommandArgumentParserHelper' 869 | struct yyguts_t | ^ /builddir/build/BUILD/cmake-3.18.4/Source/cmCommandArgumentParserHelper.h:14:7: note: the incompatible type is defined here 14 | class cmCommandArgumentParserHelper | ^ /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmFortranParserTokens.h:50: warning: type 'yytokentype' violates the C++ One Definition Rule [-Wodr] 50 | enum yytokentype | /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmCommandArgumentParserTokens.h:50: note: an enum with different value name is defined in another translation unit 50 | enum yytokentype | /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmFortranParserTokens.h:52: note: name 'EOSTMT' differs from name 'cal_ENVCURLY' defined in another translation unit 52 | EOSTMT = 258, | /builddir/build/BUILD/cmake-3.18.4/Source/LexerParser/cmCommandArgumentParserTokens.h:52: note: mismatching definition 52 | cal_ENVCURLY = 258, | make[1]: Entering directory '/builddir/build/BUILD/cmake-3.18.4/riscv64-redhat-linux-gnu' [ 93%] Built target cmake make[1]: Leaving directory '/builddir/build/BUILD/cmake-3.18.4/riscv64-redhat-linux-gnu' RPM build errors: make: *** [Makefile:182: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Saz97v (%build) Bad exit status from /var/tmp/rpm-tmp.Saz97v (%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 776, 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 66a7148050e846dba2c78fef8b909fcf -D /var/lib/mock/f33-build-342570-58772/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hj_8vun7:/etc/resolv.conf --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 --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 bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cmake.spec