rm -f Canvas.o gcc -c -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -Iimlib -I../../contrib/programs/Canna32 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO AdoptedShe.c gcc -c -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -Iimlib -I../../contrib/programs/Canna32 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO AuxPanel.c gcc -c -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -Iimlib -I../../contrib/programs/Canna32 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO CandPanel.c BUILDSTDERR: gcc: error: LinuxMachineDefines: No such file or directory gcc -c -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -Iimlib -I../../contrib/programs/Canna32 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO Canvas.c BUILDSTDERR: make[1]: *** [Makefile:1105: AdoptedShe.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: gcc: error: LinuxMachineDefines: No such file or directory BUILDSTDERR: gcc: error: LinuxMachineDefines: No such file or directory BUILDSTDERR: make[1]: *** [Makefile:1105: AuxPanel.o] Error 1 BUILDSTDERR: gcc: error: LinuxMachineDefines: No such file or directory BUILDSTDERR: make[1]: *** [Makefile:1105: CandPanel.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/kinput2-v3.1/lib' BUILDSTDERR: make[1]: *** [Makefile:1105: Canvas.o] Error 1 BUILDSTDERR: make: *** [Makefile:1086: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.vVykEH (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.vVykEH (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/kinput2.spec