Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fcrackzip.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1621636711.372770/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '19a49b67790947a79aba802a63cd61c6', '-D', '/var/lib/mock/epel-8-x86_64-1621636711.372770/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fcrackzip.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/fcrackzip-1.0-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/fcrackzip.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1621636711.372770/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '75927e1e14cd41bba07a188836a2c361', '-D', '/var/lib/mock/epel-8-x86_64-1621636711.372770/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv0v8se0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/fcrackzip.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Frgl5C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fcrackzip-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/fcrackzip-1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fcrackzip-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.REpwRV + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + mv configure.in configure.ac + autoreconf -i configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:7: installing './compile' Makefile.am:27: warning: '%'-style pattern rules are a GNU make extension Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/fcrackzip-1.0/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/fcrackzip-1.0/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for an ANSI C-conforming const... yes checking for inline... inline checking for perl5... no checking for perl... perl checking for pgcc/egcs... checking for x86 asm... not x86 checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for gettimeofday... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -c -o main.o main.c make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' main.c: In function 'dictionary_gen': main.c:132:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (fgets (pw, MAX_PW+1, dict_file)) ^~ In file included from /usr/include/stdio.h:873, from main.c:5: /usr/include/bits/stdio2.h:255:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ main.c:134:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pw[strlen (pw) - 1] = 0; ^~ In file included from main.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ main.c: In function 'validate': main.c:166:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (pw, "Martha"); ^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c: In function 'benchmark': main.c:261:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (pw, "abcdefghij"); ^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c: In function 'usage': main.c:331:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf ("%c%d: %s\n", ~^ %ld main.c:333:13: crack_method - methods, ~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:378:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (pw, optarg); ^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from main.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ main.c:511:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pw_end = pw + strlen (pw); ^~ In file included from main.c:26: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ main.c:528:32: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if (!(dict_file = fopen (pw, "r"))) ^~ In file included from main.c:5: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ main.c:530:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] perror (pw); ^~ In file included from main.c:5: /usr/include/stdio.h:781:13: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern void perror (const char *__s); ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -c -o zipinfo.o zipinfo.c make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' zipinfo.c: In function 'parse_zip': zipinfo.c:82:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (zip_path, name_len, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zipinfo.c:101:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (file, 24, 1, f); ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o zipinfo zipinfo.o make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -c -o crack.o crack.c make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' In file included from crack.c:160: cpmask.c:129:8: warning: type defaults to 'int' in declaration of 'cp_table_lu1' [-Wimplicit-int] static cp_table_lu1[MAX_CP_WIDTH]; ^~~~~~~~~~~~ cpmask.c:130:8: warning: type defaults to 'int' in declaration of 'cp_table_lu2' [-Wimplicit-int] static cp_table_lu2[MAX_CP_WIDTH]; ^~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function 'crack_cpmask': cpmask.c:347:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pw_end = pw + strlen (pw); ^~ In file included from crack.c:7: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from crack.c:160: cpmask.c:387:27: warning: pointer targets in passing argument 1 of 'cbfunc' differ in signedness [-Wpointer-sign] if ((changed = cbfunc (pw, info))) ^~ cpmask.c:387:27: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} In file included from crackdef.c:98, from crack.c:161: zipcrack.c: In function 'METHOD1_crack_pw': zipcrack.c:62:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] changed = strlen (pw); ^~ In file included from crack.c:7: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from crackdef.c:98, from crack.c:161: zipcrack.c:269:30: warning: pointer targets in passing argument 1 of 'cbfunc' differ in signedness [-Wpointer-sign] if ((changed = cbfunc (pw, 0))) ^~ zipcrack.c:269:30: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} In file included from crackdef.c:109, from crack.c:161: zipcrack.c: In function 'METHOD2_crack_pw': zipcrack.c:62:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] changed = strlen (pw); ^~ In file included from crack.c:7: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from crackdef.c:109, from crack.c:161: zipcrack.c:269:30: warning: pointer targets in passing argument 1 of 'cbfunc' differ in signedness [-Wpointer-sign] if ((changed = cbfunc (pw, 0))) ^~ zipcrack.c:269:30: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} crack.c: In function 'load_zip': crack.c:78:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (zip_path, name_len, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crack.c:94:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (file, FILE_SIZE, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function 'load_img': cpmask.c:71:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (img, "#%*[^\012\015] "); /* comment */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:76:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (img, "#%*[^\012\015] "); /* comment */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:81:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (img, "#%*[^\012\015] "); /* comment */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: At top level: cpmask.c:294:1: warning: 'cp_cleanup' defined but not used [-Wunused-function] cp_cleanup (void) ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fcrackzip main.o crack.o make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bx7e8q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 + cd fcrackzip-1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/bin' /usr/bin/install -p fcrackzip zipinfo '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 fcrackzip.1 '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' + mv /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64//usr/bin/zipinfo /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64//usr/bin/fczipinfo + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0-1.el8 --unique-debug-suffix -1.0-1.el8.x86_64 --unique-debug-src-base fcrackzip-1.0-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/fcrackzip-1.0 extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/bin/fcrackzip extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/bin/fczipinfo /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 103 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: fcrackzip-1.0-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xUbQgX + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + DOCDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr NEWS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr THANKS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr AUTHORS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr TODO /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr README /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + cp -pr ChangeLog /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/doc/fcrackzip + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FDwCrt + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/licenses/fcrackzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/licenses/fcrackzip + cp -pr COPYING /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64/usr/share/licenses/fcrackzip + exit 0 Provides: fcrackzip = 1.0-1.el8 fcrackzip(x86-64) = 1.0-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: fcrackzip-debugsource-1.0-1.el8.x86_64 Provides: fcrackzip-debugsource = 1.0-1.el8 fcrackzip-debugsource(x86-64) = 1.0-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fcrackzip-debuginfo-1.0-1.el8.x86_64 Provides: debuginfo(build-id) = 57d1b64f236386eac114180eeeb09bcfcbc4a3f9 debuginfo(build-id) = d50fab39732f83031c38411ceed64f40496d6e40 fcrackzip-debuginfo = 1.0-1.el8 fcrackzip-debuginfo(x86-64) = 1.0-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fcrackzip-debugsource(x86-64) = 1.0-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 Wrote: /builddir/build/RPMS/fcrackzip-1.0-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/fcrackzip-debugsource-1.0-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/fcrackzip-debuginfo-1.0-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F7Gn2Z + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.el8.x86_64 + exit 0 Child return code was: 0