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/zip.spec'], chrootPath='/var/lib/mock/f31-build-61380-28851/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/zip.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=1549152000 Wrote: /builddir/build/SRPMS/zip-3.0-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/f31-build-61380-28851/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/zip.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=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nPk0NF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zip30 + /usr/bin/gzip -dc /builddir/build/SOURCES/zip30.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zip30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (zip-3.0-exec-shield.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .exec-shield --fuzz=0 + echo 'Patch #2 (zip-3.0-currdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .currdir --fuzz=0 + echo 'Patch #3 (zip-3.0-time.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .time --fuzz=0 + echo 'Patch #4 (man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0 + echo 'Patch #5 (zip-3.0-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 + echo 'Patch #6 (zipnote.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .zipnote --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (zip-3.0-exec-shield.patch): patching file crc_i386.S patching file match.S Patch #2 (zip-3.0-currdir.patch): patching file util.c Patch #3 (zip-3.0-time.patch): patching file unix/Makefile Hunk #1 succeeded at 29 (offset 5 lines). Patch #4 (man.patch): patching file man/zipsplit.1 patching file man/zipnote.1 Patch #5 (zip-3.0-format-security.patch): patching file zip.c Patch #6 (zipnote.patch): patching file zipnote.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OMUxRG + umask 022 + cd /builddir/build/BUILD + cd zip30 + make -f unix/Makefile prefix=/usr 'CFLAGS_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' generic_gcc -j4 BUILDSTDERR: zipup.c: In function 'zipup': BUILDSTDERR: zipup.c:403:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 403 | zoff_t o = 0, p; /* offsets in zip file */ BUILDSTDERR: | ^ BUILDSTDERR: zipup.c: In function 'bz_compress_init': BUILDSTDERR: zipup.c:1674:17: warning: variable 'bzlibVer' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1674 | const char *bzlibVer; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from zipup.c:109: BUILDSTDERR: zipup.c: In function 'file_read': BUILDSTDERR: unix/zipup.h:21:22: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 21 | #define zread(f,b,n) read(f,b,n) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: zipup.c:1264:10: note: in expansion of macro 'zread' BUILDSTDERR: 1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: zipfile.c: In function 'ffile_size': BUILDSTDERR: zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1696 | size_t siz; BUILDSTDERR: | ^~~ BUILDSTDERR: zipfile.c: In function 'readlocal': BUILDSTDERR: zipfile.c:2168:11: warning: variable 'start_offset' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2168 | uzoff_t start_offset = 0; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'wide_to_local_string': BUILDSTDERR: fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3281 | int state_dependent; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: zipfile.c: In function 'scanzipf_fixnew': BUILDSTDERR: zipfile.c:3225:11: warning: variable 'in_cd_start_offset' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3225 | uzoff_t in_cd_start_offset; /* offset of start of cd on cd start disk */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: zipfile.c:3223:11: warning: variable 'cd_total_entries' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3223 | uzoff_t cd_total_entries = 0; /* number of entries according to EOCDR */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: zipfile.c: In function 'scanzipf_regnew': BUILDSTDERR: zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4030 | ush version_made; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4029 | uzoff_t z64eocdr_size; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'ask_for_split_read_path': BUILDSTDERR: fileio.c:2120:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2120 | fgets(buf, SPLIT_MAXPATH, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c:2143:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2143 | fgets(buf, SPLIT_MAXPATH, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'ask_for_split_write_path': BUILDSTDERR: fileio.c:2324:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2324 | fgets(buf, FNMAX, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tailor.h:238, BUILDSTDERR: from zip.h:88, BUILDSTDERR: from fileio.c:16: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'wide_to_local_string' at fileio.c:3318: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: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -f unix/Makefile generic CC=gcc CPP="gcc -E" make[1]: Entering directory '/builddir/build/BUILD/zip30' 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" "" Check C compiler type (optimization options) GNU C (-O3) Check bzip2 support Check for bzip2 in bzip2 directory Check if OS already has bzip2 library installed -- OS supports bzip2 - linking in bzip2 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 size of UIDs and GIDs (Now zip stores variable size UIDs/GIDs using a new extra field. This tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage should also be used for backward compatibility.) s.st_uid is 4 bytes s.st_gid is 4 bytes -- UID not 2 bytes - disabling old 16-bit UID/GID support Check for Large File Support off_t is 8 bytes -- yes we have Large File Support! Check for wide char support -- have wchar_t - enabling Unicode support Check for gcc no-builtin flag Check for rmdir Check for strchr Check for strrchr Check for rename Check for mktemp Check for mktime Check for mkstemp Check for memset Check for memmove Check for strerror Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for nonexistent include files Check for term I/O include file Check for valloc Check for /usr/local/bin and /usr/local/man Check for OS-specific flags Check for symbolic links eval make -f unix/Makefile zips `cat flags` make[2]: Entering directory '/builddir/build/BUILD/zip30' 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c BUILDSTDERR: gttyio.c: In function 'getp': BUILDSTDERR: ttyio.c:628:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 628 | read(f, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: zipfile.c: In function 'scanzipf_fixnew': BUILDSTDERR: zipfile.c:3638:14: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 3638 | *x = z; BUILDSTDERR: | ~~~^~~ BUILDSTDERR: zipfile.c: In function 'readzipfile': BUILDSTDERR: zipfile.c:5057:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 5057 | *x = z; BUILDSTDERR: | ~~~^~~ BUILDSTDERR: zipfile.c:4049:27: note: 'x' was declared here BUILDSTDERR: 4049 | struct zlist far * far *x; /* pointer last entry's link */ BUILDSTDERR: | ^ cc -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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.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 -gzipfile.c: In function 'ffile_size': BUILDSTDERR: zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1696 | size_t siz; BUILDSTDERR: | ^~~ BUILDSTDERR: zipfile.c: In function 'scanzipf_regnew': BUILDSTDERR: zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4030 | ush version_made; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4029 | uzoff_t z64eocdr_size; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'wide_to_local_string': BUILDSTDERR: fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3281 | int state_dependent; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'ask_for_split_read_path': BUILDSTDERR: fileio.c:2120:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2120 | fgets(buf, SPLIT_MAXPATH, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c:2143:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2143 | fgets(buf, SPLIT_MAXPATH, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'ask_for_split_write_path': BUILDSTDERR: fileio.c:2324:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2324 | fgets(buf, FNMAX, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: zipfile.c: In function 'readzipfile': BUILDSTDERR: zipfile.c:5057:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 5057 | *x = z; BUILDSTDERR: | ~~~^~~ BUILDSTDERR: zipfile.c:4049:27: note: 'x' was declared here BUILDSTDERR: 4049 | struct zlist far * far *x; /* pointer last entry's link */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tailor.h:238, BUILDSTDERR: from zip.h:88, BUILDSTDERR: from fileio.c:16: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'wide_to_local_string' at fileio.c:3318: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: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: zipsplit.c: In function 'main': BUILDSTDERR: zipsplit.c:884:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 884 | fgets(m, 10, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: zipsplit.c: In function 'retry': BUILDSTDERR: zipsplit.c:496:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 496 | fgets(m, 10, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 record-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o 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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.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 -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c gcc -o zip zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o zbz2err.o deflate.o trees.o -lbz2 gcc -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2 gcc -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 gcc -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Leaving directory '/builddir/build/BUILD/zip30' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WqExDF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 + cd zip30 + mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin + mkdir -p /usr/share/man/man1 + make -f unix/Makefile prefix=/builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr MANDIR=/builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1 install + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0-24.fc31 --unique-debug-suffix -3.0-24.fc31.riscv64 --unique-debug-src-base zip-3.0-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/zip30 BUILDSTDERR: 2007 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/zip-3.0-24.fc31.riscv64/usr/bin cp -p zip zipcloak zipnote zipsplit /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin cd /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin; chmod 755 zip zipcloak zipnote zipsplit mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1 cp -p man/zip.1 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zip.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zip.1 cp -p man/zipcloak.1 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipcloak.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipcloak.1 cp -p man/zipnote.1 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipnote.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipnote.1 cp -p man/zipsplit.1 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipsplit.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/man/man1/zipsplit.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipsplit explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zip explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipnote explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipcloak extracting debug info from /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipsplit extracting debug info from /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zip extracting debug info from /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipnote extracting debug info from /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/bin/zipcloak original debug info size: 1948kB, size after compression: 1764kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Processing files: zip-3.0-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XKOaEI + umask 022 + cd /builddir/build/BUILD + cd zip30 + DOCDIR=/builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr README /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr CHANGES /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr TODO /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr WHATSNEW /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr WHERE /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr README.CR /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + cp -pr proginfo/algorith.txt /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/doc/zip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Bw0QhH + umask 022 + cd /builddir/build/BUILD + cd zip30 + LICENSEDIR=/builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/licenses/zip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/licenses/zip + cp -pr LICENSE /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64/usr/share/licenses/zip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: zip = 3.0-24.fc31 zip(riscv-64) = 3.0-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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: zip-debugsource-3.0-24.fc31.riscv64 Provides: zip-debugsource = 3.0-24.fc31 zip-debugsource(riscv-64) = 3.0-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: zip-debuginfo-3.0-24.fc31.riscv64 Provides: debuginfo(build-id) = 04655ba15db778305563cd179e7b0888677b8858 debuginfo(build-id) = 049516824a36f457d9d3f80272e75a84427436e4 debuginfo(build-id) = 28e9e6ec352792bc12239a61e87ad406544b8b0f debuginfo(build-id) = 35a873d82323fcc32543c147c1c0d6896828b6f6 zip-debuginfo = 3.0-24.fc31 zip-debuginfo(riscv-64) = 3.0-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: zip-debugsource(riscv-64) = 3.0-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 Wrote: /builddir/build/RPMS/zip-3.0-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/zip-debugsource-3.0-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/zip-debuginfo-3.0-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TLDFEG + umask 022 + cd /builddir/build/BUILD + cd zip30 + /usr/bin/rm -rf /builddir/build/BUILDROOT/zip-3.0-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0