=> 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 barnyard-0.2.0nb4 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status creating config.h config.h is unchanged --- config.h --- --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in output-plugins --- op_decode.o --- --- op_fast.o --- --- op_plugbase.o --- --- op_logdump.o --- --- op_alert_syslog.o --- --- op_log_pcap.o --- --- op_acid_db.o --- --- op_alert_csv.o --- --- op_decode.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_decode.c --- op_fast.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_fast.c --- op_logdump.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_logdump.c --- op_alert_syslog.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_alert_syslog.c --- op_log_pcap.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_log_pcap.c --- op_acid_db.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_acid_db.c --- op_plugbase.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_plugbase.c --- op_alert_csv.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/opt/pkg/include/mysql -I/opt/pkg/include/mysql -I/opt/pkg/include -DENABLE_MYSQL -O2 -I/opt/pkg/include/mysql -I/opt/pkg/include -Wall -c op_alert_csv.c In file included from op_alert_csv.c:68: ../../src/strlcpyu.h:17:8: error: expected parameter declarator size_t strlcpy(char *, const char *, size_t); ^ /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 op_alert_csv.c:68: ../../src/strlcpyu.h:17: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 ^ ../../src/strlcpyu.h:17: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 op_alert_csv.c:68: ../../src/strlcpyu.h:17:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *, const char *, size_t); ^ /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 op_alert_csv.c:68: ../../src/strlcpyu.h:17: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)) ^ ../../src/strlcpyu.h:17: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)) ^ op_alert_csv.c:351:60: warning: format specifies type 'unsigned long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] record->event.event_id, record->ts.tv_sec, record->ts.tv_usec, ^~~~~~~~~~~~~~~~~~ op_alert_csv.c:393:38: warning: format specifies type 'unsigned long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] fprintf(file, "%lu", record->event.ref_time.tv_usec); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d op_alert_csv.c:399:38: warning: format specifies type 'unsigned long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] --- op_fast.o --- In file included from op_fast.c:24: ../../src/strlcpyu.h:17:8: error: expected parameter declarator size_t strlcpy(char *, const char *, size_t); ^ /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 --- op_alert_syslog.o --- In file included from op_alert_syslog.c:23: ../../src/strlcpyu.h:17:8: error: expected parameter declarator size_t strlcpy(char *, const char *, size_t); ^ /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 --- op_alert_csv.o --- fprintf(file, "%lu", record->ts.tv_usec); ~~~ ^~~~~~~~~~~~~~~~~~ %d --- op_fast.o --- ^ In file included from op_fast.c:24: ../../src/strlcpyu.h:17: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 ^ --- op_alert_syslog.o --- ^ In file included from op_alert_syslog.c:23: ../../src/strlcpyu.h:17: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 ^ --- op_fast.o --- ../../src/strlcpyu.h:17: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 op_fast.c:24: ../../src/strlcpyu.h:17:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *, const char *, size_t); ^ --- op_alert_syslog.o --- ../../src/strlcpyu.h:17: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 op_alert_syslog.c:23: ../../src/strlcpyu.h:17:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] size_t strlcpy(char *, const char *, size_t); ^ --- op_fast.o --- /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 op_fast.c:24: ../../src/strlcpyu.h:17: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)) ^ --- op_alert_syslog.o --- /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 op_alert_syslog.c:23: ../../src/strlcpyu.h:17: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)) ^ --- op_fast.o --- ../../src/strlcpyu.h:17: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)) ^ --- op_alert_syslog.o --- ../../src/strlcpyu.h:17: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)) ^ 1 warning and 3 errors generated. --- op_fast.o --- 1 warning and 3 errors generated. --- op_alert_csv.o --- 4 warnings and 3 errors generated. --- op_fast.o --- *** [op_fast.o] Error code 1 bmake[3]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src/output-plugins --- op_alert_syslog.o --- *** [op_alert_syslog.o] Error code 1 bmake[3]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src/output-plugins --- op_alert_csv.o --- *** [op_alert_csv.o] Error code 1 bmake[3]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src/output-plugins --- op_plugbase.o --- In file included from op_plugbase.c:34: ./op_alert_syslog2.h:13:9: warning: '__OP_ALERT_SYSLOG2_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __OP_ALERT_SYSLOG2_H__ ^~~~~~~~~~~~~~~~~~~~~~ ./op_alert_syslog2.h:14:9: note: '__OP_ALERT_SYSLOG2__H__' is defined here; did you mean '__OP_ALERT_SYSLOG2_H__'? #define __OP_ALERT_SYSLOG2__H__ ^~~~~~~~~~~~~~~~~~~~~~~ __OP_ALERT_SYSLOG2_H__ --- op_acid_db.o --- op_acid_db.c:1216:8: warning: address of function 'mysql_close' will always evaluate to 'true' [-Wpointer-bool-conversion] if(mysql_close) ~~ ^~~~~~~~~~~ op_acid_db.c:1216:8: note: prefix with the address-of operator to silence this warning if(mysql_close) ^ & --- op_plugbase.o --- 1 warning generated. --- op_acid_db.o --- 1 warning generated. 3 errors bmake[3]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src/output-plugins *** [all-recursive] Error code 1 bmake[2]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src 1 error bmake[2]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0 1 error bmake[1]: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0 *** [all-recursive-am] Error code 2 bmake: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0 1 error bmake: stopped in /opt/work/net/barnyard/work/barnyard-0.2.0 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/barnyard *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/barnyard