Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fcrackzip.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1687890829.966555/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '3f94a45c5fcf4dd987abb520d9deacef', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1687890829.966555/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1591315200 Wrote: /builddir/build/SRPMS/fcrackzip-1.0-1.el9.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/rhel+epel-9-x86_64-1687890829.966555/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'dc649b32d26c4124bb75f3dbb39d75b6', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1687890829.966555/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d8t3y6jm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1591315200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hn10f4 + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IHc69A + 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-06-27 18:34:54.622991757 +0000 +++ ./configure 2023-06-27 18:34:55.082984361 +0000 @@ -1947,7 +1947,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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 checking for a thread-safe mkdir -p... configure: WARNING: 'missing' script is too old or missing /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... 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 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -c -o main.o main.c main.c: In function 'dictionary_gen': main.c:132:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 132 | if (fgets (pw, MAX_PW+1, dict_file)) | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/stdio.h:900, from main.c:5: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 209 | 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] 134 | pw[strlen (pw) - 1] = 0; | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | 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] 166 | strcpy (pw, "Martha"); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __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] 261 | strcpy (pw, "abcdefghij"); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __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=] 331 | printf ("%c%d: %s\n", | ~^ | | | int | %ld 332 | (crack_method - methods == default_method) ? '*' : ' ', 333 | crack_method - methods, | ~~~~~~~~~~~~~~~~~~~~~~ | | | long int main.c: In function 'main': main.c:378:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 378 | strcpy (pw, optarg); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __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] 511 | pw_end = pw + strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | 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] 528 | if (!(dict_file = fopen (pw, "r"))) | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:5: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 252 | 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] 530 | perror (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from main.c:5: /usr/include/stdio.h:798:33: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 798 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -c -o zipinfo.o zipinfo.c zipinfo.c: In function 'parse_zip': zipinfo.c:82:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 82 | 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] 101 | fread (file, 24, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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] 129 | static cp_table_lu1[MAX_CP_WIDTH]; | ^~~~~~~~~~~~ cpmask.c:130:8: warning: type defaults to 'int' in declaration of 'cp_table_lu2' [-Wimplicit-int] 130 | static cp_table_lu2[MAX_CP_WIDTH]; | ^~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function 'crack_cpmask': cpmask.c:347:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 347 | pw_end = pw + strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from crack.c:160: cpmask.c:387:34: warning: pointer targets in passing argument 1 of 'cbfunc' differ in signedness [-Wpointer-sign] 387 | if ((changed = cbfunc (pw, info))) | ^~ | | | u8 * {aka unsigned char *} cpmask.c:387:34: 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] 62 | changed = strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | 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] 269 | if ((changed = cbfunc (pw, 0))) | ^~ | | | u8 * {aka unsigned char *} 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] 62 | changed = strlen (pw); | ^~ | | | u8 * {aka unsigned char *} In file included from crack.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | 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] 269 | if ((changed = cbfunc (pw, 0))) | ^~ | | | u8 * {aka unsigned char *} 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:15: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | fread (zip_path, name_len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crack.c:94:19: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | fread (file, FILE_SIZE, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crack.c:160: cpmask.c: In function 'load_img': cpmask.c:71:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:76:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c:81:23: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | 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] 294 | cp_cleanup (void) | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/fcrackzip-1.0' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -funroll-all-loops -O3 -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 -o fcrackzip main.o crack.o make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VxBDsV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 + cd fcrackzip-1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.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.el9.x86_64/usr/bin' /usr/bin/install -p fcrackzip zipinfo '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 fcrackzip.1 '/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' + mv /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64//usr/bin/zipinfo /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64//usr/bin/fczipinfo + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0-1.el9 --unique-debug-suffix -1.0-1.el9.x86_64 --unique-debug-src-base fcrackzip-1.0-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/fcrackzip-1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/bin/fczipinfo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/bin/fcrackzip extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/bin/fcrackzip extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/bin/fczipinfo original debug info size: 116kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 103 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: fcrackzip-1.0-1.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DFd2JU + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + DOCDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.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.el9.x86_64/usr/share/doc/fcrackzip + cp -pr NEWS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + cp -pr THANKS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + cp -pr AUTHORS /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + cp -pr TODO /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + cp -pr README /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + cp -pr ChangeLog /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/doc/fcrackzip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Utx4aq + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.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.el9.x86_64/usr/share/licenses/fcrackzip + cp -pr COPYING /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64/usr/share/licenses/fcrackzip + RPM_EC=0 ++ jobs -p + exit 0 Provides: fcrackzip = 1.0-1.el9 fcrackzip(x86-64) = 1.0-1.el9 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.34)(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.el9.x86_64 Provides: fcrackzip-debugsource = 1.0-1.el9 fcrackzip-debugsource(x86-64) = 1.0-1.el9 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.el9.x86_64 Provides: debuginfo(build-id) = 82927544e879d563dd0a4385f0d78139917aa9ff debuginfo(build-id) = c9611f655a5facd1ffd2bb6a846a07ac54b4492a fcrackzip-debuginfo = 1.0-1.el9 fcrackzip-debuginfo(x86-64) = 1.0-1.el9 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.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 Wrote: /builddir/build/RPMS/fcrackzip-1.0-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/fcrackzip-debuginfo-1.0-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/fcrackzip-debugsource-1.0-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sSrFoy + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0