Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-90885-5984/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-90885-5984/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.Gf3rfn + 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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-configure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-exec-shield.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-close.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-attribs-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-fix-recmatch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-symlink.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-caseinsensitive.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-format-secure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-valgrind.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-x-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-cve-2014-8139.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-cve-2014-8140.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-cve-2014-8141.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-overflow-long-fsize.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-heap-overflow-infloop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-alt-iconv-utf8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-alt-iconv-utf8-print.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-CVE-2016-9844-rhbz-1404283.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-timestamp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-cve-2018-1000035-heap-based-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-cve-2018-18384.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unzip-6.0-COVSCAN-fix-unterminated-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1qOQyV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 -j8 V=1 VERBOSE=1 -f unix/Makefile prefix=/usr 'CF_NOOPT=-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD' 'LFLAGS2=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -- bzip2 sources not found - no bzip2 support 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 crypt.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 envargs.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 globals.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 crc32.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 explode.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 unzip.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' In file included from unzip.h:718, 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:2717:61: note: in definition of macro 'Info' 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2122:43: note: in expansion of macro 'LoadFarString' 2122 | 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:2717:61: note: in definition of macro 'Info' 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2122:43: note: in expansion of macro 'LoadFarString' 2122 | 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:2717:61: note: in definition of macro 'Info' 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2122:43: note: in expansion of macro 'LoadFarString' 2122 | 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:2717:61: note: in definition of macro 'Info' 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2122:43: note: in expansion of macro 'LoadFarString' 2122 | 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:2717:61: note: in definition of macro 'Info' 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) | ^~~~~~~~ unzip.c:2122:43: note: in expansion of macro 'LoadFarString' 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), | ^~~~~~~~~~~~~ In function 'show_version_info', inlined from 'uz_opts' at unzip.c:1987:13: unzpriv.h:2717:53: warning: '%s' directive writing up to 74471 bytes into a region of size 65528 [-Wformat-overflow=] 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) In file included from /usr/include/stdio.h:964, from unzpriv.h:634: In function 'sprintf', inlined from 'show_version_info' at unzip.c:2591:9, inlined from 'uz_opts' at unzip.c:1987:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 74481 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:2230: globals.h: In function 'uz_opts': globals.h:430:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 430 | extern Uz_Globs G; | ^ In function 'show_version_info', inlined from 'uz_opts' at unzip.c:1987:13: unzpriv.h:2717:53: warning: '%s' directive writing up to 74471 bytes into a region of size 65528 [-Wformat-overflow=] 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) In function 'sprintf', inlined from 'show_version_info' at unzip.c:2602:9, inlined from 'uz_opts' at unzip.c:1987:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 74481 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:430:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 430 | extern Uz_Globs G; | ^ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 match.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 unreduce.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 list.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 ubz2err.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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] 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]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 fileio.c fileio.c: In function 'disk_error': fileio.c:1223:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1223 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 funzip.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 unshrink.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 inflate.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 process.c process.c: In function 'wide_to_local_string': process.c:2481:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] 2481 | int state_dependent; | ^~~~~~~~~~~~~~~ process.c:2518:9: warning: 'strncat' output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 2518 | strncat(buffer, buf, b); | ^ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 extract.c extract.c: In function 'extract_or_test_files': extract.c:617:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function 'store_info': extract.c:929:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 929 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function 'extract_or_test_entrylist': extract.c:1514:29: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1514 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -DSFX -o fileio_.o fileio.c fileio.c: In function 'disk_error': fileio.c:1223:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1223 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -DSFX -o process_.o process.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' process.c: In function 'wide_to_local_string': process.c:2481:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] 2481 | int state_dependent; | ^~~~~~~~~~~~~~~ process.c:2518:9: warning: 'strncat' output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 2518 | strncat(buffer, buf, b); | ^ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 -DSFX -o extract_.o extract.c make[2]: Leaving directory '/builddir/build/BUILD/unzip60' extract.c: In function 'extract_or_test_files': extract.c:617:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function 'store_info': extract.c:929:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 929 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extract.c: In function 'extract_or_test_entrylist': extract.c:1514:29: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1514 | fgets(G.filename, FILNAMSIZ, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/unzip60' gcc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 zipinfo.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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 make[2]: Leaving directory '/builddir/build/BUILD/unzip60' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ze9pUL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 + cd unzip60 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 'INSTALL=/usr/bin/install -p' -f unix/Makefile BINDIR=/builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin MANDIR=/builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1 'INSTALL=cp -p' mkdir -p /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin cp -p unzip funzip unzipsfx /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin cp -p unix/zipgrep /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin rm -f /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/zipinfo ln /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/zipinfo mkdir -p /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1 cp -p man/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/funzip.1 cp -p man/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/unzip.1 cp -p man/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/unzipsfx.1 cp -p man/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/zipgrep.1 cp -p man/zipinfo.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/zipinfo.1 chmod 755 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/funzip /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/unzipsfx /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/zipgrep /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/zipinfo chmod 644 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/man/man1/zipinfo.1 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 6.0-4.ocs23 --unique-debug-suffix -6.0-4.ocs23.aarch64 --unique-debug-src-base unzip-6.0-4.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/unzip60 extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/unzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/funzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/bin/unzipsfx hard linked /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/lib/debug/usr/bin/unzip-6.0-4.ocs23.aarch64.debug to /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/lib/debug/usr/bin/zipinfo-6.0-4.ocs23.aarch64.debug 2034 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/zipgrep from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: unzip-6.0-4.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TOVPBd + umask 022 + cd /builddir/build/BUILD + cd unzip60 + DOCDIR=/builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + cp -pr README /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + cp -pr BUGS /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + cp -pr Contents /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + cp -pr ToDo /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + cp -pr WHERE /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/doc/unzip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qo7DQW + umask 022 + cd /builddir/build/BUILD + cd unzip60 + LICENSEDIR=/builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/licenses/unzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/licenses/unzip + cp -pr LICENSE /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/licenses/unzip + cp -pr COPYING.OLD /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64/usr/share/licenses/unzip + RPM_EC=0 ++ jobs -p + exit 0 Provides: unzip = 6.0-4.ocs23 unzip(aarch-64) = 6.0-4.ocs23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: unzip-debugsource-6.0-4.ocs23.aarch64 Provides: unzip-debugsource = 6.0-4.ocs23 unzip-debugsource(aarch-64) = 6.0-4.ocs23 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-4.ocs23.aarch64 Provides: debuginfo(build-id) = 24791003d746f467fdadaa2f159cd79c676f271c debuginfo(build-id) = 2bf0a229371c9a532ee1cff7a384bc5ae42e9fb6 debuginfo(build-id) = e84c90450404a72ea6cbb17b286428f2ffc6e944 debuginfo(build-id) = nilnil unzip-debuginfo = 6.0-4.ocs23 unzip-debuginfo(aarch-64) = 6.0-4.ocs23 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) = 6.0-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzip-6.0-4.ocs23.aarch64 Wrote: /builddir/build/RPMS/unzip-6.0-4.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/unzip-debugsource-6.0-4.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/unzip-debuginfo-6.0-4.ocs23.aarch64.rpm Child return code was: 0