-unix -Iobjs -Isrc-common/agg-extras -I/usr/local/include -Isrc-agg -Isrc-agg/agg2 -O2 -Wall -Wextra -march=native -Wno-parentheses -std=c++14 -g -D_GLIBCXX_USE_C99_MATH=1 -DNDEBUG -c -MM src-agg/src/agg_color_rgba.cpp \ | sed 's,\(.*\.o\)\( *:\),objs/\1 objs/agg_color_rgba.d\2,g' > objs/agg_color_rgba.d; \ [ -s objs/agg_color_rgba.d ] || rm -f objs/agg_color_rgba.d g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Isrc-common -Isrc-unix -Iobjs -Isrc-common/agg-extras -I/usr/local/include -Isrc-agg -Isrc-agg/agg2 -O2 -Wall -Wextra -march=native -Wno-parentheses -std=c++14 -g -D_GLIBCXX_USE_C99_MATH=1 -DNDEBUG -c -o objs/cfdg.tab.o objs/cfdg.tab.cpp flex -o objs/lex.yy.cpp src-common/cfdg.l g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Isrc-common -Isrc-unix -Iobjs -Isrc-common/agg-extras -I/usr/local/include -Isrc-agg -Isrc-agg/agg2 -O2 -Wall -Wextra -march=native -Wno-parentheses -std=c++14 -g -D_GLIBCXX_USE_C99_MATH=1 -DNDEBUG -c -o objs/cfdg.o src-common/cfdg.cpp g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Isrc-common -Isrc-unix -Iobjs -Isrc-common/agg-extras -I/usr/local/include -Isrc-agg -Isrc-agg/agg2 -O2 -Wall -Wextra -march=native -Wno-parentheses -std=c++14 -g -D_GLIBCXX_USE_C99_MATH=1 -DNDEBUG -c -o objs/Rand64.o src-common/Rand64.cpp g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 make: *** [Makefile:209: objs/cfdg.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:209: objs/cfdg.tab.o] Error 1 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=native’: ISA string must begin with rv32 or rv64 make: *** [Makefile:209: objs/Rand64.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.WYBcKW (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.WYBcKW (%build) RPM build warnings: RPM build errors: 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/cfdg.spec