=> 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 mbuffer-20180625nb1 --- log.o --- --- network.o --- --- mbuffer.o --- --- hashing.o --- --- input.o --- --- common.o --- --- settings.o --- --- globals.o --- --- log.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c log.c --- network.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c network.c --- mbuffer.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c mbuffer.c --- hashing.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c hashing.c --- input.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c input.c --- common.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c common.c --- settings.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c settings.c --- globals.o --- clang -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c globals.c --- mbuffer.o --- mbuffer.c:73:2: warning: sendfile is unable to send from buffers [-W#warnings] #warning sendfile is unable to send from buffers ^ mbuffer.c:271:9: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&unwritten); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ --- idev.so --- --- mbuffer.o --- mbuffer.c:685:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ mbuffer.c:709:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ --- tapetest.so --- --- mbuffer.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ mbuffer.c:819:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ mbuffer.c:833:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ mbuffer.c:1187:11: warning: 'sem_init' is deprecated [-Wdeprecated-declarations] if (0 != sem_init(&Buf2Dev,0,0)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here int sem_init(sem_t *, int, unsigned int) __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__)) ^ mbuffer.c:1189:11: warning: 'sem_init' is deprecated [-Wdeprecated-declarations] if (0 != sem_init(&Dev2Buf,0,Numblocks)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here int sem_init(sem_t *, int, unsigned int) __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__)) ^ --- input.o --- input.c:360:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ --- idev.so --- clang -L/opt/pkg/lib -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -shared -g -fPIC idev.c -o idev.so -lcrypto -lpthread --- input.o --- input.c:395:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] err = sem_getvalue(&Buf2Dev,&fill); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here int sem_getvalue(sem_t * __restrict, int * __restrict) __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__)) ^ --- tapetest.so --- clang -L/opt/pkg/lib -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -shared -fPIC tapetest.c -o tapetest.so -lcrypto -lpthread --- have-af --- clang -I/opt/pkg/include -O2 -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -L/opt/pkg/lib have-af.c -lcrypto -lpthread -o have-af --- idev.so --- idev.c:54:15: error: expected identifier or '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ idev.c:54:15: error: expected ')' idev.c:54:14: note: to match this '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ idev.c:86:19: error: expected identifier or '(' ssize_t LIBC_READ(int fd, void *buf, size_t s) ^ idev.c:86:19: error: expected ')' idev.c:86:18: note: to match this '(' ssize_t LIBC_READ(int fd, void *buf, size_t s) ^ 4 errors generated. *** [idev.so] Error code 1 bmake: stopped in /opt/work/misc/mbuffer/work/mbuffer-20180625 --- tapetest.so --- tapetest.c:54:2: error: name of libc open() could not be determined - test cannot be performed #error name of libc open() could not be determined - test cannot be performed ^ tapetest.c:58:2: error: name of libc write() could not be determined - test cannot be performed #error name of libc write() could not be determined - test cannot be performed ^ tapetest.c:77:15: error: expected identifier or '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ tapetest.c:77:15: error: expected ')' tapetest.c:77:14: note: to match this '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ tapetest.c:114:20: error: expected identifier or '(' ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte) ^ tapetest.c:114:20: error: expected ')' tapetest.c:114:19: note: to match this '(' ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte) ^ 6 errors generated. *** [tapetest.so] Error code 1 bmake: stopped in /opt/work/misc/mbuffer/work/mbuffer-20180625 --- input.o --- 2 warnings generated. --- mbuffer.o --- 8 warnings generated. 2 errors bmake: stopped in /opt/work/misc/mbuffer/work/mbuffer-20180625 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/misc/mbuffer *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/misc/mbuffer