=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 agedu-20180522.5b12791 --- all --- /opt/pkg/bin/bmake all-am --- agedu.o --- --- du.o --- --- alloc.o --- --- trie.o --- --- index.o --- --- html.o --- --- httpd.o --- --- fgetline.o --- --- agedu.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT agedu.o -MD -MP -MF .deps/agedu.Tpo -c -o agedu.o agedu.c --- du.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT du.o -MD -MP -MF .deps/du.Tpo -c -o du.o du.c --- alloc.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c --- trie.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT trie.o -MD -MP -MF .deps/trie.Tpo -c -o trie.o trie.c --- index.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT index.o -MD -MP -MF .deps/index.Tpo -c -o index.o index.c --- html.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT html.o -MD -MP -MF .deps/html.Tpo -c -o html.o html.c --- httpd.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT httpd.o -MD -MP -MF .deps/httpd.Tpo -c -o httpd.o httpd.c --- fgetline.o --- clang -DHAVE_CONFIG_H -I. -O2 -MT fgetline.o -MD -MP -MF .deps/fgetline.Tpo -c -o fgetline.o fgetline.c --- du.o --- In file included from du.c:6: ./du.h:18:14: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] const STRUCT_STAT *st); ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ --- agedu.o --- In file included from agedu.c:7: ./du.h:18:14: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] const STRUCT_STAT *st); ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ --- du.o --- du.c:178:17: error: variable has incomplete type 'struct stat64' STRUCT_STAT st; ^ du.c:178:5: note: forward declaration of 'struct stat64' STRUCT_STAT st; ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ du.c:188:12: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration] statret = STAT_FUNC(*path, &st); ^ ./agedu.h:110:19: note: expanded from macro 'STAT_FUNC' #define STAT_FUNC stat64 ^ du.c:190:12: warning: implicit declaration of function 'lstat64' is invalid in C99 [-Wimplicit-function-declaration] statret = LSTAT_FUNC(*path, &st); ^ ./agedu.h:109:20: note: expanded from macro 'LSTAT_FUNC' #define LSTAT_FUNC lstat64 ^ 3 warnings and 1 error generated. --- agedu.o --- agedu.c:68:60: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:79:11: error: incomplete definition of type 'struct stat64' if (st->st_dev == ctx->datafile_dev && st->st_ino == ctx->datafile_ino) ~~^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:79:46: error: incomplete definition of type 'struct stat64' if (st->st_dev == ctx->datafile_dev && st->st_ino == ctx->datafile_ino) ~~^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:85:28: error: incomplete definition of type 'struct stat64' if (!ctx->crossfs && st->st_dev != ctx->filesystem_dev) ~~^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:88:45: error: incomplete definition of type 'struct stat64' file.size = (unsigned long long)512 * st->st_blocks; ~~^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:89:56: error: incomplete definition of type 'struct stat64' if (ctx->usemtime || (ctx->fakeatimes && S_ISDIR(st->st_mode))) ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:28: note: expanded from macro 'S_ISDIR' #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:90:17: error: incomplete definition of type 'struct stat64' file.atime = st->st_mtime; ~~^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:92:21: error: incomplete definition of type 'struct stat64' file.atime = max(st->st_mtime, st->st_atime); ~~^ ./agedu.h:117:21: note: expanded from macro 'max' #define max(x,y) ( (x) > (y) ? (x) : (y) ) ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:92:35: error: incomplete definition of type 'struct stat64' file.atime = max(st->st_mtime, st->st_atime); ~~^ ./agedu.h:117:27: note: expanded from macro 'max' #define max(x,y) ( (x) > (y) ? (x) : (y) ) ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:92:21: error: incomplete definition of type 'struct stat64' file.atime = max(st->st_mtime, st->st_atime); ~~^ ./agedu.h:117:33: note: expanded from macro 'max' #define max(x,y) ( (x) > (y) ? (x) : (y) ) ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:92:35: error: incomplete definition of type 'struct stat64' file.atime = max(st->st_mtime, st->st_atime); ~~^ ./agedu.h:117:39: note: expanded from macro 'max' #define max(x,y) ( (x) > (y) ? (x) : (y) ) ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ agedu.c:118:17: error: incomplete definition of type 'struct stat64' if (!S_ISDIR(st->st_mode)) ~~^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:251:28: note: expanded from macro 'S_ISDIR' #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ ^ agedu.c:68:60: note: forward declaration of 'struct stat64' static int gotdata(void *vctx, const char *pathname, const STRUCT_STAT *st) ^ ./agedu.h:108:28: note: expanded from macro 'STRUCT_STAT' #define STRUCT_STAT struct stat64 ^ --- du.o --- *** [du.o] Error code 1 bmake[1]: stopped in /opt/work/sysutils/agedu/work/agedu-20180522.5b12791 --- fgetline.o --- mv -f .deps/fgetline.Tpo .deps/fgetline.Po --- agedu.o --- agedu.c:1085:15: warning: incompatible pointer types passing 'int (void *, const char *, const struct stat64 *)' to parameter of type 'gotdata_fn_t' (aka 'int (*)(void *, const char *, const struct stat64 *)') [-Wincompatible-pointer-types] du(scandir, gotdata, scan_error, ctx); ^~~~~~~ ./du.h:30:40: note: passing argument to parameter 'gotdata' here void du(const char *path, gotdata_fn_t gotdata, err_fn_t err, ^ 3 warnings and 11 errors generated. *** [agedu.o] Error code 1 bmake[1]: stopped in /opt/work/sysutils/agedu/work/agedu-20180522.5b12791 --- alloc.o --- mv -f .deps/alloc.Tpo .deps/alloc.Po --- index.o --- mv -f .deps/index.Tpo .deps/index.Po --- trie.o --- mv -f .deps/trie.Tpo .deps/trie.Po --- html.o --- mv -f .deps/html.Tpo .deps/html.Po --- httpd.o --- mv -f .deps/httpd.Tpo .deps/httpd.Po 2 errors bmake[1]: stopped in /opt/work/sysutils/agedu/work/agedu-20180522.5b12791 *** [all] Error code 2 bmake: stopped in /opt/work/sysutils/agedu/work/agedu-20180522.5b12791 1 error bmake: stopped in /opt/work/sysutils/agedu/work/agedu-20180522.5b12791 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/sysutils/agedu *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/sysutils/agedu