<86>Nov 9 06:18:47 userdel[443113]: delete user 'rooter' <86>Nov 9 06:18:47 userdel[443113]: removed group 'rooter' owned by 'rooter' <86>Nov 9 06:18:47 userdel[443113]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 06:18:47 groupadd[443161]: group added to /etc/group: name=rooter, GID=1820 <86>Nov 9 06:18:47 groupadd[443161]: group added to /etc/gshadow: name=rooter <86>Nov 9 06:18:47 groupadd[443161]: new group: name=rooter, GID=1820 <86>Nov 9 06:18:47 useradd[443179]: new user: name=rooter, UID=1820, GID=1820, home=/root, shell=/bin/bash, from=none <86>Nov 9 06:18:47 userdel[443208]: delete user 'builder' <86>Nov 9 06:18:47 groupadd[443234]: group added to /etc/group: name=builder, GID=1821 <86>Nov 9 06:18:47 groupadd[443234]: group added to /etc/gshadow: name=builder <86>Nov 9 06:18:47 groupadd[443234]: new group: name=builder, GID=1821 <86>Nov 9 06:18:47 useradd[443257]: new user: name=builder, UID=1821, GID=1821, home=/usr/src, shell=/bin/bash, from=none <13>Nov 9 06:18:53 rpmi: libnatspec-0.3.3-alt2 sisyphus+359039.100.2.1 1729455875 installed <13>Nov 9 06:18:53 rpmi: libnatspec-devel-0.3.3-alt2 sisyphus+359039.100.2.1 1729455875 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/zip-3.0-alt3.nosrc.rpm (w1.gzdio) Installing zip-3.0-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.91851 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf zip-3.0 + echo 'Source #0 (zip30.tar.gz):' Source #0 (zip30.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/zip30.tar.gz + /bin/tar -xf - + cd zip-3.0 + /bin/chmod -c -Rf u+rwX,go-w . + subst 's|-O2|-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic|;s|/usr/local/bin|/usr/bin|g;s|/usr/local/man|/usr/share/man|g' unix/configure + echo 'Patch #0 (zip-3.0-umask-tmp.patch):' Patch #0 (zip-3.0-umask-tmp.patch): + /usr/bin/patch -p2 patching file zip.c + echo 'Patch #4 (zip-3.0-alt-asdos.patch):' Patch #4 (zip-3.0-alt-asdos.patch): + /usr/bin/patch -p2 patching file zip.c + echo 'Patch #5 (zip-3.0-exec-shield.patch):' Patch #5 (zip-3.0-exec-shield.patch): + /usr/bin/patch -p1 patching file crc_i386.S patching file match.S + echo 'Patch #6 (zip-3.0-currdir.patch):' Patch #6 (zip-3.0-currdir.patch): + /usr/bin/patch -p1 patching file util.c + echo 'Patch #7 (zip-3.0-time.patch):' Patch #7 (zip-3.0-time.patch): + /usr/bin/patch -p1 patching file unix/Makefile Hunk #1 succeeded at 29 (offset 5 lines). + sed -i 's/-o zip$E/-no-pie &/' unix/Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44458 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd zip-3.0 + make -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic' generic_gcc -j16 make -f unix/Makefile generic CC=gcc CPP="gcc -E" make[1]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' sh unix/configure "gcc" "-I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic" "" 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 -- Either bzlib.h or libbz2.a not found - no bzip2 Check for the C preprocessor Check if we can use asm code Check if compiler generates underlines 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/bin and /usr/share/man Check for OS-specific flags Check for symbolic links make[1]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' eval make -f unix/Makefile zips `cat flags` make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' /usr/bin/cpp match.S > _match.s gcc -c _match.s mv _match.o match.o rm -f _match.s make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: globals.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' /usr/bin/cpp crc_i386.S > _crc_i386.s gcc -c _crc_i386.s mv _crc_i386.o crc_i386.o rm -f _crc_i386.s make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: crypt.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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 */ | ^ In file included from zipup.c:109: zipup.c: In function 'file_read': unix/zipup.h:21:22: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | #define zread(f,b,n) read(f,b,n) | ^~~~~~~~~~~ zipup.c:1264:10: note: in expansion of macro 'zread' 1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ | ^~~~~ make[2]: *** [unix/Makefile:86: zipup.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: deflate.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: zbz2err.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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[2]: *** [unix/Makefile:86: ttyio.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: crc32.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: trees.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: zipcloak.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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[2]: *** [unix/Makefile:117: unix.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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[2]: *** [unix/Makefile:86: util.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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[2]: *** [unix/Makefile:83: zipfile_.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, unsigned int)' 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^~~~~~ make[2]: *** [unix/Makefile:86: zip.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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, 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 *, 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 *, 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: 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[2]: *** [unix/Makefile:86: fileio.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[2]: Entering directory '/usr/src/RPM/BUILD/zip-3.0' gcc -c -I. -DUNIX -pipe -frecord-gcc-switches -Wall -g -O3 -flto=auto -march=i586 -mtune=generic -O3 -DASMV -DASM_CRC -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 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, 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 *, 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 *, 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[2]: *** [unix/Makefile:86: zipfile.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/zip-3.0' make[1]: *** [unix/Makefile:202: generic] Error 2 make: *** [unix/Makefile:205: generic_gcc] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.44458 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.44458 (%build) Command exited with non-zero status 1 1.60user 0.85system 0:01.64elapsed 149%CPU (0avgtext+0avgdata 19456maxresident)k 0inputs+0outputs (0major+134729minor)pagefaults 0swaps hsh-rebuild: rebuild of `zip-3.0-alt3.src.rpm' failed. Command exited with non-zero status 1 5.43user 3.87system 0:18.01elapsed 51%CPU (0avgtext+0avgdata 132504maxresident)k 120inputs+0outputs (0major+196026minor)pagefaults 0swaps