Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'], chrootPath='/var/lib/mock/f33-build-139469-42333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/cowpatty-4.6-20.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'], chrootPath='/var/lib/mock/f33-build-139469-42333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TQXhZ7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cowpatty-4.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/cowpatty-4.6.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cowpatty-4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e8P3La + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 417 | 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] 691 | 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=] 862 | printf("Invalid passphrase length: %s (%u).\n", | ~^ | | | unsigned int | %lu 863 | passphrase, strlen(passphrase)); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from /usr/include/string.h:495, from cowpatty.c:40: In function 'strncpy', inlined from 'parseopts' at cowpatty.c:163:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:160:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:157:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:166:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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=] 249 | printf("Invalid passphrase length: %s (%u).\n", | ~^ | | | unsigned int | %lu 250 | passphrase, strlen(passphrase)); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int fret = 0, c, ret; | ^~~ In file included from /usr/include/string.h:495, from genpmk.c:21: In function 'strncpy', inlined from 'main' at genpmk.c:123:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at genpmk.c:117:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at genpmk.c:120:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 417 | 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] 691 | 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=] 862 | printf("Invalid passphrase length: %s (%u).\n", | ~^ | | | unsigned int | %lu 863 | passphrase, strlen(passphrase)); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from /usr/include/string.h:495, from cowpatty.c:40: In function 'strncpy', inlined from 'parseopts' at cowpatty.c:163:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:160:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:157:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parseopts' at cowpatty.c:166:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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=] 249 | printf("Invalid passphrase length: %s (%u).\n", | ~^ | | | unsigned int | %lu 250 | passphrase, strlen(passphrase)); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int fret = 0, c, ret; | ^~~ In file included from /usr/include/string.h:495, from genpmk.c:21: In function 'strncpy', inlined from 'main' at genpmk.c:123:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at genpmk.c:117:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at genpmk.c:120:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.a2pVK9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 + cd cowpatty-4.6 + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 + install -D -pm 755 cowpatty /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/cowpatty + install -D -pm 755 genpmk /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/genpmk + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.6-20.fc33 --unique-debug-suffix -4.6-20.fc33.riscv64 --unique-debug-src-base cowpatty-4.6-20.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cowpatty-4.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/cowpatty explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/genpmk extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/cowpatty extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/bin/genpmk original debug info size: 172kB, size after compression: 168kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 135 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cowpatty-4.6-20.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.38rvq9 + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + DOCDIR=/builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr AUTHORS /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr COPYING /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr README /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr FAQ /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr TODO /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + cp -pr CHANGELOG /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64/usr/share/doc/cowpatty + RPM_EC=0 ++ jobs -p + exit 0 Provides: cowpatty = 4.6-20.fc33 cowpatty(riscv-64) = 4.6-20.fc33 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) Processing files: cowpatty-debugsource-4.6-20.fc33.riscv64 Provides: cowpatty-debugsource = 4.6-20.fc33 cowpatty-debugsource(riscv-64) = 4.6-20.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cowpatty-debuginfo-4.6-20.fc33.riscv64 Provides: cowpatty-debuginfo = 4.6-20.fc33 cowpatty-debuginfo(riscv-64) = 4.6-20.fc33 debuginfo(build-id) = 1755d8a298b72716c9db35ec6e397fd297135f11 debuginfo(build-id) = caab75485c29f848daa83f90b44a27d5e6374e8d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cowpatty-debugsource(riscv-64) = 4.6-20.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 Wrote: /builddir/build/RPMS/cowpatty-4.6-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debugsource-4.6-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debuginfo-4.6-20.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.63V2x9 + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-20.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0