Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/f40-build-730447-103410/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (35 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/unzip-6.0-62.fc40.src.rpm RPM build warnings: %patchN is deprecated (35 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/f40-build-730447-103410/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (35 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wozM4j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unzip60 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/unzip60.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd unzip60 + rm -rf /builddir/build/BUILD/unzip60-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/unzip60-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (unzip-6.0-bzip2-configure.patch):' Patch #1 (unzip-6.0-bzip2-configure.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file unix/configure patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line + echo 'Patch #2 (unzip-6.0-exec-shield.patch):' Patch #2 (unzip-6.0-exec-shield.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file crc_i386.S + echo 'Patch #3 (unzip-6.0-close.patch):' Patch #3 (unzip-6.0-close.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c patching file unix/unix.c patching file unzpriv.h Patch #4 (unzip-6.0-attribs-overflow.patch): + echo 'Patch #4 (unzip-6.0-attribs-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file zipinfo.c + echo 'Patch #5 (unzip-6.0-configure.patch):' Patch #5 (unzip-6.0-configure.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file unix/configure Patch #6 (unzip-6.0-manpage-fix.patch): + echo 'Patch #6 (unzip-6.0-manpage-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file man/unzip.1 Hunk #1 succeeded at 495 (offset 71 lines). Patch #7 (unzip-6.0-fix-recmatch.patch): + echo 'Patch #7 (unzip-6.0-fix-recmatch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file match.c Patch #8 (unzip-6.0-symlink.patch): + echo 'Patch #8 (unzip-6.0-symlink.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file process.c Patch #9 (unzip-6.0-caseinsensitive.patch): + echo 'Patch #9 (unzip-6.0-caseinsensitive.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file match.c Patch #10 (unzip-6.0-format-secure.patch): + echo 'Patch #10 (unzip-6.0-format-secure.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c patching file list.c patching file zipinfo.c Patch #11 (unzip-6.0-valgrind.patch): + echo 'Patch #11 (unzip-6.0-valgrind.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fileio.c Patch #12 (unzip-6.0-x-option.patch): + echo 'Patch #12 (unzip-6.0-x-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file process.c Patch #13 (unzip-6.0-overflow.patch): + echo 'Patch #13 (unzip-6.0-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Patch #14 (unzip-6.0-cve-2014-8139.patch): + echo 'Patch #14 (unzip-6.0-cve-2014-8139.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c patching file unzpriv.h Patch #15 (unzip-6.0-cve-2014-8140.patch): + echo 'Patch #15 (unzip-6.0-cve-2014-8140.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Patch #16 (unzip-6.0-cve-2014-8141.patch): + echo 'Patch #16 (unzip-6.0-cve-2014-8141.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fileio.c patching file process.c Patch #17 (unzip-6.0-overflow-long-fsize.patch): + echo 'Patch #17 (unzip-6.0-overflow-long-fsize.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file list.c Patch #18 (unzip-6.0-heap-overflow-infloop.patch): + echo 'Patch #18 (unzip-6.0-heap-overflow-infloop.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file crypt.c patching file extract.c patching file extract.c Patch #19 (unzip-6.0-alt-iconv-utf8.patch): + echo 'Patch #19 (unzip-6.0-alt-iconv-utf8.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file unix/unix.c Hunk #2 succeeded at 1910 (offset 33 lines). patching file unix/unxcfg.h Hunk #1 succeeded at 227 (offset -1 lines). patching file unzip.c Hunk #2 succeeded at 675 (offset 1 line). Hunk #3 succeeded at 824 (offset 1 line). Hunk #4 succeeded at 1361 (offset 1 line). Hunk #5 succeeded at 1547 (offset 1 line). Hunk #6 succeeded at 1651 (offset 1 line). patching file unzpriv.h Hunk #1 succeeded at 3010 (offset 2 lines). patching file zipinfo.c Patch #20 (unzip-6.0-alt-iconv-utf8-print.patch): + echo 'Patch #20 (unzip-6.0-alt-iconv-utf8-print.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 2583 (offset -65 lines). Hunk #2 succeeded at 2609 (offset -65 lines). Hunk #3 succeeded at 2778 (offset -65 lines). Hunk #4 succeeded at 2823 (offset -65 lines). patching file unzpriv.h Hunk #1 succeeded at 1211 (offset -1 lines). Hunk #2 succeeded at 2396 (offset -15 lines). + echo 'Patch #21 (0001-Fix-CVE-2016-9844-rhbz-1404283.patch):' Patch #21 (0001-Fix-CVE-2016-9844-rhbz-1404283.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file zipinfo.c Patch #22 (unzip-6.0-timestamp.patch): + echo 'Patch #22 (unzip-6.0-timestamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file process.c Hunk #1 succeeded at 2908 (offset -6 lines). Hunk #2 succeeded at 2930 (offset -6 lines). Hunk #3 succeeded at 2952 (offset -6 lines). + echo 'Patch #23 (unzip-6.0-cve-2018-1000035-heap-based-overflow.patch):' Patch #23 (unzip-6.0-cve-2018-1000035-heap-based-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fileio.c Patch #24 (unzip-6.0-cve-2018-18384.patch): + echo 'Patch #24 (unzip-6.0-cve-2018-18384.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file list.c Hunk #2 succeeded at 390 (offset 1 line). Hunk #3 succeeded at 472 (offset 1 line). + echo 'Patch #25 (unzip-6.0-COVSCAN-fix-unterminated-string.patch):' Patch #25 (unzip-6.0-COVSCAN-fix-unterminated-string.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file unix/unix.c patching file unix/unxcfg.h patching file unzip.c patching file zipinfo.c Patch #26 (unzip-zipbomb-part1.patch): + echo 'Patch #26 (unzip-zipbomb-part1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fileio.c Hunk #1 succeeded at 532 (offset 2 lines). Patch #27 (unzip-zipbomb-part2.patch): + echo 'Patch #27 (unzip-zipbomb-part2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 321 (offset 2 lines). Hunk #2 succeeded at 495 (offset 2 lines). Hunk #3 succeeded at 735 (offset 2 lines). Hunk #4 succeeded at 1205 (offset 2 lines). Hunk #5 succeeded at 1750 (offset 11 lines). Hunk #6 succeeded at 2160 (offset 8 lines). patching file globals.c patching file globals.h patching file process.c Hunk #2 succeeded at 1913 (offset 16 lines). Hunk #3 succeeded at 1977 (offset 41 lines). patching file unzip.h Patch #28 (unzip-zipbomb-part3.patch): + echo 'Patch #28 (unzip-zipbomb-part3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 495 (offset 2 lines). Hunk #2 succeeded at 511 (offset 2 lines). patching file process.c patching file unzpriv.h Hunk #1 succeeded at 2188 (offset 3 lines). + echo 'Patch #29 (unzip-zipbomb-manpage.patch):' Patch #29 (unzip-zipbomb-manpage.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file man/unzip.1 + echo 'Patch #30 (unzip-zipbomb-part4.patch):' Patch #30 (unzip-zipbomb-part4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 3219 (offset 209 lines). Patch #31 (unzip-zipbomb-part5.patch): + echo 'Patch #31 (unzip-zipbomb-part5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file inflate.c Patch #32 (unzip-zipbomb-part6.patch): + echo 'Patch #32 (unzip-zipbomb-part6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 655 (offset -3 lines). Hunk #2 succeeded at 2191 (offset 3 lines). patching file globals.h Hunk #1 succeeded at 260 (offset -1 lines). patching file process.c Hunk #1 succeeded at 1919 (offset 16 lines). Hunk #2 succeeded at 1982 (offset 41 lines). patching file unzpriv.h Patch #33 (unzip-zipbomb-switch.patch): + echo 'Patch #33 (unzip-zipbomb-switch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 324 (offset 2 lines). Hunk #2 succeeded at 501 (offset -2 lines). Hunk #3 succeeded at 1222 (offset -3 lines). Hunk #4 succeeded at 1769 (offset 6 lines). Hunk #5 succeeded at 2181 (offset 3 lines). Hunk #6 succeeded at 2199 (offset 3 lines). patching file unzip.c Hunk #1 succeeded at 1354 (offset 25 lines). Hunk #2 succeeded at 2014 (offset 92 lines). patching file unzip.h + echo 'Patch #34 (unzip-gnu89-build.patch):' Patch #34 (unzip-gnu89-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file unix/Makefile Patch #35 (unzip-6.0-wcstombs-fortify.patch): + echo 'Patch #35 (unzip-6.0-wcstombs-fortify.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a11vSj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -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 unzip60 + /usr/bin/make -O -j4 V=1 VERBOSE=1 -f unix/Makefile 'CF_NOOPT=-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD' 'LFLAGS2=-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 ' generic_gcc /usr/bin/make -f unix/Makefile generic CC="gcc -std=gnu89" IZ_BZIP2="bzip2" make[1]: Entering directory '/builddir/build/BUILD/unzip60' sh unix/configure "gcc -std=gnu89" "-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD" "bzip2" Check C compiler operation Ok Check C compiler type (optimization options) GNU C (-O3) Check for the C preprocessor Check if we can use asm code Check for ANSI options Check for prototypes Check the handling of const Check for time_t Check for size_t Check for off_t Check for Large File Support off_t is 8 bytes -- yes we have Large File Support! Check for wide char support __STDC_ISO_10646__ = 201706 -- have wchar_t with known UCS encoding - enabling Unicode support! Check for setlocale support (needed for UNICODE Native check) -- have setlocale, can check for charset type -- - enabling UTF8-native support! Check for gcc no-builtin flag Check for fchmod Check for fchown Check for lchown Check for nl_langinfo Check for lchmod Check for memset Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for non existent include files Check for term I/O include file Check for MBCS include files Check for MBCS support -- have MBCS support Check for MBCS mbschr Check for MBCS mbsrchr Check for valloc Check for /usr/local/bin and /usr/local/man Checking for OS specialties Check for symbolic links Check bzip2 support Check for bzip2 sources in unzip's bzip2 subdirectory Check if OS already has bzip2 library installed -- OS supports bzip2 - linking in bzip2 make[1]: Leaving directory '/builddir/build/BUILD/unzip60' eval /usr/bin/make -f unix/Makefile unzips ACONF_DEP=flags `cat flags` make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 crc32.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 envargs.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 crypt.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 unzip.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' In file included from unzip.h:720, from unzip.c:68: unzip.c: In function ‘usage’: unzpriv.h:1009:45: warning: format ‘%c’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat=] 1009 | # define LoadFarString(x) (char *)(x) | ^ unzpriv.h:2728:61: note: in definition of macro ‘Info’ 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro ‘LoadFarString’ 2133 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format ‘%c’ expects a matching ‘int’ argument [-Wformat=] 1009 | # define LoadFarString(x) (char *)(x) | ^ unzpriv.h:2728:61: note: in definition of macro ‘Info’ 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro ‘LoadFarString’ 2133 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format ‘%c’ expects a matching ‘int’ argument [-Wformat=] 1009 | # define LoadFarString(x) (char *)(x) | ^ unzpriv.h:2728:61: note: in definition of macro ‘Info’ 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro ‘LoadFarString’ 2133 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format ‘%c’ expects a matching ‘int’ argument [-Wformat=] 1009 | # define LoadFarString(x) (char *)(x) | ^ unzpriv.h:2728:61: note: in definition of macro ‘Info’ 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro ‘LoadFarString’ 2133 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 1009 | # define LoadFarString(x) (char *)(x) | ^ unzpriv.h:2728:61: note: in definition of macro ‘Info’ 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro ‘LoadFarString’ 2133 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ In function ‘show_version_info’, inlined from ‘uz_opts’ at unzip.c:1986:13: unzpriv.h:2728:53: warning: ‘%s’ directive writing up to 74519 bytes into a region of size 65528 [-Wformat-overflow=] 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) In file included from /usr/include/stdio.h:980, from unzpriv.h:634: In function ‘sprintf’, inlined from ‘show_version_info’ at unzip.c:2602:9, inlined from ‘uz_opts’ at unzip.c:1986:13: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 74529 bytes into a destination of size 65536 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] In file included from unzpriv.h:2241: globals.h: In function ‘uz_opts’: globals.h:431:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 431 | extern Uz_Globs G; | ^ In function ‘show_version_info’, inlined from ‘uz_opts’ at unzip.c:1986:13: unzpriv.h:2728:53: warning: ‘%s’ directive writing up to 74519 bytes into a region of size 65528 [-Wformat-overflow=] 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) In function ‘sprintf’, inlined from ‘show_version_info’ at unzip.c:2613:9, inlined from ‘uz_opts’ at unzip.c:1986:13: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 74529 bytes into a destination of size 65536 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] globals.h: In function ‘uz_opts’: globals.h:431:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 431 | extern Uz_Globs G; | ^ In function ‘show_version_info’, inlined from ‘uz_opts’ at unzip.c:1986:13: unzpriv.h:2728:53: warning: ‘%s’ directive writing up to 74519 bytes into a region of size 65528 [-Wformat-overflow=] 2728 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) In function ‘sprintf’, inlined from ‘show_version_info’ at unzip.c:2659:9, inlined from ‘uz_opts’ at unzip.c:1986:13: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 74529 bytes into a destination of size 65536 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__sprintf_chk’ argument 5 may overlap destination object ‘G’ [-Wrestrict] globals.h: In function ‘uz_opts’: globals.h:431:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 431 | extern Uz_Globs G; | ^ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 globals.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 explode.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 fileio.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' fileio.c: In function ‘disk_error’: fileio.c:1225:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1225 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 list.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 match.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 ttyio.c ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 463 | read(f, &c, 1); /* read our character */ | ^~~~~~~~~~~~~~ ttyio.c: In function ‘getp’: ttyio.c:631:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 631 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 ubz2err.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 unreduce.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 inflate.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 unshrink.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 process.c process.c: In function ‘wide_to_local_string’: process.c:2496:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 2496 | int state_dependent; | ^~~~~~~~~~~~~~~ process.c:2533:9: warning: ‘__strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 2533 | strncat(buffer, buf, b); | ^ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 extract.c extract.c: In function ‘UZbunzip2’: extract.c:3114:9: warning: variable ‘repeated_buf_err’ set but not used [-Wunused-but-set-variable] 3114 | int repeated_buf_err; | ^~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_files’: extract.c:777:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 777 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘store_info’: extract.c:1089:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1089 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1681:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1681 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DFUNZIP -o cryptf.o crypt.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DFUNZIP -o globalsf.o globals.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 funzip.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 unix/unix.c unix/unix.c: In function ‘CloseError’: unix/unix.c:1116:21: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1116 | fgets(G.answerbuf, 9, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/unix.c: In function ‘checkdir’: unix/unix.c:984:17: warning: pointer ‘tmproot_171’ may be used after ‘realloc’ [-Wuse-after-free] 984 | free(tmproot); | ^~~~~~~~~~~~~ unix/unix.c:983:39: note: call to ‘realloc’ here 983 | if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DFUNZIP -o ttyiof.o ttyio.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' ttyio.c: In function ‘getp’: ttyio.c:631:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 631 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o crc32_.o crc32.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o crypt_.o crypt.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o unzipsfx.o unzip.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DFUNZIP -o inflatef.o inflate.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o globals_.o globals.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o fileio_.o fileio.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' fileio.c: In function ‘disk_error’: fileio.c:1225:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1225 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o match_.o match.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 zipinfo.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o ttyio_.o ttyio.c ttyio.c: In function ‘zgetch’: ttyio.c:463:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 463 | read(f, &c, 1); /* read our character */ | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o ubz2err_.o ubz2err.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o extract_.o extract.c extract.c: In function ‘extract_or_test_files’: extract.c:777:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 777 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘store_info’: extract.c:1089:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1089 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function ‘extract_or_test_entrylist’: extract.c:1681:29: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1681 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o inflate_.o inflate.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o process_.o process.c process.c: In function ‘wide_to_local_string’: process.c:2496:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 2496 | int state_dependent; | ^~~~~~~~~~~~~~~ process.c:2533:9: warning: ‘__strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 2533 | strncat(buffer, buf, b); | ^ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DSFX -o unix_.o unix/unix.c unix/unix.c: In function ‘CloseError’: unix/unix.c:1116:21: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1116 | fgets(G.answerbuf, 9, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/unix.c: In function ‘checkdir’: unix/unix.c:984:17: warning: pointer ‘tmproot_171’ may be used after ‘realloc’ [-Wuse-after-free] 984 | free(tmproot); | ^~~~~~~~~~~~~ unix/unix.c:983:39: note: call to ‘realloc’ here 983 | if ((G.rootpath = (char *)realloc(tmproot, G.rootlen+1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -o unzip -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -lbz2 -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 extract.c: In function ‘extract_or_test_entrylist’: extract.c:1685:53: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1685 | G.filename[--fnlen] = '\0'; | ^ globals.h:295:14: note: at offset -1 into destination object ‘filename’ of size 4096 295 | char filename[FILNAMSIZ]; /* also used by NT for temporary SFX path */ | ^ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -std=gnu89 -o unzipsfx unzipsfx.o crc32_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ueBTMd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -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 unzip60 + make -f unix/Makefile prefix=/builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr MANDIR=/builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1 'INSTALL=cp -p' install mkdir -p /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin cp -p unzip funzip unzipsfx /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin cp -p unix/zipgrep /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin rm -f /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/zipinfo ln /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/zipinfo mkdir -p /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1 cp -p man/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/funzip.1 cp -p man/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/unzip.1 cp -p man/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/unzipsfx.1 cp -p man/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/zipgrep.1 cp -p man/zipinfo.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/zipinfo.1 chmod 755 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/funzip /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/unzipsfx /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/zipgrep /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/bin/zipinfo chmod 644 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/man/man1/zipinfo.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 6.0-62.fc40 --unique-debug-suffix -6.0-62.fc40.riscv64 --unique-debug-src-base unzip-6.0-62.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzip60 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 4 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/unzip-6.0-62.fc40.riscv64 2053 blocks find-debuginfo: done + /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 mangling shebang in /usr/bin/zipgrep from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: unzip-6.0-62.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.v13W1q + umask 022 + cd /builddir/build/BUILD + cd unzip60 + DOCDIR=/builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/doc/unzip + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/doc/unzip + cp -pr /builddir/build/BUILD/unzip60/README /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/doc/unzip + cp -pr /builddir/build/BUILD/unzip60/BUGS /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/doc/unzip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kK2rGY + umask 022 + cd /builddir/build/BUILD + cd unzip60 + LICENSEDIR=/builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/licenses/unzip + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/licenses/unzip + cp -pr /builddir/build/BUILD/unzip60/LICENSE /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/licenses/unzip + cp -pr /builddir/build/BUILD/unzip60/COPYING.OLD /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64/usr/share/licenses/unzip + RPM_EC=0 ++ jobs -p + exit 0 Provides: unzip = 6.0-62.fc40 unzip(riscv-64) = 6.0-62.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: unzip-debugsource-6.0-62.fc40.riscv64 Provides: unzip-debugsource = 6.0-62.fc40 unzip-debugsource(riscv-64) = 6.0-62.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unzip-debuginfo-6.0-62.fc40.riscv64 Provides: debuginfo(build-id) = 185f741a75b4c0531698bd4203485b6126f52048 debuginfo(build-id) = 674518891baa6b3440742a02636cbd0ae4523a09 debuginfo(build-id) = a7bc3c3e02c12da826d198babafcb60ce79c0409 debuginfo(build-id) = nilnil unzip-debuginfo = 6.0-62.fc40 unzip-debuginfo(riscv-64) = 6.0-62.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unzip-debugsource(riscv-64) = 6.0-62.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzip-6.0-62.fc40.riscv64 Wrote: /builddir/build/RPMS/unzip-6.0-62.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/unzip-debuginfo-6.0-62.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/unzip-debugsource-6.0-62.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (35 usages found), use %patch N (or %patch -P N) Child return code was: 0