+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/nfswatch.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.4IIJ5a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nfswatch-4.99.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/nfswatch-4.99.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nfswatch-4.99.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d5qhEH + umask 022 + cd /builddir/build/BUILD + cd nfswatch-4.99.11 + make make[1]: Entering directory '/builddir/build/BUILD/nfswatch-4.99.11' cc -DLINUX -O -Wall -W -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 -c -o nfswatch.o nfswatch.c nfswatch.c: In function 'main': nfswatch.c:655:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] (void) setreuid(getuid(), getuid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DLINUX -O -Wall -W -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 -c -o dlpi.o dlpi.c cc -DLINUX -O -Wall -W -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 -c -o logfile.o logfile.c cc -DLINUX -O -Wall -W -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 -c -o netaddr.o netaddr.c cc -DLINUX -O -Wall -W -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 -c -o nit.o nit.c cc -DLINUX -O -Wall -W -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 -c -o pfilt.o pfilt.c cc -DLINUX -O -Wall -W -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 -c -o pktfilter.o pktfilter.c cc -DLINUX -O -Wall -W -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 -c -o rpcfilter.o rpcfilter.c rpcfilter.c:40:10: fatal error: rpc/types.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [: rpcfilter.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/nfswatch-4.99.11' make: *** [Makefile:80: os-nfswatch] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.d5qhEH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.d5qhEH (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff