Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-227136-62190/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/unzip-6.0-3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-227136-62190/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZBC27b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unzip60 + /usr/bin/gzip -dc /builddir/build/SOURCES/unzip-6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd unzip60 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-unzip-6.0-bzip2-configure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line + /usr/bin/cat /builddir/build/SOURCES/0002-unzip-6.0-exec-shield.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-unzip-6.0-close.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-unzip-6.0-attribs-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-unzip-6.0-configure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-unzip-6.0-fix-recmatch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-unzip-6.0-symlink.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-unzip-6.0-caseinsensitive.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-unzip-6.0-format-secure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-unzip-6.0-valgrind.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0011-unzip-6.0-x-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-unzip-6.0-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-unzip-6.0-cve-2014-8139.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0014-unzip-6.0-cve-2014-8140.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0015-unzip-6.0-cve-2014-8141.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0016-unzip-6.0-overflow-long-fsize.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0017-unzip-6.0-heap-overflow-infloop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0018-unzip-6.0-alt-iconv-utf8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0019-unzip-6.0-alt-iconv-utf8-print.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0020-Fix-CVE-2016-9844-rhbz-1404283.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0021-unzip-6.0-timestamp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0022-unzip-6.0-cve-2018-1000035-heap-based-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0023-unzip-6.0-cve-2018-18384.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0024-unzip-6.0-COVSCAN-fix-unterminated-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0025-unzip-6.0-COVSCAN-strcpy-with-overlapping-strings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0026-unzip-zipbomb-part1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0027-unzip-zipbomb-part2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0028-unzip-zipbomb-part3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0029-unzip-zipbomb-part4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0030-unzip-zipbomb-part5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0031-unzip-zipbomb-part6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0032-unzip-zipbomb-switch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AFe5NG + umask 022 + cd /builddir/build/BUILD + cd unzip60 + /usr/bin/make -O -j80 -f unix/Makefile 'CF_NOOPT=-I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD' generic_gcc /usr/bin/make -f unix/Makefile generic CC=gcc IZ_BZIP2="bzip2" make[1]: Entering directory '/builddir/build/BUILD/unzip60' sh unix/configure "gcc" "-I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' ttyio.c: In function 'zgetch': ttyio.c:463:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); /* read our character */ ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] read(f, &c, 1); ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' ttyio.c: In function 'zgetch': ttyio.c:463:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] read(f, &c, 1); ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' list.c: In function 'list_files': list.c:351:45: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); ^~~~ list.c:351:44: note: directive argument in the range [0, 65535] sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); ^~~~~~ In file included from /usr/include/stdio.h:873, from unzpriv.h:634, from unzip.h:720, from list.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' 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] fgets(G.answerbuf, 9, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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=] # define LoadFarString(x) (char *)(x) ^ unzpriv.h:2728:61: note: in definition of macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro 'LoadFarString' Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] # define LoadFarString(x) (char *)(x) ^ unzpriv.h:2728:61: note: in definition of macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro 'LoadFarString' Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] # define LoadFarString(x) (char *)(x) ^ unzpriv.h:2728:61: note: in definition of macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro 'LoadFarString' Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] # define LoadFarString(x) (char *)(x) ^ unzpriv.h:2728:61: note: in definition of macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro 'LoadFarString' Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), ^~~~~~~~~~~~~ unzpriv.h:1009:45: warning: format '%s' expects a matching 'char *' argument [-Wformat=] # define LoadFarString(x) (char *)(x) ^ unzpriv.h:2728:61: note: in definition of macro 'Info' (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) ^~~~~~~~ unzip.c:2133:43: note: in expansion of macro 'LoadFarString' Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' 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] fgets(G.answerbuf, 9, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' process.c: In function 'wide_to_local_string': process.c:2496:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] fgets(G.answerbuf, sizeof(G.answerbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' process.c: In function 'wide_to_local_string': process.c:2496:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] int state_dependent; ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' 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] 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] 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] fgets(G.filename, FILNAMSIZ, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' zipinfo.c: In function 'zipinfo': zipinfo.c:1999:39: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); ^~~~ zipinfo.c:1999:38: note: directive argument in the range [0, 65535] sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); ^~~~~~ In file included from /usr/include/stdio.h:873, from unzpriv.h:634, from unzip.h:720, from zipinfo.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' extract.c: In function 'UZbunzip2': extract.c:3114:9: warning: variable 'repeated_buf_err' set but not used [-Wunused-but-set-variable] 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] 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] 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] fgets(G.filename, FILNAMSIZ, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -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 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QcrlLX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 ++ dirname /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 + cd unzip60 + make -f unix/Makefile prefix=/builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr MANDIR=/builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1 'INSTALL=cp -p' install mkdir -p /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin cp -p unzip funzip unzipsfx /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin cp -p unix/zipgrep /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin rm -f /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/zipinfo ln /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/zipinfo mkdir -p /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1 cp -p man/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/funzip.1 cp -p man/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/unzip.1 cp -p man/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/unzipsfx.1 cp -p man/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/zipgrep.1 cp -p man/zipinfo.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/zipinfo.1 chmod 755 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/funzip /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/unzipsfx /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/zipgrep /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/zipinfo chmod 644 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/man/man1/zipinfo.1 + /usr/lib/rpm/find-debuginfo.sh -j80 --strict-build-id -m -i --build-id-seed 6.0-3.an8 --unique-debug-suffix -6.0-3.an8.aarch64 --unique-debug-src-base unzip-6.0-3.an8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzip60 extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/funzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/unzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/bin/unzipsfx hard linked /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/lib/debug/usr/bin/unzip-6.0-3.an8.aarch64.debug to /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/lib/debug/usr/bin/zipinfo-6.0-3.an8.aarch64.debug /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2051 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: unzip-6.0-3.an8.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1KdZoZ + umask 022 + cd /builddir/build/BUILD + cd unzip60 + LICENSEDIR=/builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/licenses/unzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/licenses/unzip + cp -pr LICENSE /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/licenses/unzip + cp -pr COPYING.OLD /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/licenses/unzip + exit 0 Provides: unzip = 1:6.0-3.an8 unzip(aarch-64) = 1:6.0-3.an8 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: /bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: unzip-doc-6.0-3.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8kESFr + umask 022 + cd /builddir/build/BUILD + cd unzip60 + DOCDIR=/builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/doc/unzip-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/doc/unzip-doc + cp -pr README /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/doc/unzip-doc + cp -pr BUGS /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64/usr/share/doc/unzip-doc + exit 0 Provides: unzip-doc = 1:6.0-3.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unzip-debugsource-6.0-3.an8.aarch64 Provides: unzip-debugsource = 1:6.0-3.an8 unzip-debugsource(aarch-64) = 1:6.0-3.an8 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-3.an8.aarch64 Provides: debuginfo(build-id) = 3e38fd3059930761ceb898edd1a9974f305a6497 debuginfo(build-id) = bf2dadbc103f5df0147c92e41c91271bbebe6239 debuginfo(build-id) = eec3a245f2f2eb2d4d11905bd2d9dd6936ca4749 unzip-debuginfo = 1:6.0-3.an8 unzip-debuginfo(aarch-64) = 1:6.0-3.an8 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(aarch-64) = 1:6.0-3.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 Wrote: /builddir/build/RPMS/unzip-6.0-3.an8.aarch64.rpm Wrote: /builddir/build/RPMS/unzip-doc-6.0-3.an8.noarch.rpm Wrote: /builddir/build/RPMS/unzip-debugsource-6.0-3.an8.aarch64.rpm Wrote: /builddir/build/RPMS/unzip-debuginfo-6.0-3.an8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i3pFF7 + umask 022 + cd /builddir/build/BUILD + cd unzip60 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzip-6.0-3.an8.aarch64 + exit 0 Child return code was: 0