+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libcli.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.k4Xoep + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcli-e60d4cca3d0e702c60ad0f9e2eecaa461baa4744 + /usr/bin/gzip -dc /builddir/build/SOURCES/e60d4cca3d0e702c60ad0f9e2eecaa461baa4744.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcli-e60d4cca3d0e702c60ad0f9e2eecaa461baa4744 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WgaNzf + umask 022 + cd /builddir/build/BUILD + cd libcli-e60d4cca3d0e702c60ad0f9e2eecaa461baa4744 + make -j4 gcc -g -O3 -Wall -std=c99 -pedantic -Wformat-security -Wno-format-zero-length -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wsign-compare -Wcast-align -Wno-unused-parameter -fPIC -o libcli.o -c libcli.c gcc -g -O3 -Wall -std=c99 -pedantic -Wformat-security -Wno-format-zero-length -Werror -Wwrite-strings -Wformat -fdiagnostics-show-option -Wextra -Wsign-compare -Wcast-align -Wno-unused-parameter -fPIC -o clitest.o -c clitest.c libcli.c: In function 'pass_matches': libcli.c:1157:15: error: implicit declaration of function 'crypt'; did you mean 'chroot'? [-Werror=implicit-function-declaration] try = crypt(try, pass); ^~~~~ chroot libcli.c:1157:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] try = crypt(try, pass); ^ cc1: all warnings being treated as errors make: *** [Makefile:53: libcli.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.WgaNzf (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WgaNzf (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff