Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'], chrootPath='/var/lib/mock/f30-build-38677-22239/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=345600uid=995gid=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 Wrote: /builddir/build/SRPMS/cowpatty-4.6-17.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'], chrootPath='/var/lib/mock/f30-build-38677-22239/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=345600uid=995gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fXMujB + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DbYkuc + 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 BUILDSTDERR: cowpatty.c: In function 'handle_dot1x': BUILDSTDERR: cowpatty.c:417:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int key_info, index; BUILDSTDERR: ^~~~~ BUILDSTDERR: cowpatty.c: In function 'hashfile_attack': BUILDSTDERR: cowpatty.c:691:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int reclen, wordlen; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cowpatty.c: In function 'dictfile_attack': BUILDSTDERR: 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=] BUILDSTDERR: printf("Invalid passphrase length: %s (%u).\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: passphrase, strlen(passphrase)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: genpmk.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: printf("Invalid passphrase length: %s (%u).\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: passphrase, strlen(passphrase)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int fret = 0, c, ret; BUILDSTDERR: ^~~ 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 BUILDSTDERR: cowpatty.c: In function 'handle_dot1x': BUILDSTDERR: cowpatty.c:417:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int key_info, index; BUILDSTDERR: ^~~~~ BUILDSTDERR: cowpatty.c: In function 'hashfile_attack': BUILDSTDERR: cowpatty.c:691:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int reclen, wordlen; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cowpatty.c: In function 'dictfile_attack': BUILDSTDERR: 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=] BUILDSTDERR: printf("Invalid passphrase length: %s (%u).\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: passphrase, strlen(passphrase)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: genpmk.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: printf("Invalid passphrase length: %s (%u).\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: passphrase, strlen(passphrase)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: genpmk.c:91:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int fret = 0, c, ret; BUILDSTDERR: ^~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aUByMi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 + cd cowpatty-4.6 + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 + install -D -pm 755 cowpatty /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/bin/cowpatty + install -D -pm 755 genpmk /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/bin/genpmk + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.6-17.fc30 --unique-debug-suffix -4.6-17.fc30.riscv64 --unique-debug-src-base cowpatty-4.6-17.fc30.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-17.fc30.riscv64/usr/bin/cowpatty explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/bin/genpmk extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/bin/genpmk extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/bin/cowpatty /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 135 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/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-17.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wjapZf + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + DOCDIR=/builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr AUTHORS /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr COPYING /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr README /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr FAQ /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr TODO /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + cp -pr CHANGELOG /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64/usr/share/doc/cowpatty + exit 0 Provides: cowpatty = 4.6-17.fc30 cowpatty(riscv-64) = 4.6-17.fc30 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-17.fc30.riscv64 Provides: cowpatty-debugsource = 4.6-17.fc30 cowpatty-debugsource(riscv-64) = 4.6-17.fc30 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-17.fc30.riscv64 Provides: cowpatty-debuginfo = 4.6-17.fc30 cowpatty-debuginfo(riscv-64) = 4.6-17.fc30 debuginfo(build-id) = bfc47e2b3a2337099da861e58753736f0b5be169 debuginfo(build-id) = f60d18d6018d706ad300ae493ec113ebe0d23848 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-17.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 Wrote: /builddir/build/RPMS/cowpatty-4.6-17.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debugsource-4.6-17.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debuginfo-4.6-17.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uTqmYe + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-17.fc30.riscv64 + exit 0 Child return code was: 0