Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/f31-build-70745-30518/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/unzip-6.0-44.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'], chrootPath='/var/lib/mock/f31-build-70745-30518/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E3VHwk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unzip60 + /usr/bin/gzip -dc /builddir/build/SOURCES/unzip60.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 . + echo 'Patch #1 (unzip-6.0-bzip2-configure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bzip2-configure --fuzz=0 + echo 'Patch #2 (unzip-6.0-exec-shield.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .exec-shield --fuzz=0 + echo 'Patch #3 (unzip-6.0-close.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .close --fuzz=0 + echo 'Patch #4 (unzip-6.0-attribs-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .attribs-overflow --fuzz=0 + echo 'Patch #5 (unzip-6.0-configure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .configure --fuzz=0 + echo 'Patch #6 (unzip-6.0-manpage-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpage-fix --fuzz=0 + echo 'Patch #7 (unzip-6.0-fix-recmatch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .recmatch --fuzz=0 + echo 'Patch #8 (unzip-6.0-symlink.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .symlink --fuzz=0 + echo 'Patch #9 (unzip-6.0-caseinsensitive.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .caseinsensitive --fuzz=0 + echo 'Patch #10 (unzip-6.0-format-secure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-secure --fuzz=0 + echo 'Patch #11 (unzip-6.0-valgrind.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .valgrind --fuzz=0 + echo 'Patch #12 (unzip-6.0-x-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .x-option --fuzz=0 + echo 'Patch #13 (unzip-6.0-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflow --fuzz=0 + echo 'Patch #14 (unzip-6.0-cve-2014-8139.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2014-8139 --fuzz=0 + echo 'Patch #15 (unzip-6.0-cve-2014-8140.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2014-8140 --fuzz=0 + echo 'Patch #16 (unzip-6.0-cve-2014-8141.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2014-8141 --fuzz=0 + echo 'Patch #17 (unzip-6.0-overflow-long-fsize.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflow-long-fsize --fuzz=0 + echo 'Patch #18 (unzip-6.0-heap-overflow-infloop.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .heap-overflow-infloop --fuzz=0 + echo 'Patch #19 (unzip-6.0-alt-iconv-utf8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .utf --fuzz=0 + echo 'Patch #20 (unzip-6.0-alt-iconv-utf8-print.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .utf-print --fuzz=0 + echo 'Patch #21 (0001-Fix-CVE-2016-9844-rhbz-1404283.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2016-9844 --fuzz=0 + echo 'Patch #22 (unzip-6.0-timestamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .timestamp --fuzz=0 + echo 'Patch #23 (unzip-6.0-cve-2018-1000035-heap-based-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2018-1000035 --fuzz=0 + echo 'Patch #24 (unzip-6.0-cve-2018-18384.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2018-18384 --fuzz=0 + echo 'Patch #25 (unzip-6.0-COVSCAN-fix-unterminated-string.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan-1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (unzip-6.0-bzip2-configure.patch): patching file unix/configure patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line Patch #2 (unzip-6.0-exec-shield.patch): patching file crc_i386.S Patch #3 (unzip-6.0-close.patch): patching file extract.c patching file unix/unix.c patching file unzpriv.h Patch #4 (unzip-6.0-attribs-overflow.patch): patching file zipinfo.c Patch #5 (unzip-6.0-configure.patch): patching file unix/configure Patch #6 (unzip-6.0-manpage-fix.patch): patching file man/unzip.1 Hunk #1 succeeded at 495 (offset 71 lines). Patch #7 (unzip-6.0-fix-recmatch.patch): patching file match.c Patch #8 (unzip-6.0-symlink.patch): patching file process.c Patch #9 (unzip-6.0-caseinsensitive.patch): patching file match.c Patch #10 (unzip-6.0-format-secure.patch): patching file extract.c patching file list.c patching file zipinfo.c Patch #11 (unzip-6.0-valgrind.patch): patching file fileio.c Patch #12 (unzip-6.0-x-option.patch): patching file process.c Patch #13 (unzip-6.0-overflow.patch): patching file extract.c Patch #14 (unzip-6.0-cve-2014-8139.patch): patching file extract.c patching file unzpriv.h Patch #15 (unzip-6.0-cve-2014-8140.patch): patching file extract.c Patch #16 (unzip-6.0-cve-2014-8141.patch): patching file fileio.c patching file process.c Patch #17 (unzip-6.0-overflow-long-fsize.patch): patching file list.c Patch #18 (unzip-6.0-heap-overflow-infloop.patch): patching file crypt.c patching file extract.c patching file extract.c Patch #19 (unzip-6.0-alt-iconv-utf8.patch): patching file unix/unix.c Hunk #2 succeeded at 1910 (offset 33 lines). patching file unix/unxcfg.h Hunk #1 succeeded at 227 (offset -1 lines). patching file unzip.c Hunk #2 succeeded at 675 (offset 1 line). Hunk #3 succeeded at 824 (offset 1 line). Hunk #4 succeeded at 1361 (offset 1 line). Hunk #5 succeeded at 1547 (offset 1 line). Hunk #6 succeeded at 1651 (offset 1 line). patching file unzpriv.h Hunk #1 succeeded at 3010 (offset 2 lines). patching file zipinfo.c Patch #20 (unzip-6.0-alt-iconv-utf8-print.patch): patching file extract.c Hunk #1 succeeded at 2583 (offset -65 lines). Hunk #2 succeeded at 2609 (offset -65 lines). Hunk #3 succeeded at 2778 (offset -65 lines). Hunk #4 succeeded at 2823 (offset -65 lines). patching file unzpriv.h Hunk #1 succeeded at 1211 (offset -1 lines). Hunk #2 succeeded at 2396 (offset -15 lines). Patch #21 (0001-Fix-CVE-2016-9844-rhbz-1404283.patch): patching file zipinfo.c Patch #22 (unzip-6.0-timestamp.patch): patching file process.c Hunk #1 succeeded at 2908 (offset -6 lines). Hunk #2 succeeded at 2930 (offset -6 lines). Hunk #3 succeeded at 2952 (offset -6 lines). Patch #23 (unzip-6.0-cve-2018-1000035-heap-based-overflow.patch): patching file fileio.c Patch #24 (unzip-6.0-cve-2018-18384.patch): patching file list.c Hunk #2 succeeded at 390 (offset 1 line). Hunk #3 succeeded at 472 (offset 1 line). Patch #25 (unzip-6.0-COVSCAN-fix-unterminated-string.patch): patching file unix/unix.c patching file unix/unxcfg.h patching file unzip.c patching file zipinfo.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i3Eicj + umask 022 + cd /builddir/build/BUILD + cd unzip60 + make -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' 'LFLAGS2=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' generic_gcc -j4 BUILDSTDERR: In file included from unzip.h:718, BUILDSTDERR: from unzip.c:68: BUILDSTDERR: unzip.c: In function 'usage': BUILDSTDERR: unzpriv.h:1009:45: warning: format '%c' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=] BUILDSTDERR: 1009 | # define LoadFarString(x) (char *)(x) BUILDSTDERR: | ^ BUILDSTDERR: unzpriv.h:2717:61: note: in definition of macro 'Info' BUILDSTDERR: 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: unzip.c:2122:43: note: in expansion of macro 'LoadFarString' BUILDSTDERR: 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: 1009 | # define LoadFarString(x) (char *)(x) BUILDSTDERR: | ^ BUILDSTDERR: unzpriv.h:2717:61: note: in definition of macro 'Info' BUILDSTDERR: 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: unzip.c:2122:43: note: in expansion of macro 'LoadFarString' BUILDSTDERR: 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: 1009 | # define LoadFarString(x) (char *)(x) BUILDSTDERR: | ^ BUILDSTDERR: unzpriv.h:2717:61: note: in definition of macro 'Info' BUILDSTDERR: 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: unzip.c:2122:43: note: in expansion of macro 'LoadFarString' BUILDSTDERR: 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: unzpriv.h:1009:45: warning: format '%c' expects a matching 'int' argument [-Wformat=] BUILDSTDERR: 1009 | # define LoadFarString(x) (char *)(x) BUILDSTDERR: | ^ BUILDSTDERR: unzpriv.h:2717:61: note: in definition of macro 'Info' BUILDSTDERR: 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: unzip.c:2122:43: note: in expansion of macro 'LoadFarString' BUILDSTDERR: 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: unzpriv.h:1009:45: warning: format '%s' expects a matching 'char *' argument [-Wformat=] BUILDSTDERR: 1009 | # define LoadFarString(x) (char *)(x) BUILDSTDERR: | ^ BUILDSTDERR: unzpriv.h:2717:61: note: in definition of macro 'Info' BUILDSTDERR: 2717 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: unzip.c:2122:43: note: in expansion of macro 'LoadFarString' BUILDSTDERR: 2122 | Info(slide, flag, ((char *)slide, LoadFarString(ZipInfoUsageLine3), BUILDSTDERR: | ^~~~~~~~~~~~~ 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 eval 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 unzip.c 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 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 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 BUILDSTDERR: gcc -c -I. -DUNIX -O2 -g -pipe -Wall -Werror=format-security extract.c: In function 'UZbunzip2': BUILDSTDERR: extract.c:2905:9: warning: variable 'repeated_buf_err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2905 | int repeated_buf_err; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: extract.c: In function 'extract_or_test_files': BUILDSTDERR: extract.c:617:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 617 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: extract.c: In function 'store_info': BUILDSTDERR: extract.c:929:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 929 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: extract.c: In function 'extract_or_test_entrylist': BUILDSTDERR: extract.c:1514:29: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1514 | fgets(G.filename, FILNAMSIZ, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'disk_error': BUILDSTDERR: fileio.c:1223:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1223 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.c: In function 'list_files': BUILDSTDERR: list.c:351:45: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 351 | sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); BUILDSTDERR: | ^~~~ BUILDSTDERR: list.c:351:44: note: directive argument in the range [0, 65535] BUILDSTDERR: 351 | sprintf( &methbuf[ 4], "%03u", G.crec.compression_method); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from unzpriv.h:634, BUILDSTDERR: from unzip.h:718, BUILDSTDERR: from list.c:24: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: process.c: In function 'wide_to_local_string': BUILDSTDERR: process.c:2481:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2481 | int state_dependent; BUILDSTDERR: | ^~~~~~~~~~~~~~~ -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 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 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 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 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 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 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 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 BUILDSTDERR: gccttyio.c: In function 'zgetch': BUILDSTDERR: ttyio.c:463:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 463 | read(f, &c, 1); /* read our character */ BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ttyio.c: In function 'getp': BUILDSTDERR: ttyio.c:631:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 631 | read(f, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: unix/unix.c: In function 'CloseError': BUILDSTDERR: unix/unix.c:1116:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1116 | fgets(G.answerbuf, 9, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from unzpriv.h:642, BUILDSTDERR: from unzip.h:718, BUILDSTDERR: from process.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'wide_to_local_string' at process.c:2518:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 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 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 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 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 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 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 BUILDSTDERR: 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 -ttyio.c: In function 'getp': BUILDSTDERR: ttyio.c:631:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 631 | read(f, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: zipinfo.c: In function 'zipinfo': BUILDSTDERR: zipinfo.c:1999:39: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] BUILDSTDERR: 1999 | sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); BUILDSTDERR: | ^~~~ BUILDSTDERR: zipinfo.c:1999:38: note: directive argument in the range [0, 65535] BUILDSTDERR: 1999 | sprintf( &methbuf[ 1], "%03u", G.crec.compression_method); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from unzpriv.h:634, BUILDSTDERR: from unzip.h:718, BUILDSTDERR: from zipinfo.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DUSE_BZIP2 -DFUNZIP -o cryptf.o crypt.c 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 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 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 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 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 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 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 BUILDSTDERR: 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/reextract.c: In function 'extract_or_test_files': BUILDSTDERR: extract.c:617:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 617 | read(G.zipfd, (char *)G.inbuf, INBUFSIZ); /* been here before... */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: extract.c: In function 'store_info': BUILDSTDERR: extract.c:929:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 929 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: extract.c: In function 'extract_or_test_entrylist': BUILDSTDERR: extract.c:1514:29: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1514 | fgets(G.filename, FILNAMSIZ, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'disk_error': BUILDSTDERR: fileio.c:1223:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1223 | fgets(G.answerbuf, sizeof(G.answerbuf), stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: process.c: In function 'wide_to_local_string': BUILDSTDERR: process.c:2481:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2481 | int state_dependent; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ttyio.c: In function 'zgetch': BUILDSTDERR: ttyio.c:463:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 463 | read(f, &c, 1); /* read our character */ BUILDSTDERR: | ^~~~~~~~~~~~~~ dhat/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 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 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 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 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 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 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 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 BUILDSTDERR: gcc -o unzip -Lbzip2 unzipunix/unix.c: In function 'CloseError': BUILDSTDERR: unix/unix.c:1116:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1116 | fgets(G.answerbuf, 9, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from unzpriv.h:642, BUILDSTDERR: from unzip.h:718, BUILDSTDERR: from process.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'wide_to_local_string' at process.c:2518:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 .o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -lbz2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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/redhat/redhat-hardened-ld 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/redhat/redhat-hardened-ld make[2]: Leaving directory '/builddir/build/BUILD/unzip60' make[1]: Leaving directory '/builddir/build/BUILD/unzip60' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ui2Vsk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 + cd unzip60 + rm -rf /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 + make -f unix/Makefile prefix=/builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr MANDIR=/builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1 'INSTALL=cp -p' install + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.0-44.fc31 --unique-debug-suffix -6.0-44.fc31.riscv64 --unique-debug-src-base unzip-6.0-44.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzip60 BUILDSTDERR: 2031 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mkdir -p /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin cp -p unzip funzip unzipsfx /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin cp -p unix/zipgrep /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin rm -f /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/zipinfo ln /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/zipinfo mkdir -p /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1 cp -p man/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/funzip.1 cp -p man/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/unzip.1 cp -p man/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/unzipsfx.1 cp -p man/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/zipgrep.1 cp -p man/zipinfo.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/zipinfo.1 chmod 755 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/funzip /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzip /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzipsfx /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/zipgrep /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/zipinfo chmod 644 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/funzip.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/unzip.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/unzipsfx.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/zipgrep.1 /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64//usr/share/man/man1/zipinfo.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/funzip explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzip explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzipsfx extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/funzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzip extracting debug info from /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/bin/unzipsfx hard linked /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/lib/debug/usr/bin/unzip-6.0-44.fc31.riscv64.debug to /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/lib/debug/usr/bin/zipinfo-6.0-44.fc31.riscv64.debug original debug info size: 1268kB, size after compression: 1044kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/zipgrep from /bin/sh to #!/usr/bin/sh Processing files: unzip-6.0-44.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9Mg7Ok + umask 022 + cd /builddir/build/BUILD + cd unzip60 + DOCDIR=/builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/doc/unzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/doc/unzip + cp -pr README /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/doc/unzip + cp -pr BUGS /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/doc/unzip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tUlyHk + umask 022 + cd /builddir/build/BUILD + cd unzip60 + LICENSEDIR=/builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/licenses/unzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/licenses/unzip + cp -pr LICENSE /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/licenses/unzip + cp -pr COPYING.OLD /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64/usr/share/licenses/unzip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: unzip = 6.0-44.fc31 unzip(riscv-64) = 6.0-44.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: unzip-debugsource-6.0-44.fc31.riscv64 Provides: unzip-debugsource = 6.0-44.fc31 unzip-debugsource(riscv-64) = 6.0-44.fc31 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-44.fc31.riscv64 Provides: debuginfo(build-id) = 0ebf2db441e2a73980a9209d1f5ec11467fa8204 debuginfo(build-id) = 6a7efcdfc27b2346a6601deb76138abf2b40e2bf debuginfo(build-id) = dcadbbbe1a038b0787138691141295d226590555 unzip-debuginfo = 6.0-44.fc31 unzip-debuginfo(riscv-64) = 6.0-44.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unzip-debugsource(riscv-64) = 6.0-44.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 Wrote: /builddir/build/RPMS/unzip-6.0-44.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/unzip-debuginfo-6.0-44.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/unzip-debugsource-6.0-44.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8Vhbfl + umask 022 + cd /builddir/build/BUILD + cd unzip60 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzip-6.0-44.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0