Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'], chrootPath='/var/lib/mock/f37-build-646934-72499/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/spnavcfg-1.0-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'], chrootPath='/var/lib/mock/f37-build-646934-72499/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ryaasY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spnavcfg-1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/spnavcfg-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd spnavcfg-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/uic/uic-qt5/g Makefile.in + sed -i s/moc/moc-qt5/g Makefile.in + sed -i s/rcc/rcc-qt5/g Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pU7hjs + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd spnavcfg-1.0 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export 'LDFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + LDFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configuring spnavcfg... prefix: /usr optimize for speed: yes include debugging symbols: yes creating Makefile ... Done. You can now type make (or gmake) to compile spnavcfg. + sed -i 's/\-O3//g' Makefile + /usr/bin/make -O -j4 V=1 VERBOSE=1 uic-qt5 -o ui_bnmaprow.h ui/bnmaprow.ui uic-qt5 -o ui_mainwin.h ui/spnavcfg.ui uic-qt5 -o ui_about.h ui/about.ui moc-qt5 -o src/ui.moc-qt5.cc -I. src/ui.h rcc-qt5 -o res.cc ui/spnavcfg.qrc gcc -pedantic -Wall -g -I. -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -MMD -c -o src/spnavcfg.o src/spnavcfg.c src/spnavcfg.c: In function 'read_devinfo': src/spnavcfg.c:35:19: warning: implicit declaration of function 'spnav_dev_name' [-Wimplicit-function-declaration] 35 | if((len = spnav_dev_name(0, 0)) > 0) { | ^~~~~~~~~~~~~~ src/spnavcfg.c:40:19: warning: implicit declaration of function 'spnav_dev_path' [-Wimplicit-function-declaration] 40 | if((len = spnav_dev_path(0, 0)) > 0) { | ^~~~~~~~~~~~~~ src/spnavcfg.c:45:29: warning: implicit declaration of function 'spnav_dev_buttons' [-Wimplicit-function-declaration] 45 | if((inf->nbuttons = spnav_dev_buttons()) > MAX_BUTTONS) { | ^~~~~~~~~~~~~~~~~ src/spnavcfg.c:48:26: warning: implicit declaration of function 'spnav_dev_axes' [-Wimplicit-function-declaration] 48 | if((inf->naxes = spnav_dev_axes()) > MAX_AXES) { | ^~~~~~~~~~~~~~ src/spnavcfg.c:51:21: warning: implicit declaration of function 'spnav_dev_type' [-Wimplicit-function-declaration] 51 | inf->type = spnav_dev_type(); | ^~~~~~~~~~~~~~ src/spnavcfg.c: In function 'read_cfg': src/spnavcfg.c:62:21: warning: implicit declaration of function 'spnav_cfg_get_sens' [-Wimplicit-function-declaration] 62 | cfg->sens = spnav_cfg_get_sens(); | ^~~~~~~~~~~~~~~~~~ src/spnavcfg.c:63:9: warning: implicit declaration of function 'spnav_cfg_get_axis_sens' [-Wimplicit-function-declaration] 63 | spnav_cfg_get_axis_sens(cfg->sens_axis); | ^~~~~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:64:23: warning: implicit declaration of function 'spnav_cfg_get_invert' [-Wimplicit-function-declaration] 64 | cfg->invert = spnav_cfg_get_invert(); | ^~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:65:23: warning: implicit declaration of function 'spnav_cfg_get_swapyz' [-Wimplicit-function-declaration] 65 | cfg->swapyz = spnav_cfg_get_swapyz(); | ^~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:66:20: warning: implicit declaration of function 'spnav_cfg_get_led' [-Wimplicit-function-declaration] 66 | cfg->led = spnav_cfg_get_led(); | ^~~~~~~~~~~~~~~~~ src/spnavcfg.c:67:21: warning: implicit declaration of function 'spnav_cfg_get_grab' [-Wimplicit-function-declaration] 67 | cfg->grab = spnav_cfg_get_grab(); | ^~~~~~~~~~~~~~~~~~ src/spnavcfg.c:70:36: warning: implicit declaration of function 'spnav_cfg_get_axismap' [-Wimplicit-function-declaration] 70 | cfg->map_axis[i] = spnav_cfg_get_axismap(i); | ^~~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:71:38: warning: implicit declaration of function 'spnav_cfg_get_deadzone' [-Wimplicit-function-declaration] 71 | cfg->dead_thres[i] = spnav_cfg_get_deadzone(i); | ^~~~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:74:34: warning: implicit declaration of function 'spnav_cfg_get_bnmap' [-Wimplicit-function-declaration] 74 | cfg->map_bn[i] = spnav_cfg_get_bnmap(i); | ^~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:75:33: warning: implicit declaration of function 'spnav_cfg_get_bnaction' [-Wimplicit-function-declaration] 75 | cfg->bnact[i] = spnav_cfg_get_bnaction(i); | ^~~~~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:76:33: warning: implicit declaration of function 'spnav_cfg_get_kbmap' [-Wimplicit-function-declaration] 76 | cfg->kbmap[i] = spnav_cfg_get_kbmap(i); | ^~~~~~~~~~~~~~~~~~~ src/spnavcfg.c:79:19: warning: implicit declaration of function 'spnav_cfg_get_serial' [-Wimplicit-function-declaration] 79 | if((len = spnav_cfg_get_serial(0, 0)) > 0) { | ^~~~~~~~~~~~~~~~~~~~ g++ -pedantic -Wall -g -I. -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets` -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -MMD -c -o src/main.o src/main.cc src/main.cc: In function 'bool init()': src/main.cc:52:12: error: 'spnav_protocol' was not declared in this scope 52 | if(spnav_protocol() < 1) { | ^~~~~~~~~~~~~~ src/main.cc:57:9: error: 'spnav_client_name' was not declared in this scope 57 | spnav_client_name("spnavcfg"); | ^~~~~~~~~~~~~~~~~ src/main.cc:58:22: error: 'SPNAV_EVMASK_ALL' was not declared in this scope 58 | spnav_evmask(SPNAV_EVMASK_ALL); | ^~~~~~~~~~~~~~~~ src/main.cc:58:9: error: 'spnav_evmask' was not declared in this scope; did you mean 'spnav_event'? 58 | spnav_evmask(SPNAV_EVMASK_ALL); | ^~~~~~~~~~~~ | spnav_event make: *** [: src/main.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -pedantic -Wall -g -I. -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets` -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -MMD -c -o src/ui.moc-qt5.o src/ui.moc-qt5.cc g++ -pedantic -Wall -g -I. -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets` -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -MMD -c -o src/ui.o src/ui.cc rm src/ui.moc-qt5.cc src/ui.cc:55:10: error: 'SPNAV_DEV_UNKNOWN' was not declared in this scope 55 | {SPNAV_DEV_UNKNOWN, 150, 150, 0, 0}, | ^~~~~~~~~~~~~~~~~ src/ui.cc:56:10: error: 'SPNAV_DEV_SB2003' was not declared in this scope 56 | {SPNAV_DEV_SB2003, 150, 150, 1, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:57:10: error: 'SPNAV_DEV_SB3003' was not declared in this scope 57 | {SPNAV_DEV_SB3003, 150, 150, 2, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:58:10: error: 'SPNAV_DEV_SB4000' was not declared in this scope 58 | {SPNAV_DEV_SB4000, 150, 150, 3, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:59:10: error: 'SPNAV_DEV_SM' was not declared in this scope 59 | {SPNAV_DEV_SM, 150, 150, 5, 0}, | ^~~~~~~~~~~~ src/ui.cc:60:10: error: 'SPNAV_DEV_SM5000' was not declared in this scope 60 | {SPNAV_DEV_SM5000, 150, 150, 2, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:61:10: error: 'SPNAV_DEV_SMCADMAN' was not declared in this scope 61 | {SPNAV_DEV_SMCADMAN, 150, 150, 6, 0}, | ^~~~~~~~~~~~~~~~~~ src/ui.cc:62:10: error: 'SPNAV_DEV_PLUSXT' was not declared in this scope 62 | {SPNAV_DEV_PLUSXT, 150, 150, 5, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:63:10: error: 'SPNAV_DEV_CADMAN' was not declared in this scope 63 | {SPNAV_DEV_CADMAN, 150, 150, 6, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:64:10: error: 'SPNAV_DEV_SMCLASSIC' was not declared in this scope 64 | {SPNAV_DEV_SMCLASSIC, 150, 150, 4, 0}, | ^~~~~~~~~~~~~~~~~~~ src/ui.cc:65:10: error: 'SPNAV_DEV_SB5000' was not declared in this scope 65 | {SPNAV_DEV_SB5000, 150, 150, 3, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:66:10: error: 'SPNAV_DEV_STRAVEL' was not declared in this scope 66 | {SPNAV_DEV_STRAVEL, 150, 150, 2, 1}, | ^~~~~~~~~~~~~~~~~ src/ui.cc:67:10: error: 'SPNAV_DEV_SPILOT' was not declared in this scope 67 | {SPNAV_DEV_SPILOT, 150, 150, 3, 1}, | ^~~~~~~~~~~~~~~~ src/ui.cc:68:10: error: 'SPNAV_DEV_SNAV' was not declared in this scope 68 | {SPNAV_DEV_SNAV, 150, 150, 0, 1}, | ^~~~~~~~~~~~~~ src/ui.cc:69:10: error: 'SPNAV_DEV_SEXP' was not declared in this scope 69 | {SPNAV_DEV_SEXP, 150, 150, 4, 1}, | ^~~~~~~~~~~~~~ src/ui.cc:70:10: error: 'SPNAV_DEV_SNAVNB' was not declared in this scope 70 | {SPNAV_DEV_SNAVNB, 150, 150, 1, 1}, | ^~~~~~~~~~~~~~~~ src/ui.cc:71:10: error: 'SPNAV_DEV_SPILOTPRO' was not declared in this scope 71 | {SPNAV_DEV_SPILOTPRO, 150, 150, 5, 1}, | ^~~~~~~~~~~~~~~~~~~ src/ui.cc:72:10: error: 'SPNAV_DEV_SMPRO' was not declared in this scope 72 | {SPNAV_DEV_SMPRO, 150, 150, 6, 1}, | ^~~~~~~~~~~~~~~ src/ui.cc:73:10: error: 'SPNAV_DEV_NULOOQ' was not declared in this scope 73 | {SPNAV_DEV_NULOOQ, 150, 150, 7, 0}, | ^~~~~~~~~~~~~~~~ src/ui.cc:74:10: error: 'SPNAV_DEV_SMW' was not declared in this scope 74 | {SPNAV_DEV_SMW, 150, 150, 1, 2}, | ^~~~~~~~~~~~~ src/ui.cc:75:10: error: 'SPNAV_DEV_SMPROW' was not declared in this scope 75 | {SPNAV_DEV_SMPROW, 150, 150, 6, 1}, | ^~~~~~~~~~~~~~~~ src/ui.cc:76:10: error: 'SPNAV_DEV_SMENT' was not declared in this scope 76 | {SPNAV_DEV_SMENT, 150, 150, 7, 1}, | ^~~~~~~~~~~~~~~ src/ui.cc:77:10: error: 'SPNAV_DEV_SMCOMP' was not declared in this scope 77 | {SPNAV_DEV_SMCOMP, 150, 150, 0, 2}, | ^~~~~~~~~~~~~~~~ src/ui.cc:78:10: error: 'SPNAV_DEV_SMMOD' was not declared in this scope 78 | {SPNAV_DEV_SMMOD, 150, 150, 0, 0}, | ^~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::spnav_input()': src/ui.cc:320:22: error: 'SPNAV_EVENT_RAWBUTTON' was not declared in this scope; did you mean 'SPNAV_EVENT_BUTTON'? 320 | case SPNAV_EVENT_RAWBUTTON: | ^~~~~~~~~~~~~~~~~~~~~ | SPNAV_EVENT_BUTTON src/ui.cc:344:22: error: 'SPNAV_EVENT_CFG' was not declared in this scope; did you mean 'SPNAV_EVENT_ANY'? 344 | case SPNAV_EVENT_CFG: | ^~~~~~~~~~~~~~~ | SPNAV_EVENT_ANY src/ui.cc: In member function 'void MainWin::act_trig()': src/ui.cc:369:25: error: 'spnav_cfg_reset' was not declared in this scope 369 | spnav_cfg_reset(); | ^~~~~~~~~~~~~~~ src/ui.cc:374:25: error: 'spnav_cfg_restore' was not declared in this scope 374 | spnav_cfg_restore(); | ^~~~~~~~~~~~~~~~~ src/ui.cc:379:25: error: 'spnav_cfg_save' was not declared in this scope; did you mean 'spnav_close'? 379 | spnav_cfg_save(); | ^~~~~~~~~~~~~~ | spnav_close src/ui.cc: In member function 'void MainWin::slider_changed(int)': src/ui.cc:394:17: error: 'spnav_cfg_set_sens' was not declared in this scope 394 | spnav_cfg_set_sens(cfg.sens); | ^~~~~~~~~~~~~~~~~~ src/ui.cc:402:25: error: 'spnav_cfg_set_axis_sens' was not declared in this scope 402 | spnav_cfg_set_axis_sens(cfg.sens_axis); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::dspin_changed(double)': src/ui.cc:416:17: error: 'spnav_cfg_set_sens' was not declared in this scope 416 | spnav_cfg_set_sens(cfg.sens); | ^~~~~~~~~~~~~~~~~~ src/ui.cc:424:25: error: 'spnav_cfg_set_axis_sens' was not declared in this scope 424 | spnav_cfg_set_axis_sens(cfg.sens_axis); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::spin_changed(int)': src/ui.cc:439:33: error: 'spnav_cfg_set_deadzone' was not declared in this scope 439 | spnav_cfg_set_deadzone(i, val); | ^~~~~~~~~~~~~~~~~~~~~~ src/ui.cc:448:25: error: 'spnav_cfg_set_deadzone' was not declared in this scope 448 | spnav_cfg_set_deadzone(i, val); | ^~~~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::chk_changed(int)': src/ui.cc:462:17: error: 'spnav_cfg_set_grab' was not declared in this scope 462 | spnav_cfg_set_grab(checked); | ^~~~~~~~~~~~~~~~~~ src/ui.cc:468:17: error: 'spnav_cfg_set_serial' was not declared in this scope 468 | spnav_cfg_set_serial(cfg.serdev); | ^~~~~~~~~~~~~~~~~~~~ src/ui.cc:473:17: error: 'spnav_cfg_set_swapyz' was not declared in this scope 473 | spnav_cfg_set_swapyz(checked); | ^~~~~~~~~~~~~~~~~~~~ src/ui.cc:484:25: error: 'spnav_cfg_set_invert' was not declared in this scope 484 | spnav_cfg_set_invert(cfg.invert); | ^~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::rad_changed(bool)': src/ui.cc:498:25: error: 'spnav_cfg_set_bnmap' was not declared in this scope 498 | spnav_cfg_set_bnmap(i, cfg.map_bn[i]); | ^~~~~~~~~~~~~~~~~~~ src/ui.cc:503:33: error: 'spnav_cfg_set_bnaction' was not declared in this scope 503 | spnav_cfg_set_bnaction(i, cfg.bnact[i]); | ^~~~~~~~~~~~~~~~~~~~~~ src/ui.cc:505:59: error: 'SPNAV_BNACT_NONE' was not declared in this scope 505 | spnav_cfg_set_bnaction(i, SPNAV_BNACT_NONE); | ^~~~~~~~~~~~~~~~ src/ui.cc:505:33: error: 'spnav_cfg_set_bnaction' was not declared in this scope 505 | spnav_cfg_set_bnaction(i, SPNAV_BNACT_NONE); | ^~~~~~~~~~~~~~~~~~~~~~ src/ui.cc:512:41: error: 'spnav_cfg_set_kbmap' was not declared in this scope 512 | spnav_cfg_set_kbmap(i, cfg.kbmap[i]); | ^~~~~~~~~~~~~~~~~~~ src/ui.cc:515:33: error: 'spnav_cfg_set_kbmap' was not declared in this scope 515 | spnav_cfg_set_kbmap(i, 0); | ^~~~~~~~~~~~~~~~~~~ src/ui.cc: In function 'void unmap_axis(int, int)': src/ui.cc:528:25: error: 'spnav_cfg_set_axismap' was not declared in this scope 528 | spnav_cfg_set_axismap(i, -1); | ^~~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::combo_idx_changed(int)': src/ui.cc:540:17: error: 'spnav_cfg_set_led' was not declared in this scope 540 | spnav_cfg_set_led(sel); | ^~~~~~~~~~~~~~~~~ src/ui.cc:555:33: error: 'spnav_cfg_set_axismap' was not declared in this scope 555 | spnav_cfg_set_axismap(devaxis, i); | ^~~~~~~~~~~~~~~~~~~~~ src/ui.cc:578:25: error: 'spnav_cfg_set_bnaction' was not declared in this scope 578 | spnav_cfg_set_bnaction(i, cfg.bnact[i]); | ^~~~~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::combo_str_changed(const QString&)': src/ui.cc:607:25: error: 'spnav_cfg_set_kbmap' was not declared in this scope 607 | spnav_cfg_set_kbmap(i, cfg.kbmap[i]); | ^~~~~~~~~~~~~~~~~~~ src/ui.cc: In member function 'void MainWin::serpath_changed()': src/ui.cc:619:17: error: 'spnav_cfg_set_serial' was not declared in this scope 619 | spnav_cfg_set_serial(cfg.serdev); | ^~~~~~~~~~~~~~~~~~~~ make: *** [: src/ui.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.pU7hjs (%build) Bad exit status from /var/tmp/rpm-tmp.pU7hjs (%build) 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/spnavcfg.spec