Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/f40-build-781573-131704/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c45f2fcf1c024ef9a0e49b17de8aa552', '-D', '/var/lib/mock/f40-build-781573-131704/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/zip-3.0-40.fc40.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/f40-build-781573-131704/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9e09f7f0e44f40b2a0620ea708444d1e', '-D', '/var/lib/mock/f40-build-781573-131704/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l5078wob:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zr0y3r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zip30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zip30.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zip30 + rm -rf /builddir/build/BUILD/zip30-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/zip30-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (zip-3.0-exec-shield.patch):' Patch #1 (zip-3.0-exec-shield.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .exec-shield --fuzz=0 patching file crc_i386.S patching file match.S + echo 'Patch #2 (zip-3.0-currdir.patch):' Patch #2 (zip-3.0-currdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .currdir --fuzz=0 patching file util.c + echo 'Patch #3 (zip-3.0-time.patch):' Patch #3 (zip-3.0-time.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .time --fuzz=0 patching file unix/Makefile Hunk #1 succeeded at 29 (offset 5 lines). + echo 'Patch #4 (man.patch):' Patch #4 (man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0 patching file man/zipsplit.1 patching file man/zipnote.1 Patch #5 (zip-3.0-format-security.patch): + echo 'Patch #5 (zip-3.0-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file zip.c Patch #6 (zipnote.patch): + echo 'Patch #6 (zipnote.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .zipnote --fuzz=0 patching file zipnote.c Patch #7 (zip-gnu89-build.patch): patching file unix/Makefile + echo 'Patch #7 (zip-gnu89-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gnu89-build --fuzz=0 Patch #8 (buffer_overflow.patch): + echo 'Patch #8 (buffer_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fileio.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ohQnl9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zip30 + /usr/bin/make -O -j64 V=1 VERBOSE=1 -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' generic_gcc /usr/bin/make -f unix/Makefile generic CC="gcc -std=gnu89" CPP="gcc -E" make[1]: Entering directory '/builddir/build/BUILD/zip30' sh unix/configure "gcc -std=gnu89" "-I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer" "" 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 make[1]: Leaving directory '/builddir/build/BUILD/zip30' eval /usr/bin/make -f unix/Makefile zips `cat flags` make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o unix/unix.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' ttyio.c: In function ‘getp’: ttyio.c:628:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 628 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c zipup.c: In function ‘zipup’: zipup.c:403:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] 403 | zoff_t o = 0, p; /* offsets in zip file */ | ^ zipup.c: In function ‘bz_compress_init’: zipup.c:1674:17: warning: variable ‘bzlibVer’ set but not used [-Wunused-but-set-variable] 1674 | const char *bzlibVer; | ^~~~~~~~ In file included from zipup.c:109: zipup.c: In function ‘file_read’: unix/zipup.h:21:22: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | #define zread(f,b,n) read(f,b,n) | ^~~~~~~~~~~ zipup.c:1264:10: note: in expansion of macro ‘zread’ 1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ | ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c zipsplit.c: In function ‘main’: zipsplit.c:884:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 884 | fgets(m, 10, stdin); | ^~~~~~~~~~~~~~~~~~~ zipsplit.c: In function ‘retry’: zipsplit.c:496:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 496 | fgets(m, 10, stdin); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c fileio.c: In function ‘wide_to_local_string’: fileio.c:3281:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 3281 | int state_dependent; | ^~~~~~~~~~~~~~~ fileio.c: In function ‘ask_for_split_read_path’: fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2120 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2143 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘ask_for_split_write_path’: fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2324 | fgets(buf, FNMAX, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: At top level: fileio.c:3727:24: warning: ‘no_arg_files_err’ defined but not used [-Wunused-const-variable=] 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; | ^~~~~~~~~~~~~~~~ fileio.c: In function ‘wide_to_local_string’: fileio.c:3318:9: warning: ‘__builtin___strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 3318 | strncat(buffer, buf, b); | ^ make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' fileio.c: In function ‘wide_to_local_string’: fileio.c:3281:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable] 3281 | int state_dependent; | ^~~~~~~~~~~~~~~ fileio.c: In function ‘ask_for_split_read_path’: fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2120 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2143 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘ask_for_split_write_path’: fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2324 | fgets(buf, FNMAX, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: At top level: fileio.c:3727:24: warning: ‘no_arg_files_err’ defined but not used [-Wunused-const-variable=] 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; | ^~~~~~~~~~~~~~~~ fileio.c: In function ‘wide_to_local_string’: fileio.c:3318:9: warning: ‘__builtin___strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] 3318 | strncat(buffer, buf, b); | ^ make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c: In function ‘ffile_size’: zipfile.c:1696:10: warning: variable ‘siz’ set but not used [-Wunused-but-set-variable] 1696 | size_t siz; | ^~~ zipfile.c: In function ‘scanzipf_regnew’: zipfile.c:4030:11: warning: variable ‘version_made’ set but not used [-Wunused-but-set-variable] 4030 | ush version_made; | ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable ‘z64eocdr_size’ set but not used [-Wunused-but-set-variable] 4029 | uzoff_t z64eocdr_size; | ^~~~~~~~~~~~~ In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putlocal’ at zipfile.c:5423:3: zipfile.c:465:11: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putlocal’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5698:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5698:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5699:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5699:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5700:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5700:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5711:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5711:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘write_ulong_to_mem’ at zipfile.c:473:3, inlined from ‘write_int64_to_mem’ at zipfile.c:484:3, inlined from ‘append_int64_to_mem’ at zipfile.c:629:3, inlined from ‘putend’ at zipfile.c:5862:5: zipfile.c:465:11: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putend’: cc1: note: destination object is likely at address zero make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -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[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2 make[2]: Leaving directory '/builddir/build/BUILD/zip30' make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c: In function ‘ffile_size’: zipfile.c:1696:10: warning: variable ‘siz’ set but not used [-Wunused-but-set-variable] 1696 | size_t siz; | ^~~ zipfile.c: In function ‘readlocal’: zipfile.c:2168:11: warning: variable ‘start_offset’ set but not used [-Wunused-but-set-variable] 2168 | uzoff_t start_offset = 0; | ^~~~~~~~~~~~ zipfile.c: In function ‘scanzipf_fixnew’: zipfile.c:3225:11: warning: variable ‘in_cd_start_offset’ set but not used [-Wunused-but-set-variable] 3225 | uzoff_t in_cd_start_offset; /* offset of start of cd on cd start disk */ | ^~~~~~~~~~~~~~~~~~ zipfile.c:3223:11: warning: variable ‘cd_total_entries’ set but not used [-Wunused-but-set-variable] 3223 | uzoff_t cd_total_entries = 0; /* number of entries according to EOCDR */ | ^~~~~~~~~~~~~~~~ zipfile.c: In function ‘scanzipf_regnew’: zipfile.c:4030:11: warning: variable ‘version_made’ set but not used [-Wunused-but-set-variable] 4030 | ush version_made; | ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable ‘z64eocdr_size’ set but not used [-Wunused-but-set-variable] 4029 | uzoff_t z64eocdr_size; | ^~~~~~~~~~~~~ In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putlocal’ at zipfile.c:5423:3: zipfile.c:465:11: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putlocal’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5698:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5698:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5699:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5699:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5700:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5700:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5711:3: zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3, inlined from ‘putcentral’ at zipfile.c:5711:3: zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | *pPtr = ((char)(usValue >> 8) & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putcentral’: cc1: note: destination object is likely at address zero In function ‘write_ushort_to_mem’, inlined from ‘write_ulong_to_mem’ at zipfile.c:473:3, inlined from ‘write_int64_to_mem’ at zipfile.c:484:3, inlined from ‘append_int64_to_mem’ at zipfile.c:629:3, inlined from ‘putend’ at zipfile.c:5862:5: zipfile.c:465:11: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 465 | *pPtr++ = ((char)(usValue) & 0xff); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘putend’: cc1: note: destination object is likely at address zero zipfile.c: In function ‘scanzipf_fixnew’: zipfile.c:3638:14: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 3638 | *x = z; | ~~~^~~ zipfile.c:3217:27: note: ‘x’ was declared here 3217 | struct zlist far * far *x; /* pointer last entry's link */ | ^ make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c make[2]: Leaving directory '/builddir/build/BUILD/zip30' In file included from /usr/include/string.h:548, from tailor.h:238, from zip.h:88, from zip.c:16: In function ‘strcat’, inlined from ‘check_zipfile.isra’ at zip.c:1466:7: /usr/include/bits/string_fortified.h:130:10: warning: ‘__builtin___memcpy_chk’ writing 2 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/zip30' gcc -std=gnu89 -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 make[2]: Leaving directory '/builddir/build/BUILD/zip30' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AZ1QFG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zip30 + mkdir -p /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/bin + mkdir -p /usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 'INSTALL=/usr/bin/install -p' -f unix/Makefile prefix=/builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr MANDIR=/builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/bin cp -p zip zipcloak zipnote zipsplit /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/bin cd /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/bin; chmod 755 zip zipcloak zipnote zipsplit mkdir -p /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1 cp -p man/zip.1 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zip.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zip.1 cp -p man/zipcloak.1 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipcloak.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipcloak.1 cp -p man/zipnote.1 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipnote.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipnote.1 cp -p man/zipsplit.1 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipsplit.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/man/man1/zipsplit.1 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 3.0-40.fc40 --unique-debug-suffix -3.0-40.fc40.riscv64 --unique-debug-src-base zip-3.0-40.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/zip30 find-debuginfo: starting Extracting debug info from 4 files DWARF-compressing 4 files sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/zip-3.0-40.fc40.riscv64 2007 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: zip-3.0-40.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ho6jW6 + umask 022 + cd /builddir/build/BUILD + cd zip30 + DOCDIR=/builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/README /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/CHANGES /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/TODO /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/WHATSNEW /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/WHERE /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/README.CR /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + cp -pr /builddir/build/BUILD/zip30/proginfo/algorith.txt /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/doc/zip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9IlNxZ + umask 022 + cd /builddir/build/BUILD + cd zip30 + LICENSEDIR=/builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/licenses/zip + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/licenses/zip + cp -pr /builddir/build/BUILD/zip30/LICENSE /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64/usr/share/licenses/zip + RPM_EC=0 ++ jobs -p + exit 0 Provides: zip = 3.0-40.fc40 zip(riscv-64) = 3.0-40.fc40 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: zip-debugsource-3.0-40.fc40.riscv64 Provides: zip-debugsource = 3.0-40.fc40 zip-debugsource(riscv-64) = 3.0-40.fc40 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-40.fc40.riscv64 Provides: debuginfo(build-id) = 349319f9ee0b34c7a9f8ea41d41454159f204a6d debuginfo(build-id) = 9586ed003b4c64e8f8250500f5339a166fa2cdfa debuginfo(build-id) = 9b1b42d6cf96802170ba6ccdcdf2a876164cb137 debuginfo(build-id) = a0829fc92f5d73abd26fec159432743d83bead97 zip-debuginfo = 3.0-40.fc40 zip-debuginfo(riscv-64) = 3.0-40.fc40 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-40.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zip-3.0-40.fc40.riscv64 Wrote: /builddir/build/RPMS/zip-3.0-40.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/zip-debuginfo-3.0-40.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/zip-debugsource-3.0-40.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0