+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/avr-gdb.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fjUtTX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf avr-gdb-7.1 + /usr/bin/mkdir -p avr-gdb-7.1 + cd avr-gdb-7.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gdb-7.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/README.fedora . + echo 'Patch #0 (avr-gdb-aarch64.patch):' Patch #0 (avr-gdb-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gdb-7.1/config.guess patching file gdb-7.1/config.sub patching file gdb-7.1/readline/support/config.guess patching file gdb-7.1/readline/support/config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qlHqvv + umask 022 + cd /builddir/build/BUILD + cd avr-gdb-7.1 + mkdir -p build + pushd build ~/build/BUILD/avr-gdb-7.1/build ~/build/BUILD/avr-gdb-7.1 + CFLAGS='-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 -D_GNU_SOURCE' + ../gdb-7.1/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/share/man --infodir=/usr/share/info --target=avr --disable-nls --disable-werror checking build system type... ../gdb-7.1/config.guess: unable to guess system type This script, last modified 2012-09-25, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (../gdb-7.1/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2012-09-25 uname -m = riscv64 uname -r = 4.16.0-rc2-00328-gebea62367bc4 uname -s = Linux uname -v = #4 SMP Mon Feb 26 16:05:16 GMT 2018 /usr/bin/uname -p = riscv64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = riscv64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 4.16.0-rc2-00328-gebea62367bc4 UNAME_SYSTEM = Linux UNAME_VERSION = #4 SMP Mon Feb 26 16:05:16 GMT 2018 configure: error: cannot guess build type; you must specify one error: Bad exit status from /var/tmp/rpm-tmp.qlHqvv (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qlHqvv (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff