basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess BUILDSTDERR: ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for the --enable-debug option... will be automatically detected checking for the --enable-unicode option... will be automatically detected checking for the --enable-shared option... will be automatically detected checking for the --with-toolkit option... will be automatically detected checking for the --with-wxshared option... will be automatically detected checking for the --with-wxversion option... will be automatically detected checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for wx-config... /usr/bin/wx-config BUILDSTDERR: checking for wxWidgets version >= 2.6.1... ./configure: line 3270: test: too many arguments no (version Unsupported architecture 'riscv64' is not new enough) BUILDSTDERR: ./configure: line 3273: test: too many arguments BUILDSTDERR: configure: error: BUILDSTDERR: The requested wxWidgets build couldn't be found. BUILDSTDERR: BUILDSTDERR: If you still get this error, then check that 'wx-config' is BUILDSTDERR: in path, the directory where wxWidgets libraries are installed BUILDSTDERR: (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH BUILDSTDERR: or equivalent variable and wxWidgets version is 2.6.1 or above. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xhwNld (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xhwNld (%build) 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/wxpropgrid.spec