Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/fcrackzip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1687899571.799371/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.ql4xacy6:/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.ql4xacy6:/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', '31f97c65801549a49fedcdeb91e9064e', '-D', '/var/lib/mock/fedora-rawhide-s390x-1687899571.799371/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ql4xacy6:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1591315200 Wrote: /builddir/build/SRPMS/fcrackzip-1.0-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/fcrackzip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1687899571.799371/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.ql4xacy6:/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.ql4xacy6:/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', 'e5cf207336034662b6051af11534c267', '-D', '/var/lib/mock/fedora-rawhide-s390x-1687899571.799371/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ql4xacy6:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1591315200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KykL3j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fcrackzip-1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fcrackzip-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fcrackzip-1.0 + /usr/bin/mkdir -p SPECPARTS + /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.MXM2mn + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 fcrackzip-1.0 + mv configure.in configure.ac + autoreconf -i configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.ac:3: the top level configure.ac:8: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:8: the top level 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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + '[' '-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 21:01:17.189751750 +0000 +++ ./configure 2023-06-27 21:01:17.599751750 +0000 @@ -1854,7 +1854,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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=s390x-redhat-linux --host=s390x-redhat-linux --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 --runstatedir=/run --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 race-free 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 s390x-redhat-linux-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 for stdbool.h... yes checking for getopt.h... yes checking for unistd.h... (cached) 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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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] 132 | if (fgets (pw, MAX_PW+1, dict_file)) | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/stdio.h:964, 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:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27: /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 *} /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 *} /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 *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | 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 *} /usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 263 | 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 *} /usr/include/stdio.h:862:33: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 862 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ 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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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] 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]: 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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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]; | ^~~~~~~~~~~~ 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:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ 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 *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ 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: 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 *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpmask.c: 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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.q56yCJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x ++ dirname /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 fcrackzip-1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x '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.fc39.s390x/usr/bin' /usr/bin/install -p fcrackzip zipinfo '/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/man/man1' /usr/bin/install -p -m 644 fcrackzip.1 '/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/fcrackzip-1.0' + mv /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x//usr/bin/zipinfo /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x//usr/bin/fczipinfo + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0-1.fc39 --unique-debug-suffix -1.0-1.fc39.s390x --unique-debug-src-base fcrackzip-1.0-1.fc39.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fcrackzip-1.0 extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/bin/fcrackzip extracting debug info from /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/bin/fczipinfo original debug info size: 124kB, size after compression: 124kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 104 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 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: fcrackzip-1.0-1.fc39.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kGvu6P + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + DOCDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/NEWS /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/THANKS /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/AUTHORS /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/TODO /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/README /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/ChangeLog /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/doc/fcrackzip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UMJiok + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/licenses/fcrackzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/licenses/fcrackzip + cp -pr /builddir/build/BUILD/fcrackzip-1.0/COPYING /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x/usr/share/licenses/fcrackzip + RPM_EC=0 ++ jobs -p + exit 0 Provides: fcrackzip = 1.0-1.fc39 fcrackzip(s390-64) = 1.0-1.fc39 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)(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.fc39.s390x Provides: fcrackzip-debugsource = 1.0-1.fc39 fcrackzip-debugsource(s390-64) = 1.0-1.fc39 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.fc39.s390x Provides: debuginfo(build-id) = 05018855f54a9b7bacecd3132e70b518288d060f debuginfo(build-id) = eac672cff06e61f24c28425f7476511f65c08d24 fcrackzip-debuginfo = 1.0-1.fc39 fcrackzip-debuginfo(s390-64) = 1.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fcrackzip-debugsource(s390-64) = 1.0-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x Wrote: /builddir/build/RPMS/fcrackzip-1.0-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/fcrackzip-debuginfo-1.0-1.fc39.s390x.rpm Wrote: /builddir/build/RPMS/fcrackzip-debugsource-1.0-1.fc39.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EDWiDU + umask 022 + cd /builddir/build/BUILD + cd fcrackzip-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fcrackzip-1.0-1.fc39.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.h95Ejo + umask 022 + cd /builddir/build/BUILD + rm -rf fcrackzip-1.0 fcrackzip-1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0