=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for spegla-1.1p4nb1 --- jftp.o --- --- parserow.o --- --- spegla.o --- --- tgetopt.o --- --- container.o --- --- spf_util.o --- --- que_syms.o --- --- e_err.o --- --- jftp.o --- clang -O2 -Wall -c jftp.c --- parserow.o --- clang -O2 -Wall -c parserow.c --- spegla.o --- clang -O2 -Wall -c spegla.c --- tgetopt.o --- clang -O2 -Wall -c tgetopt.c --- container.o --- clang -O2 -Wall -c container.c --- spf_util.o --- clang -O2 -Wall -c spf_util.c --- que_syms.o --- clang -O2 -Wall -c que_syms.c --- e_err.o --- clang -O2 -Wall -c e_err.c --- que_syms.o --- In file included from que_syms.c:4: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:527:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:167:44: note: passing argument to parameter 'pos' here int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^ In file included from que_syms.c:4: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:531:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:168:49: note: passing argument to parameter 'pos' here int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^ 2 warnings generated. --- spegla.o --- In file included from spegla.c:69: ./strlcpy.h:5:8: error: expected parameter declarator size_t strlcpy(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from spegla.c:69: ./strlcpy.h:5:8: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./strlcpy.h:5:8: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from spegla.c:69: ./strlcpy.h:5:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from spegla.c:69: ./strlcpy.h:5:8: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./strlcpy.h:5:8: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ In file included from spegla.c:69: ./strlcpy.h:6:8: error: expected parameter declarator size_t strlcat(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from spegla.c:69: ./strlcpy.h:6:8: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./strlcpy.h:6:8: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from spegla.c:69: ./strlcpy.h:6:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcat(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from spegla.c:69: ./strlcpy.h:6:8: error: conflicting types for '__builtin___strlcat_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:3: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./strlcpy.h:6:8: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:3: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ In file included from spegla.c:70: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ --- tgetopt.o --- tgetopt.c:139:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ tgetopt.c:139:32: note: treat the string as an argument to avoid this (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' --- spegla.o --- ./container.h:527:26: note: expanded from macro '\ FIFO_FUN_DEFS' --- tgetopt.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- spegla.o --- ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ --- tgetopt.o --- tgetopt.c:145:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ tgetopt.c:145:32: note: treat the string as an argument to avoid this (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- parserow.o --- In file included from parserow.c:54: ./strlcpy.h:5:8: error: expected parameter declarator --- tgetopt.o --- tgetopt.c:155:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^~~~~~~~~~~~~ --- parserow.o --- size_t strlcpy(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' --- spegla.o --- ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:167:44: note: passing argument to parameter 'pos' here int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^ --- tgetopt.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' --- parserow.o --- #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from parserow.c:54: ./strlcpy.h:5:8: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' --- tgetopt.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- parserow.o --- __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./strlcpy.h:5:8: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) --- spegla.o --- In file included from spegla.c:70: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:531:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' --- parserow.o --- ^ --- spegla.o --- return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:168:49: note: passing argument to parameter 'pos' here int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^ --- tgetopt.o --- tgetopt.c:155:32: note: treat the string as an argument to avoid this (void)snprintf(buf, MAX_STR, gos_err[gerr]); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- parserow.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from parserow.c:54: ./strlcpy.h:5:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from parserow.c:54: --- tgetopt.o --- tgetopt.c:170:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)snprintf(buf + num, MAX_STR - num, gos_err[gerr]); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ tgetopt.c:170:44: note: treat the string as an argument to avoid this (void)snprintf(buf + num, MAX_STR - num, gos_err[gerr]); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- parserow.o --- ./strlcpy.h:5:8: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./strlcpy.h:5:8: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ In file included from parserow.c:54: ./strlcpy.h:6:8: error: expected parameter declarator size_t strlcat(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from parserow.c:54: ./strlcpy.h:6:8: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./strlcpy.h:6:8: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from parserow.c:54: ./strlcpy.h:6:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcat(char *dst, const char *src, size_t size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:47: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from parserow.c:54: ./strlcpy.h:6:8: error: conflicting types for '__builtin___strlcat_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:3: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./strlcpy.h:6:8: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:119:3: note: expanded from macro 'strlcat' __builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- spegla.o --- spegla.c:246:4: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] n = n; /* silent gcc */ ~ ^ ~ --- spf_util.o --- In file included from spf_util.c:53: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:527:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:167:44: note: passing argument to parameter 'pos' here int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^ In file included from spf_util.c:53: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:531:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:168:49: note: passing argument to parameter 'pos' here int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^ --- spegla.o --- spegla.c:1073:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] e_errx(1, tgetopt_strerror(gos_file)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ spegla.c:1073:15: note: treat the string as an argument to avoid this e_errx(1, tgetopt_strerror(gos_file)); ^ "%s", spegla.c:1078:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] e_errx(1, tgetopt_strerror(gos_argv)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ spegla.c:1078:14: note: treat the string as an argument to avoid this e_errx(1, tgetopt_strerror(gos_argv)); ^ "%s", --- tgetopt.o --- tgetopt.c:754:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ tgetopt.c:84:46: note: previous declaration is here static int in_set __P((const char *set, char ch)); ^ tgetopt.c:28:19: warning: unused variable 'cvsid' [-Wunused-const-variable] static char const cvsid[] = "$Id: tgetopt.c,v 1.18 2000/05/14 14:39:39 jens Exp $"; ^ --- jftp.o --- jftp.c:553:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(c->ftp_listen, (struct sockaddr *) &sin2, &len) < 0) { ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ --- spegla.o --- 7 warnings and 6 errors generated. --- parserow.o --- In file included from parserow.c:55: In file included from ./parserow.h:31: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:527:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:167:44: note: passing argument to parameter 'pos' here int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^ In file included from parserow.c:55: In file included from ./parserow.h:31: ./spegla.h:119:1: warning: passing 'size_t *' (aka 'unsigned long *') to parameter of type 'ssize_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] FIFO_TYPE(spf, struct sp_file) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./container.h:547:40: note: expanded from macro 'FIFO_TYPE' FIFO_TYPEDEF_DEFS(NAME,TYPE) \ ^ ./container.h:531:26: note: expanded from macro '\ FIFO_FUN_DEFS' ((struct fifo_list *)f, pos, (void **)data) ) \ ^~~ ./container.h:354:34: note: expanded from macro 'DEF_F_DECL' return (ret_t)CC_3(PRE,_,f_name)arg2; \ ^~~~ ./container.h:168:49: note: passing argument to parameter 'pos' here int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^ --- spegla.o --- *** [spegla.o] Error code 1 bmake: stopped in /opt/work/net/spegla/work/spegla-1.1p4 --- parserow.o --- 4 warnings and 6 errors generated. --- e_err.o --- e_err.c:205:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(prio, p); ^ e_err.c:205:15: note: treat the string as an argument to avoid this syslog(prio, p); ^ "%s", --- parserow.o --- *** [parserow.o] Error code 1 bmake: stopped in /opt/work/net/spegla/work/spegla-1.1p4 --- e_err.o --- e_err.c:866:9: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] return daemon(nochdir, noclose); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:6: note: 'daemon' has been explicitly marked deprecated here int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ e_err.c:28:19: warning: unused variable 'cvsid' [-Wunused-const-variable] static char const cvsid[] = "$Id: e_err.c,v 1.15 2000/05/14 14:39:39 jens Exp $"; ^ --- container.o --- container.c:28:19: warning: unused variable 'cvsid' [-Wunused-const-variable] static char const cvsid[] = "$Id: container.c,v 1.16 2000/05/27 13:38:14 jens Exp $"; ^ --- tgetopt.o --- 6 warnings generated. --- jftp.o --- 1 warning generated. --- e_err.o --- 3 warnings generated. --- spf_util.o --- 2 warnings generated. --- container.o --- 1 warning generated. 2 errors bmake: stopped in /opt/work/net/spegla/work/spegla-1.1p4 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/spegla *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/spegla