Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-473221-74119/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1671667200 Wrote: /builddir/build/SRPMS/zip-3.0-24.an23_rva23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-473221-74119/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1671667200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FZ5BP2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zip30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zip-3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zip30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-zip-3.0-format-security.patch):' Patch #1 (0001-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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WmvL2P + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zip30 + /usr/bin/make -O -j64 V=1 VERBOSE=1 -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' generic sh unix/configure "cc" "-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d" "" 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC globals.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from globals.c:21: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: globals.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o unix_.o unix/unix.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from unix/unix.c:11: ./zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from ./unix/osdep.h:30, from ./tailor.h:93, from ./zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ ./zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ./zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from ./tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:120: unix_.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zbz2err.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zbz2err.c:32: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: zbz2err.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC ttyio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from ttyio.c:31: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ ttyio.c: In function 'getp': ttyio.c:628:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 628 | read(f, &c, 1); | ^~~~~~~~~~~~~~ make[1]: *** [unix/Makefile:86: ttyio.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o crc32_.o crc32.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC crc32.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from crc32.c:24: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:83: crc32_.o] Error 1 In file included from crc32.c:24: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: crc32.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o crypt_.o crypt.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC deflate.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from crypt.c:33: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:83: crypt_.o] Error 1 In file included from deflate.c:72: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: deflate.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zipcloak.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o util_.o util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC crypt.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zipcloak.c:24: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: zipcloak.o] Error 1 In file included from util.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ In file included from util.c:28: timezone.c: In function 'mktime': timezone.c:644:18: error: invalid use of undefined type 'struct tm' 644 | save_isdst = tm->tm_isdst; | ^~ timezone.c:647:7: error: invalid use of undefined type 'struct tm' 647 | tm->tm_isdst = save_isdst; | ^~ timezone.c:661:11: error: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] 661 | ltm = localtime(&then); | ^~~~~~~~~ timezone.c:44:1: note: 'localtime' is defined in header ''; this is probably fixable by adding '#include ' 43 | #include +++ |+#include 44 | timezone.c:661:9: error: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 661 | ltm = localtime(&then); | ^ timezone.c:670:7: error: invalid use of undefined type 'struct tm' 670 | tm->tm_isdst = save_isdst; | ^~ timezone.c:675:12: error: invalid use of undefined type 'struct tm' 675 | if (ltm->tm_isdst && !save_isdst) | ^~ timezone.c:682:18: error: invalid use of undefined type 'struct tm' 682 | else if (!ltm->tm_isdst && save_isdst) | ^~ timezone.c:689:8: error: invalid use of undefined type 'struct tm' 689 | ltm->tm_isdst = save_isdst; | ^~ timezone.c:693:11: error: invalid use of undefined type 'struct tm' 693 | *tm = *ltm; | ^ timezone.c:693:9: error: invalid use of undefined type 'struct tm' 693 | *tm = *ltm; | ^ timezone.c: In function 'mkgmtime': timezone.c:747:13: error: invalid use of undefined type 'struct tm' 747 | years = tm->tm_year + TM_YEAR_BASE; /* year - 1900 -> year */ | ^~ timezone.c:748:14: error: invalid use of undefined type 'struct tm' 748 | months = tm->tm_mon; /* 0..11 */ | ^~ timezone.c:749:12: error: invalid use of undefined type 'struct tm' 749 | days = tm->tm_mday - 1; /* 1..31 -> 0..30 */ | ^~ timezone.c:750:13: error: invalid use of undefined type 'struct tm' 750 | hours = tm->tm_hour; /* 0..23 */ | ^~ timezone.c:751:15: error: invalid use of undefined type 'struct tm' 751 | minutes = tm->tm_min; /* 0..59 */ | ^~ timezone.c:752:15: error: invalid use of undefined type 'struct tm' 752 | seconds = tm->tm_sec; /* 0..61 in ANSI C. */ | ^~ timezone.c:776:5: error: invalid use of undefined type 'struct tm' 776 | tm->tm_year = years - TM_YEAR_BASE; | ^~ timezone.c:777:5: error: invalid use of undefined type 'struct tm' 777 | tm->tm_mon = months; | ^~ timezone.c:778:5: error: invalid use of undefined type 'struct tm' 778 | tm->tm_mday = days + 1; | ^~ timezone.c:779:5: error: invalid use of undefined type 'struct tm' 779 | tm->tm_hour = hours; | ^~ timezone.c:780:5: error: invalid use of undefined type 'struct tm' 780 | tm->tm_min = minutes; | ^~ timezone.c:781:5: error: invalid use of undefined type 'struct tm' 781 | tm->tm_sec = seconds; | ^~ timezone.c:785:5: error: invalid use of undefined type 'struct tm' 785 | tm->tm_yday = days; | ^~ timezone.c:790:5: error: invalid use of undefined type 'struct tm' 790 | tm->tm_wday = ((unsigned)days + EPOCH_WDAY) % 7; | ^~ timezone.c:791:5: error: invalid use of undefined type 'struct tm' 791 | tm->tm_isdst = 0; | ^~ timezone.c:800:11: error: invalid use of undefined type 'struct tm' 800 | (tm->tm_yday > (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) || | ^~ timezone.c:801:12: error: invalid use of undefined type 'struct tm' 801 | (tm->tm_yday == (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) && | ^~ make[1]: *** [unix/Makefile:83: util_.o] Error 1 In file included from crypt.c:33: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: crypt.o] Error 1 In file included from unix/unix.c:11: ./zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from ./unix/osdep.h:30, from ./tailor.h:93, from ./zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ ./zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ./zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from ./tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ unix/unix.c:70:14: error: conflicting types for 'DIR'; have 'FILE' 70 | typedef FILE DIR; | ^~~ In file included from unix/unix.c:29: /usr/include/dirent.h:127:28: note: previous declaration of 'DIR' with type 'DIR' 127 | typedef struct __dirstream DIR; | ^~~ unix/unix.c: In function 'readdir': unix/unix.c:79:6: error: argument 'dirp' doesn't match prototype 79 | DIR *dirp; | ^~~~ /usr/include/dirent.h:167:23: error: prototype declaration 167 | extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64) | ^~~~~~~~~~ unix/unix.c: In function 'readd': unix/unix.c:103:15: error: passing argument 1 of 'readdir' from incompatible pointer type [-Wincompatible-pointer-types] 103 | e = readdir(d); | ^ | | | DIR * {aka FILE *} unix/unix.c:79:6: note: expected 'DIR *' but argument is of type 'DIR *' {aka 'FILE *'} 79 | DIR *dirp; | ^~~~ unix/unix.c: In function 'procname': unix/unix.c:181:25: error: passing argument 1 of 'readd' from incompatible pointer type [-Wincompatible-pointer-types] 181 | while ((e = readd(d)) != NULL) { | ^ | | | DIR * {aka FILE *} unix/unix.c:97:6: note: expected 'DIR *' but argument is of type 'DIR *' {aka 'FILE *'} 97 | DIR *d; /* directory stream to read from */ | ^ make[1]: *** [unix/Makefile:117: unix.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC unix/unix.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zipup.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC util.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC trees.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zipup.c:21: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ zipup.c: In function 'zipup': zipup.c:403:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] 403 | zoff_t o = 0, p; /* offsets in zip file */ | ^ zipup.c: In function 'bz_compress_init': zipup.c:1674:17: warning: variable 'bzlibVer' set but not used [-Wunused-but-set-variable] 1674 | const char *bzlibVer; | ^~~~~~~~ In file included from zipup.c:109: zipup.c: In function 'file_read': unix/zipup.h:21:22: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | #define zread(f,b,n) read(f,b,n) | ^~~~~~~~~~~ zipup.c:1264:10: note: in expansion of macro 'zread' 1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ | ^~~~~ make[1]: *** [unix/Makefile:86: zipup.o] Error 1 In file included from util.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ In file included from util.c:28: timezone.c: In function 'mktime': timezone.c:644:18: error: invalid use of undefined type 'struct tm' 644 | save_isdst = tm->tm_isdst; | ^~ timezone.c:647:7: error: invalid use of undefined type 'struct tm' 647 | tm->tm_isdst = save_isdst; | ^~ timezone.c:661:11: error: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] 661 | ltm = localtime(&then); | ^~~~~~~~~ timezone.c:44:1: note: 'localtime' is defined in header ''; this is probably fixable by adding '#include ' 43 | #include +++ |+#include 44 | timezone.c:661:9: error: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 661 | ltm = localtime(&then); | ^ timezone.c:670:7: error: invalid use of undefined type 'struct tm' 670 | tm->tm_isdst = save_isdst; | ^~ timezone.c:675:12: error: invalid use of undefined type 'struct tm' 675 | if (ltm->tm_isdst && !save_isdst) | ^~ timezone.c:682:18: error: invalid use of undefined type 'struct tm' 682 | else if (!ltm->tm_isdst && save_isdst) | ^~ timezone.c:689:8: error: invalid use of undefined type 'struct tm' 689 | ltm->tm_isdst = save_isdst; | ^~ timezone.c:693:11: error: invalid use of undefined type 'struct tm' 693 | *tm = *ltm; | ^ timezone.c:693:9: error: invalid use of undefined type 'struct tm' 693 | *tm = *ltm; | ^ timezone.c: In function 'mkgmtime': timezone.c:747:13: error: invalid use of undefined type 'struct tm' 747 | years = tm->tm_year + TM_YEAR_BASE; /* year - 1900 -> year */ | ^~ timezone.c:748:14: error: invalid use of undefined type 'struct tm' 748 | months = tm->tm_mon; /* 0..11 */ | ^~ timezone.c:749:12: error: invalid use of undefined type 'struct tm' 749 | days = tm->tm_mday - 1; /* 1..31 -> 0..30 */ | ^~ timezone.c:750:13: error: invalid use of undefined type 'struct tm' 750 | hours = tm->tm_hour; /* 0..23 */ | ^~ timezone.c:751:15: error: invalid use of undefined type 'struct tm' 751 | minutes = tm->tm_min; /* 0..59 */ | ^~ timezone.c:752:15: error: invalid use of undefined type 'struct tm' 752 | seconds = tm->tm_sec; /* 0..61 in ANSI C. */ | ^~ timezone.c:776:5: error: invalid use of undefined type 'struct tm' 776 | tm->tm_year = years - TM_YEAR_BASE; | ^~ timezone.c:777:5: error: invalid use of undefined type 'struct tm' 777 | tm->tm_mon = months; | ^~ timezone.c:778:5: error: invalid use of undefined type 'struct tm' 778 | tm->tm_mday = days + 1; | ^~ timezone.c:779:5: error: invalid use of undefined type 'struct tm' 779 | tm->tm_hour = hours; | ^~ timezone.c:780:5: error: invalid use of undefined type 'struct tm' 780 | tm->tm_min = minutes; | ^~ timezone.c:781:5: error: invalid use of undefined type 'struct tm' 781 | tm->tm_sec = seconds; | ^~ timezone.c:785:5: error: invalid use of undefined type 'struct tm' 785 | tm->tm_yday = days; | ^~ timezone.c:790:5: error: invalid use of undefined type 'struct tm' 790 | tm->tm_wday = ((unsigned)days + EPOCH_WDAY) % 7; | ^~ timezone.c:791:5: error: invalid use of undefined type 'struct tm' 791 | tm->tm_isdst = 0; | ^~ timezone.c:800:11: error: invalid use of undefined type 'struct tm' 800 | (tm->tm_yday > (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) || | ^~ timezone.c:801:12: error: invalid use of undefined type 'struct tm' 801 | (tm->tm_yday == (YDAYS(TM_MON_MAX, TM_YEAR_MAX) + (TM_MDAY_MAX - 1)) && | ^~ make[1]: *** [unix/Makefile:86: util.o] Error 1 In file included from trees.c:124: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: trees.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zipnote.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zipsplit.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zipnote.c:19: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: zipnote.o] Error 1 In file included from zipsplit.c:19: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ zipsplit.c: In function 'main': zipsplit.c:884:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 884 | fgets(m, 10, stdin); | ^~~~~~~~~~~~~~~~~~~ zipsplit.c: In function 'retry': zipsplit.c:496:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 496 | fgets(m, 10, stdin); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [unix/Makefile:86: zipsplit.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o fileio_.o fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from fileio.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1959:1: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 1959 | memset(buf, init, len) | ^~~~~~ /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ fileio.c:1977:1: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 1977 | memcpy(dst,src,len) /* v2.0f */ | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ fileio.c:1995:1: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 1995 | memcmp(b1,b2,len) /* jpd@usl.edu -- 11/16/90 */ | ^~~~~~ /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c: In function 'memcmp': fileio.c:1996:16: error: argument 'b1' doesn't match prototype 1996 | register char *b1, *b2; | ^~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1996:21: error: argument 'b2' doesn't match prototype 1996 | register char *b1, *b2; | ^~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1997:23: error: argument 'len' doesn't match prototype 1997 | register unsigned int len; | ^~~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c: In function 'wide_to_local_string': fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] 3281 | int state_dependent; | ^~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_read_path': fileio.c:2120:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2120 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2143 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_write_path': fileio.c:2324:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2324 | fgets(buf, FNMAX, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: At top level: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; | ^~~~~~~~~~~~~~~~ make[1]: *** [unix/Makefile:83: fileio_.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC -DUTIL -o zipfile_.o zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zipfile.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ zipfile.c: In function 'ffile_size': zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] 1696 | size_t siz; | ^~~ zipfile.c: In function 'scanzipf_regnew': zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] 4030 | ush version_made; | ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] 4029 | uzoff_t z64eocdr_size; | ^~~~~~~~~~~~~ make[1]: *** [unix/Makefile:83: zipfile_.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC fileio.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from fileio.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1959:1: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 1959 | memset(buf, init, len) | ^~~~~~ /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ fileio.c:1977:1: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 1977 | memcpy(dst,src,len) /* v2.0f */ | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ fileio.c:1995:1: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 1995 | memcmp(b1,b2,len) /* jpd@usl.edu -- 11/16/90 */ | ^~~~~~ /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c: In function 'memcmp': fileio.c:1996:16: error: argument 'b1' doesn't match prototype 1996 | register char *b1, *b2; | ^~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1996:21: error: argument 'b2' doesn't match prototype 1996 | register char *b1, *b2; | ^~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c:1997:23: error: argument 'len' doesn't match prototype 1997 | register unsigned int len; | ^~~ /usr/include/string.h:64:12: error: prototype declaration 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ fileio.c: In function 'wide_to_local_string': fileio.c:3281:7: warning: variable 'state_dependent' set but not used [-Wunused-but-set-variable] 3281 | int state_dependent; | ^~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_read_path': fileio.c:2120:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2120 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2143 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function 'ask_for_split_write_path': fileio.c:2324:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2324 | fgets(buf, FNMAX, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: At top level: fileio.c:3727:24: warning: 'no_arg_files_err' defined but not used [-Wunused-const-variable=] 3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n"; | ^~~~~~~~~~~~~~~~ make[1]: *** [unix/Makefile:86: fileio.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zipfile.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zipfile.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ zipfile.c: In function 'ffile_size': zipfile.c:1696:10: warning: variable 'siz' set but not used [-Wunused-but-set-variable] 1696 | size_t siz; | ^~~ zipfile.c: In function 'readlocal': zipfile.c:2168:11: warning: variable 'start_offset' set but not used [-Wunused-but-set-variable] 2168 | uzoff_t start_offset = 0; | ^~~~~~~~~~~~ zipfile.c: In function 'scanzipf_fixnew': zipfile.c:3225:11: warning: variable 'in_cd_start_offset' set but not used [-Wunused-but-set-variable] 3225 | uzoff_t in_cd_start_offset; /* offset of start of cd on cd start disk */ | ^~~~~~~~~~~~~~~~~~ zipfile.c:3223:11: warning: variable 'cd_total_entries' set but not used [-Wunused-but-set-variable] 3223 | uzoff_t cd_total_entries = 0; /* number of entries according to EOCDR */ | ^~~~~~~~~~~~~~~~ zipfile.c: In function 'scanzipf_regnew': zipfile.c:4030:11: warning: variable 'version_made' set but not used [-Wunused-but-set-variable] 4030 | ush version_made; | ^~~~~~~~~~~~ zipfile.c:4029:11: warning: variable 'z64eocdr_size' set but not used [-Wunused-but-set-variable] 4029 | uzoff_t z64eocdr_size; | ^~~~~~~~~~~~~ make[1]: *** [unix/Makefile:86: zipfile.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/zip30' cc -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DNO_MKSTEMP -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zip.c make[1]: Leaving directory '/builddir/build/BUILD/zip30' In file included from zip.c:16: zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' 726 | char *memset OF((char *, int, unsigned int)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from unix/osdep.h:30, from tailor.h:93, from zip.h:88: /usr/include/bits/string_fortified.h:57:1: note: previous definition of 'memset' with type 'void *(void *, int, long unsigned int)' 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ zip.h:727:10: error: conflicting types for 'memcpy'; have 'char *(char *, char *, unsigned int)' 727 | char *memcpy OF((char *, char *, unsigned int)); | ^~~~~~ /usr/include/bits/string_fortified.h:26:1: note: previous definition of 'memcpy' with type 'void *(void *, const void *, long unsigned int)' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ zip.h:728:8: error: conflicting types for 'memcmp'; have 'int(char *, char *, unsigned int)' 728 | int memcmp OF((char *, char *, unsigned int)); | ^~~~~~ In file included from tailor.h:238: /usr/include/string.h:64:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, long unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[1]: *** [unix/Makefile:86: zip.o] Error 1 make: *** [unix/Makefile:202: generic] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.WmvL2P (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.WmvL2P (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/zip.spec