Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cowpatty.spec'], chrootPath='/var/lib/mock/f38-build-702973-89430/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/cowpatty-4.6-26.fc38.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/f38-build-702973-89430/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rZMTKX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cowpatty-4.6 + /usr/lib/rpm/rpmuncompress -x /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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YZsS75 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cowpatty-4.6 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL -c -o md5.o md5.c md5.c: In function 'md5_mac': md5.c:29:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 29 | MD5_Init(&context); | ^~~~~~~~ In file included from md5.c:20: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ md5.c:30:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | MD5_Update(&context, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:31:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 31 | MD5_Update(&context, data, data_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:32:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 32 | MD5_Update(&context, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:33:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 33 | MD5_Final(mac, &context); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ md5.c: In function 'hmac_md5_vector': md5.c:48:17: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | MD5_Init(&context); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ md5.c:49:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 49 | MD5_Update(&context, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:50:17: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | MD5_Final(tk, &context); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ md5.c:78:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | MD5_Init(&context); /* init context for 1st pass */ | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ md5.c:79:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | MD5_Update(&context, k_ipad, 64); /* start with inner pad */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:82:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | MD5_Update(&context, addr[i], len[i]); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:84:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | MD5_Final(mac, &context); /* finish up 1st pass */ | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ md5.c:87:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 87 | MD5_Init(&context); /* init context for 2nd pass */ | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ md5.c:88:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 88 | MD5_Update(&context, k_opad, 64); /* start with outer pad */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:89:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 89 | MD5_Update(&context, mac, 16); /* then results of 1st hash */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ md5.c:90:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 90 | MD5_Final(mac, &context); /* finish up 2nd pass */ | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL -c -o sha1.o sha1.c sha1.c: In function 'sha1_mac': sha1.c:43:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 | SHA1Init(&context); | ^~~~~~~~ In file included from sha1.h:30, from sha1.c:34: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ sha1.c:44:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 44 | SHA1Update(&context, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:45:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 45 | SHA1Update(&context, data, data_len); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:46:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | SHA1Update(&context, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:47:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | SHA1Final(mac, &context); | ^~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ sha1.c: In function 'hmac_sha1_vector': sha1.c:90:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 90 | SHA1Init(&context); /* init context for 1st pass */ | ^~~~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ sha1.c:91:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 91 | SHA1Update(&context, k_ipad, 64); /* start with inner pad */ | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:101:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 101 | SHA1Update(&context, addr[i], len[i]); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:103:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | SHA1Final(mac, &context); /* finish up 1st pass */ | ^~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ sha1.c:106:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | SHA1Init(&context); /* init context for 2nd pass */ | ^~~~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ sha1.c:107:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 107 | SHA1Update(&context, k_opad, 64); /* start with outer pad */ | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:115:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 115 | SHA1Update(&context, mac, 20); /* then results of 1st hash */ | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:116:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 116 | SHA1Final(mac, &context); /* finish up 2nd pass */ | ^~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ sha1.c:131:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | SHA1Update(&context, addr[i], len[i]); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:133:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | SHA1Final(mac, &context); | ^~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ sha1.c:136:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | SHA1Update(&context, mac, 20); | ^~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ sha1.c:137:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | SHA1Final(mac, &context); | ^~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL -c -o utils.o utils.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL -c -o cowpatty.o cowpatty.c cowpatty.c: In function 'handle_dot1x': cowpatty.c:417:23: 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:13: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] 691 | int reclen, wordlen; | ^~~~~~ cowpatty.c: In function 'dictfile_attack': cowpatty.c:862:73: 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} cowpatty.c: In function 'parseopts': cowpatty.c:163:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 163 | strncpy(opt->ssid, optarg, sizeof(opt->ssid)); | ^ cowpatty.c:160:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 160 | strncpy(opt->pcapfile, optarg, sizeof(opt->pcapfile)); | ^ cowpatty.c:157:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 157 | strncpy(opt->dictfile, optarg, sizeof(opt->dictfile)); | ^ cowpatty.c:166:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 166 | strncpy(opt->hashfile, optarg, sizeof(opt->hashfile)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL -c -o genpmk.o genpmk.c genpmk.c: In function 'main': genpmk.c:249:73: 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:26: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int fret = 0, c, ret; | ^~~ genpmk.c:123:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 123 | strncpy(opt.ssid, optarg, sizeof(opt.ssid)); | ^ genpmk.c:117:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 117 | strncpy(opt.dictfile, optarg, sizeof(opt.dictfile)); | ^ genpmk.c:120:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 120 | strncpy(opt.hashfile, optarg, sizeof(opt.hashfile)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto cowpatty.c: In function 'handle_dot1x': cowpatty.c:417:23: 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:13: warning: variable 'reclen' set but not used [-Wunused-but-set-variable] 691 | int reclen, wordlen; | ^~~~~~ cowpatty.c: In function 'dictfile_attack': cowpatty.c:862:73: 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} cowpatty.c: In function 'parseopts': cowpatty.c:163:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 163 | strncpy(opt->ssid, optarg, sizeof(opt->ssid)); | ^ cowpatty.c:160:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 160 | strncpy(opt->pcapfile, optarg, sizeof(opt->pcapfile)); | ^ cowpatty.c:157:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 157 | strncpy(opt->dictfile, optarg, sizeof(opt->dictfile)); | ^ cowpatty.c:166:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 166 | strncpy(opt->hashfile, optarg, sizeof(opt->hashfile)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DOPENSSL genpmk.c -o genpmk utils.o sha1.o -lpcap -lcrypto genpmk.c: In function 'main': genpmk.c:249:73: 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:26: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 91 | int fret = 0, c, ret; | ^~~ genpmk.c:123:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 123 | strncpy(opt.ssid, optarg, sizeof(opt.ssid)); | ^ genpmk.c:117:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 117 | strncpy(opt.dictfile, optarg, sizeof(opt.dictfile)); | ^ genpmk.c:120:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 120 | strncpy(opt.hashfile, optarg, sizeof(opt.hashfile)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RHUH3p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cowpatty-4.6 + rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 + install -D -pm 755 cowpatty /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/bin/cowpatty + install -D -pm 755 genpmk /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/bin/genpmk + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.6-26.fc38 --unique-debug-suffix -4.6-26.fc38.riscv64 --unique-debug-src-base cowpatty-4.6-26.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cowpatty-4.6 extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/bin/cowpatty extracting debug info from /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/bin/genpmk original debug info size: 320kB, size after compression: 316kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cowpatty-4.6-26.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8LGCmW + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + DOCDIR=/builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr AUTHORS /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr COPYING /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr README /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr FAQ /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr TODO /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + cp -pr CHANGELOG /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64/usr/share/doc/cowpatty + RPM_EC=0 ++ jobs -p + exit 0 Provides: cowpatty = 4.6-26.fc38 cowpatty(riscv-64) = 4.6-26.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: cowpatty-debugsource-4.6-26.fc38.riscv64 Provides: cowpatty-debugsource = 4.6-26.fc38 cowpatty-debugsource(riscv-64) = 4.6-26.fc38 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-26.fc38.riscv64 Provides: cowpatty-debuginfo = 4.6-26.fc38 cowpatty-debuginfo(riscv-64) = 4.6-26.fc38 debuginfo(build-id) = 5a19f33ae33968eb492a7d11637d0a88bf9d3547 debuginfo(build-id) = b62f13421ee20a4cde18fb87cdd805a0de49f4da 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-26.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 Wrote: /builddir/build/RPMS/cowpatty-4.6-26.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debugsource-4.6-26.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cowpatty-debuginfo-4.6-26.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zuPlfv + umask 022 + cd /builddir/build/BUILD + cd cowpatty-4.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cowpatty-4.6-26.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wOoBJc + umask 022 + cd /builddir/build/BUILD + rm -rf cowpatty-4.6 cowpatty-4.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0