+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ngrep.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 warning: Macro expanded in comment on line 12: %{name}/%{name}-%{version}.tar.bz2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hFcdhi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ngrep-code-16ba99a863a89dab25cbf8e9ca410b19a7494c42 + /usr/bin/unzip -qq /builddir/build/SOURCES/ngrep-code-16ba99a863a89dab25cbf8e9ca410b19a7494c42.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd ngrep-code-16ba99a863a89dab25cbf8e9ca410b19a7494c42 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ngrep-gcc-format-security-fix.patch):' Patch #0 (ngrep-gcc-format-security-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ngrep.c + install -pm644 /builddir/build/SOURCES/ngrep-README.fedora ./README.fedora + rm -r pcre-7.4 + rm -r regex-0.12 + sed -i -e 's|^CFLAGS=""|#CFLAGS=""|' configure.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SierVa + umask 022 + cd /builddir/build/BUILD + cd ngrep-code-16ba99a863a89dab25cbf8e9ca410b19a7494c42 + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: configure.in: not using Automake autoreconf: Leaving directory `.' + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-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 --with-regex=pcre --with-regex-impl=sys --enable-ipv6 --with-pcap-includes=/usr/include/pcap configure: WARNING: unrecognized options: --disable-dependency-tracking Configuring System ... checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes Configuring Network Grep (ngrep) ... checking for a complete set of pcap headers... found /usr/include/pcap checking for BPF include path... pcap/bpf.h checking for DLT_LINUX_SLL in bpf.h... yes checking for DLT_LOOP in bpf.h... yes checking for DLT_IEEE802_11 in bpf.h... yes checking for DLT_IEEE802_11_RADIO in bpf.h... yes checking for DLT_RAW in bpf.h... yes checking for DLT_PFLOG in pcap/bpf.h... yes checking for pcap_open_live in -lpcap... yes checking for pcap_restart in -lpcap... no checking for pcap_yyrestart in -lpcap... no checking for yyrestart in -lpcap... no no yacc restart func found perhaps libpcap wasn't compiled with bison/flex? + make -j2 STRIPFLAG= make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.SierVa (%build) RPM build errors: Macro expanded in comment on line 12: %{name}/%{name}-%{version}.tar.bz2 Bad exit status from /var/tmp/rpm-tmp.SierVa (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff