d filehandle NULL at ../inc/bin/patch line 720, line 1799. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 1799. Hunk #9 succeeded at 873. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 2102. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 2103. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 2103. Hunk #10 succeeded at 1007. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 2103. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 2540. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 2541. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 2541. Hunk #11 succeeded at 1197. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 2541. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 2878. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 2879. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 2879. Hunk #12 succeeded at 1335. done BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 2879. BUILDSTDERR: checking build system type... ../config.guess: unable to guess system type BUILDSTDERR: This script, last modified 2010-09-24, has failed to recognize BUILDSTDERR: the operating system you are using. It is advised that you BUILDSTDERR: download the most up to date version of the config scripts from BUILDSTDERR: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD BUILDSTDERR: and BUILDSTDERR: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD BUILDSTDERR: If the version you run (../config.guess) is already up to date, please BUILDSTDERR: send the following data and any information you think might be BUILDSTDERR: pertinent to in order to provide the needed BUILDSTDERR: information to handle your system. BUILDSTDERR: config.guess timestamp = 2010-09-24 BUILDSTDERR: uname -m = riscv64 BUILDSTDERR: uname -r = 4.15.0-00049-ga3b1e7acc6a1 BUILDSTDERR: uname -s = Linux BUILDSTDERR: uname -v = #28 SMP Wed Jul 25 20:53:06 UTC 2018 BUILDSTDERR: /usr/bin/uname -p = riscv64 BUILDSTDERR: /bin/uname -X = BUILDSTDERR: hostinfo = BUILDSTDERR: /bin/universe = BUILDSTDERR: /usr/bin/arch -k = BUILDSTDERR: /bin/arch = riscv64 BUILDSTDERR: /usr/bin/oslevel = BUILDSTDERR: /usr/convex/getsysinfo = BUILDSTDERR: UNAME_MACHINE = riscv64 BUILDSTDERR: UNAME_RELEASE = 4.15.0-00049-ga3b1e7acc6a1 BUILDSTDERR: UNAME_SYSTEM = Linux BUILDSTDERR: UNAME_VERSION = #28 SMP Wed Jul 25 20:53:06 UTC 2018 BUILDSTDERR: configure: error: cannot guess build type; you must specify one BUILDSTDERR: system: echo exit | sh ../configure --prefix=/usr/lib64/perl5/vendor_perl/Alien/wxWidgets/gtk_3_0_2_uni --with-gtk --disable-compat24 --enable-unicode --disable-monolithic --disable-universal_binary --enable-graphics_ctx: 256 at ./Build line 64. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ZNPWK2 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZNPWK2 (%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/perl-Alien-wxWidgets.spec