Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Alien-wxWidgets.spec'], chrootPath='/var/lib/mock/f29-build-32088-16926/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Alien-wxWidgets.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Alien-wxWidgets-0.69-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Alien-wxWidgets.spec'], chrootPath='/var/lib/mock/f29-build-32088-16926/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Alien-wxWidgets.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xV9jWC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Alien-wxWidgets-0.69 + /usr/bin/gzip -dc /builddir/build/SOURCES/Alien-wxWidgets-0.69.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Alien-wxWidgets-0.69 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZNPWK2 + umask 022 + cd /builddir/build/BUILD + cd Alien-wxWidgets-0.69 + export WX_CONFIG=/usr/bin/wx-config-2.0 + WX_CONFIG=/usr/bin/wx-config-2.0 + /usr/bin/perl Build.PL installdirs=vendor BUILDSTDERR: Checking prerequisites... BUILDSTDERR: build_requires: BUILDSTDERR: ! ExtUtils::CBuilder is not installed BUILDSTDERR: ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions BUILDSTDERR: of the modules indicated above before proceeding with this installation BUILDSTDERR: Run 'Build installdeps' to install missing prerequisites. Do you want to fetch and build wxWidgets from sources? [yes ]yes Which wxWidgets version? (2.8.10, 2.8.11, 2.8.12, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 3.0.0, 3.0.1, 3.0.2) [3.0.2 ]3.0.2 Which archive type? [tar.bz2 ]tar.bz2 Do you want to include OpenGL support [no ]no Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.69' + ./Build Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2 Extracting wxWidgets... Patching wxWidgets... Applying patch: /builddir/build/BUILD/Alien-wxWidgets-0.69/patches/wxWidgets-2.9.0-magic.patch /usr/bin/perl ../inc/bin/patch -N -p0 -u -b .bak < ../patches/wxWidgets-2.9.0-magic.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/generic/grid.cpp 2009-09-04 06:52:48.000000000 +0200 |+++ src/generic/grid.cpp 2009-10-18 14:43:42.000000000 +0200 -------------------------- Patching file src/generic/grid.cpp using Plan A... BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 12330. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 12331. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 12331. Hunk #1 succeeded at 6125. Offset: 528 BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 12331. done Applying patch: /builddir/build/BUILD/Alien-wxWidgets-0.69/patches/wxWidgets-3.0.2-webkit.patch /usr/bin/perl ../inc/bin/patch -N -p0 -u -b .bak < ../patches/wxWidgets-3.0.2-webkit.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u include/wx/defs.h include/wx/defs.h |--- include/wx/defs.h 2014-10-06 22:33:44.000000000 +0100 |+++ include/wx/defs.h 2017-04-08 18:52:20.308109800 +0100 -------------------------- Patching file include/wx/defs.h using Plan A... BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 6353. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 6353. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 6358. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 6358. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 6359. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 6359. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 6361. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 6361. Hunk #1 succeeded at 3169. Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u include/wx/html/webkit.h include/wx/html/webkit.h |--- include/wx/html/webkit.h 2014-10-06 22:33:44.000000000 +0100 |+++ include/wx/html/webkit.h 2017-04-08 18:53:34.608334300 +0100 -------------------------- Patching file include/wx/html/webkit.h using Plan A... Hunk #1 succeeded at 18. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 44. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 45. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 45. Hunk #2 succeeded at 106. Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u include/wx/osx/webview_webkit.h include/wx/osx/webview_webkit.h |--- include/wx/osx/webview_webkit.h 2014-10-06 22:33:44.000000000 +0100 |+++ include/wx/osx/webview_webkit.h 2017-04-08 18:56:04.314415300 +0100 -------------------------- Patching file include/wx/osx/webview_webkit.h using Plan A... BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 222. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 223. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 223. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 223. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 324. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 325. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 325. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 325. Hunk #1 succeeded at 158. Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u src/osx/webview_webkit.mm src/osx/webview_webkit.mm |--- src/osx/webview_webkit.mm 2014-10-06 22:33:44.000000000 +0100 |+++ src/osx/webview_webkit.mm 2017-04-08 19:03:24.676146300 +0100 -------------------------- Patching file src/osx/webview_webkit.mm using Plan A... BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 600. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 601. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 601. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 601. Hunk #1 succeeded at 296. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 618. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 619. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 619. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 619. Hunk #2 succeeded at 305. Hunk #3 succeeded at 314. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 636. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 637. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 637. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 637. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 896. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 897. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 897. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 897. Hunk #4 succeeded at 442. Hunk #5 succeeded at 450. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 912. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 913. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 913. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 913. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 1750. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 1751. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 1751. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 1751. Hunk #6 succeeded at 849. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 1766. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 1767. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 1767. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 1767. Hunk #7 succeeded at 857. Hunk #8 succeeded at 865. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 1782. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 1783. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 720, line 1783. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 726, line 1783. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 716, line 1798. BUILDSTDERR: print() on unopened filehandle NULL at ../inc/bin/patch line 717, line 1799. BUILDSTDERR: print() on unopened 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