=> 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 chkrootkit-0.50nb1 *** stopping make sense *** make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/opt/work/security/chkrootkit/work/chkrootkit-0.50' clang -O2 -o chklastlog chklastlog.c chklastlog.c:91:20: warning: 'utmp' is deprecated [-Wdeprecated-declarations] int nonuser(struct utmp utmp_ent); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:103:9: warning: 'lastlog' is deprecated [-Wdeprecated-declarations] struct lastlog lastlog_ent; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:90:7: note: 'lastlog' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:104:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp utmp_ent; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:160:69: warning: 'utmp' is deprecated [-Wdeprecated-declarations] while ((wtmp_bytes_read = read (fh_wtmp, &utmp_ent, sizeof (struct utmp))) >0) { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:161:49: warning: 'utmp' is deprecated [-Wdeprecated-declarations] if (wtmp_bytes_read < sizeof(struct utmp)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:172:94: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); ~~~ ^~~~~~ %d chklastlog.c:98:16: note: expanded from macro 'MAX_ID' #define MAX_ID 99999 ^~~~~ chklastlog.c:172:102: warning: format specifies type 'long' but the argument has type 'uid_t' (aka 'unsigned int') [-Wformat] fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); ~~~ ^~~~ %u chklastlog.c:178:53: warning: 'lastlog' is deprecated [-Wdeprecated-declarations] lseek(fh_lastlog, (long)*uid * sizeof (struct lastlog), 0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:90:7: note: 'lastlog' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:179:76: warning: 'lastlog' is deprecated [-Wdeprecated-declarations] if ((wtmp_bytes_read = read(fh_lastlog, &lastlog_ent, sizeof (struct lastlog))) > 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:90:7: note: 'lastlog' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:181:61: warning: 'lastlog' is deprecated [-Wdeprecated-declarations] if (wtmp_bytes_read < sizeof(struct lastlog)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:90:7: note: 'lastlog' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chklastlog.c:212:20: warning: 'utmp' is deprecated [-Wdeprecated-declarations] int nonuser(struct utmp utmp_ent) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ 11 warnings generated. clang -O2 -o chkwtmp chkwtmp.c chkwtmp.c:60:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp utmp_ent; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ chkwtmp.c:82:62: warning: 'utmp' is deprecated [-Wdeprecated-declarations] while (read (filehandle, (char *) &utmp_ent, sizeof (struct utmp)) > 0) { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ 2 warnings generated. clang -O2 -L/opt/pkg/lib -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c clang -L/opt/pkg/lib -o chkproc chkproc.c clang -L/opt/pkg/lib -o chkdirs chkdirs.c clang -L/opt/pkg/lib -o check_wtmpx check_wtmpx.c clang -static -L/opt/pkg/lib -o strings-static strings.c ld: library not found for -lcrt0.o clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:72: strings-static] Error 1 make[1]: Leaving directory '/opt/work/security/chkrootkit/work/chkrootkit-0.50' gmake: *** [Makefile:38: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/security/chkrootkit *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/security/chkrootkit