+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/cowpatty.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.VL0qWc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cowpatty-4.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/cowpatty-4.6.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd cowpatty-4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xknw4V + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + make '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 -DOPENSSL' cc -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 -DOPENSSL -c -o md5.o md5.c cc -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 -DOPENSSL -c -o sha1.o sha1.c cc -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 -DOPENSSL -c -o utils.o utils.c cc -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 -DOPENSSL -c -o cowpatty.o cowpatty.c cowpatty.c: In function 'handle_dot1x': cowpatty.c:417:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] int key_info, index; ^~~~~ cowpatty.c: In function 'hashfile_attack': cowpatty.c:691:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] int reclen, wordlen; ^~~~~~ cowpatty.c: In function 'dictfile_attack': cowpatty.c:862:45: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Invalid passphrase length: %s (%u).\n", ~^ %lu passphrase, strlen(passphrase)); ~~~~~~~~~~~~~~~~~~ cc -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 -DOPENSSL -c -o genpmk.o genpmk.c genpmk.c: In function 'main': genpmk.c:249:45: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Invalid passphrase length: %s (%u).\n", ~^ %lu passphrase, strlen(passphrase)); ~~~~~~~~~~~~~~~~~~ genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int fret = 0, c, ret; ^~~ cc -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 -DOPENSSL cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto cowpatty.c: In function 'handle_dot1x': cowpatty.c:417:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] int key_info, index; ^~~~~ cowpatty.c: In function 'hashfile_attack': cowpatty.c:691:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] int reclen, wordlen; ^~~~~~ cowpatty.c: In function 'dictfile_attack': cowpatty.c:862:45: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Invalid passphrase length: %s (%u).\n", ~^ %lu passphrase, strlen(passphrase)); ~~~~~~~~~~~~~~~~~~ cc -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 -DOPENSSL genpmk.c -o genpmk utils.o sha1.o -lpcap -lcrypto genpmk.c: In function 'main': genpmk.c:249:45: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("Invalid passphrase length: %s (%u).\n", ~^ %lu passphrase, strlen(passphrase)); ~~~~~~~~~~~~~~~~~~ genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int fret = 0, c, ret; ^~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YUYoRU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 + cd cowpatty-4.6 + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 + install -D -pm 755 cowpatty /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/bin/cowpatty + install -D -pm 755 genpmk /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/bin/genpmk + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cowpatty-4.6-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lgkdie + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + DOCDIR=/builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr AUTHORS /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr COPYING /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr README /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr FAQ /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr TODO /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + cp -pr CHANGELOG /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64/usr/share/doc/cowpatty + exit 0 Provides: cowpatty = 4.6-15.fc28 cowpatty(riscv-64) = 4.6-15.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/cowpatty-4.6-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/cowpatty-4.6-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KKKWf3 + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff