Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/fedora-37-x86_64-1666937996.001344/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '00845e998ce9484994630899c9174e74', '-D', '/var/lib/mock/fedora-37-x86_64-1666937996.001344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/zip-3.0-33.fc37_clang15_12.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/var/lib/mock/fedora-37-x86_64-1666937996.001344/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '4a97effd974644afba2dca1eeeb01fe2', '-D', '/var/lib/mock/fedora-37-x86_64-1666937996.001344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s5zd4i10:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uPrV2f + 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 + /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). Patch #4 (man.patch): + echo '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 + '[' -e /usr/lib/rpm/clang/zip-run ']' + bash /usr/lib/rpm/clang/zip-run + find . -iname Makefile -exec sed -i -e s/CC=gcc/CC=clang/g '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Nd4AhO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + export PATH=/usr/lib/rpm/clang/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/lib/rpm/clang/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cd zip30 + /usr/bin/make -O -j2 V=1 VERBOSE=1 -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' generic sh unix/configure "cc" "-I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 /usr/bin/make -f unix/Makefile zips `cat flags` make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zip.c:239:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int finish(e) ^ zip.c:239:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ziperr(c, h) ^ zip.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void error(h) ^ zip.c:448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void handler(s) ^ zip.c:448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage_nl(a, nl) ^ zip.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage(a, b) ^ zip.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipwarn(a, b) ^ zip.c:1282:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int check_unzip_version(unzippath) ^ zip.c:1282:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:1326:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void check_zipfile(zipname, zippath) ^ zip.c:1326:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:1531:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_filter(flag, pattern) ^ zip.c:1531:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local long add_name(filearg) ^ zip.c:1646:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zip.c:1786:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int encr_passwd(modeflag, pwbuf, size, zfn) ^ zip.c:1825:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rename_split(temp_name, out_path) ^ zip.c:1845:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_filetype(out_path) ^ zip.c:2119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ zip.c:2119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 22 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipup.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int is_seekable(y) ^ zipup.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int percent(n, m) ^ zipup.c:303:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int suffixes(a, s) ^ zipup.c:303:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipup.c:388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zipup(z) ^ zipup.c:1149:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned file_read(buf, size) ^ zipup.c:1264:10: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ ^~~~~~~~~~~~~~~~~~~~ ./unix/zipup.h:21:22: note: expanded from macro 'zread' #define zread(f,b,n) read(f,b,n) ^~~~ ~~~~~ zipup.c:1149:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned file_read(buf, size) ^ zipup.c:1386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void flush_outbuf(o_buf, o_idx) ^ zipup.c:1417:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local zoff_t filecompress(z_entry, cmpr_method) ^ zipup.c:1417:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipup.c:1669:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int bz_compress_init(pack_level) ^ zipup.c:1724:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local zoff_t bzfilecompress(z_entry, cmpr_method) ^ zipup.c:1724:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 14 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zqcmp(a, b) ^ zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zuqcmp(a, b) ^ zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:275:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int rqcmp(a, b) ^ zipfile.c:275:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:285:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zbcmp(n, z) ^ zipfile.c:285:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:295:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zubcmp(n, z) ^ zipfile.c:295:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:333:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct zlist far *zsearch(n) ^ zipfile.c:361:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ziptyp(s) ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_ulong_to_mem(uValue, pPtr) ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_int64_to_mem(l64Value,pPtr) ^ zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_string_to_mem(strValue, pPtr) ^ zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_ulong_to_mem(uValue, pPtr, offset, blocksize) ^ zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_int64_to_mem(l64Value, pPtr, offset, blocksize) ^ zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_string_to_mem(strValue, strLength, pPtr, offset, blocksize) ^ zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:715:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *copy_nondup_extra_fields(oldExtra, oldExtraLen, newExtra, newExtraLen, newLen) ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void read_Unicode_Path_entry(pZipListEntry) ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void read_Unicode_Path_local_entry(pZipListEntry) ^ zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void adjust_zip_central_entry(pZipListEntry) ^ zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int adjust_zip_local_entry(pZipListEntry) ^ zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_central_zip64_extra_field(pZipListEntry) ^ zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_local_zip64_extra_field(pZEntry) ^ zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_Unicode_Path_local_extra_field(pZEntry) ^ zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_Unicode_Path_cen_extra_field(pZEntry) ^ zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1692:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zoff_t ffile_size( file) ^ zipfile.c:1766:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void zipoddities(z) ^ zipfile.c:1766:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:2159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int readlocal(localz, z) ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int find_next_signature(f) ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int find_signature(f, signature) ^ zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int is_signature(sig1, sig2) ^ zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int at_signature(f, signature) ^ zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:5271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putlocal(z, rewrite) ^ zipfile.c:5509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putextended(z) ^ zipfile.c:5610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putcentral(z) ^ zipfile.c:6003:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zipcopy(z) ^ zipfile.c:6544:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int ef_scan_ut_time(ef_buf, ef_len, ef_is_cent, z_utim) ^ zipfile.c:6544:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:6661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_ef_ut_ztime(z, z_utim) ^ zipfile.c:6685:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void cutpath(p, delim) ^ zipfile.c:6685:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 62 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' util.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int fseekable( fp) ^ util.c:92:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *isshexp(p) ^ util.c:274:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int recmatch(p, s, cs) ^ util.c:274:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] util.c:489:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int shmatch(p, s, cs) ^ util.c:566:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zvoid far **search(b, a, n, cmp) ^ util.c:666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int namecmp(string1, string2) ^ util.c:807:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void envargs(Pargc, Pargv, envstr, envstr2) ^ util.c:909:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int count_args(s) ^ util.c:909:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] util.c:968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void expand_args(argcp, argvp) ^ util.c:1022:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int is_text_buf(buf_ptr, buf_size) ^ util.c:1105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zip_fzofft( val, pre, post) ^ util.c:1154:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zip_fuzofft( val, pre, post) ^ util.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int DisplayNumString(file, i) ^ util.c:1225:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uzoff_t ReadNumString( numstring ) ^ util.c:1289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int WriteNumString( num, outstring ) ^ util.c:1415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int abbrevmatch (matchstring, abbrev, case_sensitive, minmatch) ^ 18 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' crypt.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int update_keys(__G__ c) ^ ./crypt.h:110:28: note: expanded from macro 'update_keys' # define update_keys zp_update_keys ^ crypt.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_keys(__G__ passwd) ^ ./crypt.h:111:28: note: expanded from macro 'init_keys' # define init_keys zp_init_keys ^ crypt.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void crypthead(passwd, crc) ^ crypt.c:455:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned zfwrite(buf, item_size, nb) ^ 4 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' ttyio.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Echoff(__G__ f) ^ ttyio.c:599:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getp(__G__ m, p, n) ^ ttyio.c:628:13: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] read(f, &c, 1); ^~~~ ~~~~~~~~ 3 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' unix/unix.c:96:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local char *readd(d) ^ unix/unix.c:96:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unix/unix.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int procname(n, caseflag) ^ unix/unix.c:228:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ex2in(x, isdir, pdosflag) ^ unix/unix.c:285:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *in2ex(n) ^ unix/unix.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void stamp(f, d) ^ unix/unix.c:327:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg filetime(f, a, n, t) ^ unix/unix.c:438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_new_unix_extra_field(z, s) ^ unix/unix.c:565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_extra_field(z, z_utim) ^ unix/unix.c:689:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int deletedir(d) ^ 10 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' fileio.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getnam(fp) ^ fileio.c:147:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct flist far *fexpel(f) ^ fileio.c:181:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int fqcmp(a, b) ^ fileio.c:181:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:189:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int fqcmpz(a, b) ^ fileio.c:189:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:197:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *last(p, c) ^ fileio.c:254:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *msname(n) ^ fileio.c:311:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar_t *msnamew(nw) ^ fileio.c:369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int proc_archive_name(n, caseflag) ^ fileio.c:495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int filter(name, casesensitive) ^ fileio.c:851:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int newname(name, isdir, casesensitive) ^ fileio.c:1074:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg dostime(y, n, d, h, m, s) ^ fileio.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg unix2dostime(t) ^ fileio.c:1112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int issymlnk(a) ^ fileio.c:1152:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] time_t dos2unixtime(dostime) ^ fileio.c:1180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int destroy(f) ^ fileio.c:1188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int replace(d, s) ^ fileio.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getfileattr(f) ^ fileio.c:1306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setfileattr(f, a) ^ fileio.c:1327:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *tempname(zip) ^ fileio.c:1503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int fcopy(f, g, n) ^ fileio.c:1560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bfcopy(n) ^ fileio.c:2033:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ask_for_split_read_path(current_disk) ^ fileio.c:2120:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ask_for_split_write_path(current_disk) ^ fileio.c:2324:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, FNMAX, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~ fileio.c:2413:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *get_in_split_path(base_path, disk_number) ^ fileio.c:2484:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *get_out_split_path(base_path, disk_number) ^ fileio.c:2545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int close_split(disk_number, tempfile, temp_name) ^ fileio.c:2568:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size_t bfwrite(buffer, size, count, mode) ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_char_bytes(utf8) ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long ucs4_char_from_utf8(utf8) ^ fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_from_ucs4_char(utf8buf, ch) ^ fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_to_ucs4_string(utf8, ucs4buf, buflen) ^ fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int ucs4_string_to_utf8(ucs4, utf8buf, buflen) ^ fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:3100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int is_ascii_string(mbstring) ^ fileio.c:3118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_utf8_string(local_string) ^ fileio.c:3150:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_char_to_escape_string(wide_char) ^ fileio.c:3249:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_escape_string(local_string) ^ fileio.c:3275:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_local_string(wide_string) ^ fileio.c:3354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_escape_string(wide_string) ^ fileio.c:3395:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_display_string(local_string) ^ fileio.c:3465:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *utf8_to_local_string(utf8_string) ^ fileio.c:3476:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *utf8_to_escape_string(utf8_string) ^ fileio.c:3487:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zwchar *local_to_wide_string(local_string) ^ fileio.c:3542:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_utf8_string(wide_string) ^ fileio.c:3563:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zwchar *utf8_to_wide_string(utf8_string) ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int optionerr(buf, err, optind, islong) ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:3775:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char **copy_args(args, max_args) ^ fileio.c:3812:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int free_args(args) ^ fileio.c:3839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int insert_arg(pargs, arg, at_arg, free_args) ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long get_shortopt(args, argnum, optchar, negated, value, ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long get_longopt(args, argnum, optchar, negated, value, ^ fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:4548:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long get_option(pargs, argc, argnum, optchar, value, ^ 64 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' crc32.c:680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg crc32(crc, buf, len) ^ 1 warning generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zbz2err.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bz_internal_error(errcode) ^ 1 warning generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' deflate.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lm_init (pack_level, flags) ^ deflate.c:416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int longest_match(cur_match) ^ 2 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipcloak.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_filetype(out_path) ^ zipcloak.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rename_split(temp_name, out_path) ^ zipcloak.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage_nl(a, nl) ^ zipcloak.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage(a, b) ^ zipcloak.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ziperr(code, msg) ^ zipcloak.c:155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipwarn(msg1, msg2) ^ zipcloak.c:166:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void handler(sig) ^ zipcloak.c:166:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipcloak.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ zipcloak.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 10 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' trees.c:472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ct_init(attr, method) ^ trees.c:603:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void pqdownheap(tree, k) ^ trees.c:603:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:639:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void gen_bitlen(desc) ^ trees.c:639:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:724:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void gen_codes (tree, max_code) ^ trees.c:724:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:765:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void build_tree(desc) ^ trees.c:765:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:852:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void scan_tree (tree, max_code) ^ trees.c:852:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:896:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void send_tree (tree, max_code) ^ trees.c:896:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:979:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void send_all_trees(lcodes, dcodes, blcodes) ^ trees.c:979:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1014:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uzoff_t flush_block(buf, stored_len, eof) ^ trees.c:1144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ct_tally (dist, lc) ^ trees.c:1197:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void compress_block(ltree, dtree) ^ trees.c:1197:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bi_init (tgt_buf, tgt_size, flsh_allowed) ^ trees.c:1323:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void send_bits(value, length) ^ trees.c:1323:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1351:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned bi_reverse(code, len) ^ trees.c:1351:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trees.c:1425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void copy_block(block, len, header) ^ trees.c:1425:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 26 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' fileio.c:1180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int destroy(f) ^ fileio.c:1188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int replace(d, s) ^ fileio.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getfileattr(f) ^ fileio.c:1306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setfileattr(f, a) ^ fileio.c:1327:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *tempname(zip) ^ fileio.c:1503:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int fcopy(f, g, n) ^ fileio.c:1560:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bfcopy(n) ^ fileio.c:2033:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ask_for_split_read_path(current_disk) ^ fileio.c:2120:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, SPLIT_MAXPATH, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2279:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ask_for_split_write_path(current_disk) ^ fileio.c:2324:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(buf, FNMAX, stdin); ^~~~~ ~~~~~~~~~~~~~~~~~ fileio.c:2413:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *get_in_split_path(base_path, disk_number) ^ fileio.c:2484:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *get_out_split_path(base_path, disk_number) ^ fileio.c:2545:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int close_split(disk_number, tempfile, temp_name) ^ fileio.c:2568:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size_t bfwrite(buffer, size, count, mode) ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_char_bytes(utf8) ^ fileio.c:2860:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long ucs4_char_from_utf8(utf8) ^ fileio.c:2902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_from_ucs4_char(utf8buf, ch) ^ fileio.c:2929:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int utf8_to_ucs4_string(utf8, ucs4buf, buflen) ^ fileio.c:2968:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int ucs4_string_to_utf8(ucs4, utf8buf, buflen) ^ fileio.c:2996:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:3100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int is_ascii_string(mbstring) ^ fileio.c:3118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_utf8_string(local_string) ^ fileio.c:3150:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_char_to_escape_string(wide_char) ^ fileio.c:3249:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_escape_string(local_string) ^ fileio.c:3275:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_local_string(wide_string) ^ fileio.c:3354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_escape_string(wide_string) ^ fileio.c:3395:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *local_to_display_string(local_string) ^ fileio.c:3465:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *utf8_to_local_string(utf8_string) ^ fileio.c:3476:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *utf8_to_escape_string(utf8_string) ^ fileio.c:3487:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zwchar *local_to_wide_string(local_string) ^ fileio.c:3542:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *wide_to_utf8_string(wide_string) ^ fileio.c:3563:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zwchar *utf8_to_wide_string(utf8_string) ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int optionerr(buf, err, optind, islong) ^ fileio.c:3739:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:3775:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char **copy_args(args, max_args) ^ fileio.c:3812:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int free_args(args) ^ fileio.c:3839:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int insert_arg(pargs, arg, at_arg, free_args) ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long get_shortopt(args, argnum, optchar, negated, value, ^ fileio.c:3933:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local unsigned long get_longopt(args, argnum, optchar, negated, value, ^ fileio.c:4170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:4548:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long get_option(pargs, argc, argnum, optchar, value, ^ 48 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zqcmp(a, b) ^ zipfile.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int zuqcmp(a, b) ^ zipfile.c:255:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:361:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ziptyp(s) ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_ulong_to_mem(uValue, pPtr) ^ zipfile.c:469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_int64_to_mem(l64Value,pPtr) ^ zipfile.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void write_string_to_mem(strValue, pPtr) ^ zipfile.c:492:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_ulong_to_mem(uValue, pPtr, offset, blocksize) ^ zipfile.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_int64_to_mem(l64Value, pPtr, offset, blocksize) ^ zipfile.c:607:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void append_string_to_mem(strValue, strLength, pPtr, offset, blocksize) ^ zipfile.c:636:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:715:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *copy_nondup_extra_fields(oldExtra, oldExtraLen, newExtra, newExtraLen, newLen) ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void read_Unicode_Path_entry(pZipListEntry) ^ zipfile.c:783:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void read_Unicode_Path_local_entry(pZipListEntry) ^ zipfile.c:887:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void adjust_zip_central_entry(pZipListEntry) ^ zipfile.c:997:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int adjust_zip_local_entry(pZipListEntry) ^ zipfile.c:1045:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_central_zip64_extra_field(pZipListEntry) ^ zipfile.c:1080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_local_zip64_extra_field(pZEntry) ^ zipfile.c:1322:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_Unicode_Path_local_extra_field(pZEntry) ^ zipfile.c:1416:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int add_Unicode_Path_cen_extra_field(pZEntry) ^ zipfile.c:1548:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:1692:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zoff_t ffile_size( file) ^ zipfile.c:2159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int readlocal(localz, z) ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int find_next_signature(f) ^ zipfile.c:2955:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int find_signature(f, signature) ^ zipfile.c:3034:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int is_signature(sig1, sig2) ^ zipfile.c:3080:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int at_signature(f, signature) ^ zipfile.c:3128:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipfile.c:5271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putlocal(z, rewrite) ^ zipfile.c:5509:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putextended(z) ^ zipfile.c:5610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int putcentral(z) ^ zipfile.c:6003:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zipcopy(z) ^ 48 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' util.c:666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int namecmp(string1, string2) ^ util.c:1105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zip_fzofft( val, pre, post) ^ util.c:1154:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zip_fuzofft( val, pre, post) ^ util.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int DisplayNumString(file, i) ^ util.c:1225:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uzoff_t ReadNumString( numstring ) ^ util.c:1289:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int WriteNumString( num, outstring ) ^ util.c:1415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int abbrevmatch (matchstring, abbrev, case_sensitive, minmatch) ^ 7 warnings generated. make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c crc32.c:680:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulg crc32(crc, buf, len) ^ 1 warning generated. make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c crypt.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int update_keys(__G__ c) ^ ./crypt.h:110:28: note: expanded from macro 'update_keys' # define update_keys zp_update_keys ^ crypt.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_keys(__G__ passwd) ^ ./crypt.h:111:28: note: expanded from macro 'init_keys' # define init_keys zp_init_keys ^ crypt.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void crypthead(passwd, crc) ^ crypt.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zipcloak(z, passwd) ^ crypt.c:333:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zipbare(z, passwd) ^ 5 warnings generated. make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c zipnote.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_filetype(out_path) ^ zipnote.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rename_split(temp_name, out_path) ^ zipnote.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage_nl(a, nl) ^ zipnote.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage(a, b) ^ zipnote.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ziperr(c, h) ^ zipnote.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void handler(s) ^ zipnote.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipnote.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipwarn(a, b) ^ zipnote.c:313:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void putclean(s, n) ^ zipnote.c:313:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipnote.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local char *zgetline(buf, size) ^ zipnote.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipnote.c:361:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int catalloc(a, s) ^ zipnote.c:361:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipnote.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ zipnote.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 16 warnings generated. make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -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[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c zipsplit.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int set_filetype(out_path) ^ zipsplit.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rename_split(temp_name, out_path) ^ zipsplit.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage_nl(a, nl) ^ zipsplit.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipmessage(a, b) ^ zipsplit.c:183:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local zvoid *talloc(s) ^ zipsplit.c:183:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:196:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void tfree(p) ^ zipsplit.c:196:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ziperr(c, h) ^ zipsplit.c:249:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local void handler(s) ^ zipsplit.c:249:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zipwarn(a, b) ^ zipsplit.c:356:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local extent simple(a, n, c, d) ^ zipsplit.c:356:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:384:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local int descmp(a, b) ^ zipsplit.c:384:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:393:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local extent greedy(a, n, c, d) ^ zipsplit.c:393:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zipsplit.c:496:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(m, 10, stdin); ^~~~~ ~~~~~~~~~~~~ zipsplit.c:502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ zipsplit.c:884:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fgets(m, 10, stdin); ^~~~~ ~~~~~~~~~~~~ zipsplit.c:502:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 22 warnings generated. make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2 make[1]: Leaving directory '/builddir/build/BUILD/zip30' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CKYy4I + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 ++ dirname /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 + export PATH=/usr/lib/rpm/clang/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/lib/rpm/clang/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd zip30 + mkdir -p /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin + mkdir -p /usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 'INSTALL=/usr/bin/install -p' -f unix/Makefile prefix=/builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr MANDIR=/builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin cp -p zip zipcloak zipnote zipsplit /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin cd /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin; chmod 755 zip zipcloak zipnote zipsplit mkdir -p /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1 cp -p man/zip.1 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zip.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zip.1 cp -p man/zipcloak.1 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipcloak.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipcloak.1 cp -p man/zipnote.1 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipnote.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipnote.1 cp -p man/zipsplit.1 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipsplit.1 chmod 644 /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/man/man1/zipsplit.1 + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipsplit error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipsplit built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipnote error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipnote built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipcloak error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipcloak built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zip [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zip built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.0-33.fc37_clang15_12 --unique-debug-suffix -3.0-33.fc37_clang15_12.x86_64 --unique-debug-src-base zip-3.0-33.fc37_clang15_12.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/zip30 extracting debug info from /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipcloak extracting debug info from /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zip extracting debug info from /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipnote extracting debug info from /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipsplit original debug info size: 1040kB, size after compression: 960kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 2007 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipsplit-3.0-33.fc37_clang15_12.x86_64.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipsplit-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipnote-3.0-33.fc37_clang15_12.x86_64.debug error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipnote-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipcloak-3.0-33.fc37_clang15_12.x86_64.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipcloak-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zip-3.0-33.fc37_clang15_12.x86_64.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zip-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipsplit error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipsplit-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipnote error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipnote-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zipcloak error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zipcloak-3.0-33.fc37_clang15_12.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/bin/zip error: write on a pipe with no reader [ 2e] clang version 15.0.0 (Fedora 15.0.0-2.fc37) /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/lib/debug/usr/bin/zip-3.0-33.fc37_clang15_12.x86_64.debug built with clang + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: zip-3.0-33.fc37_clang15_12.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5Cfid3 + umask 022 + cd /builddir/build/BUILD + cd zip30 + DOCDIR=/builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr README /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr CHANGES /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr TODO /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr WHATSNEW /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr WHERE /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr README.CR /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + cp -pr proginfo/algorith.txt /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/doc/zip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gi1fDR + umask 022 + cd /builddir/build/BUILD + cd zip30 + LICENSEDIR=/builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/licenses/zip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/licenses/zip + cp -pr LICENSE /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64/usr/share/licenses/zip + RPM_EC=0 ++ jobs -p + exit 0 Provides: zip = 3.0-33.fc37_clang15_12 zip(x86-64) = 3.0-33.fc37_clang15_12 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: zip-debugsource-3.0-33.fc37_clang15_12.x86_64 Provides: zip-debugsource = 3.0-33.fc37_clang15_12 zip-debugsource(x86-64) = 3.0-33.fc37_clang15_12 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-33.fc37_clang15_12.x86_64 Provides: debuginfo(build-id) = ceafdeb5f87bee59f115697c482de71fd80e30fe debuginfo(build-id) = e264e45878669331808c4a3b176b246fa6f487aa debuginfo(build-id) = f689051278ab97c1abc399dff83e6fbdcbdbc7cc debuginfo(build-id) = fcc3889d11815d865609c5d605dbf2272a738f0b zip-debuginfo = 3.0-33.fc37_clang15_12 zip-debuginfo(x86-64) = 3.0-33.fc37_clang15_12 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: zip-debugsource(x86-64) = 3.0-33.fc37_clang15_12 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 Wrote: /builddir/build/RPMS/zip-debuginfo-3.0-33.fc37_clang15_12.x86_64.rpm Wrote: /builddir/build/RPMS/zip-debugsource-3.0-33.fc37_clang15_12.x86_64.rpm Wrote: /builddir/build/RPMS/zip-3.0-33.fc37_clang15_12.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uJUpTI + umask 022 + cd /builddir/build/BUILD + cd zip30 + /usr/bin/rm -rf /builddir/build/BUILDROOT/zip-3.0-33.fc37_clang15_12.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.SXbGbg + umask 022 + cd /builddir/build/BUILD + rm -rf zip30 zip30.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0