===> Building for mbuffer-20180625nb2
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c log.c
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c network.c
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c mbuffer.c
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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
mbuffer.c:685:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations]
                        err = sem_getvalue(&Buf2Dev,&fill);
                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204: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);
                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
8 warnings generated.
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c hashing.c
hashing.c:301:3: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations]
                MD5_Init(ctxt);
                ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
hashing.c:352:5: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations]
                                MD5_Final(hashvalue,ctxt);
                                ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
hashing.c:398:4: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations]
                        MD5_Update(ctxt,SendAt,size);
                        ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/Users/pbulk/build/misc/mbuffer/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
3 warnings generated.
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c input.c
input.c:360:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations]
                        err = sem_getvalue(&Buf2Dev,&fill);
                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
input.c:395:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations]
                        err = sem_getvalue(&Buf2Dev,&fill);
                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
2 warnings generated.
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c common.c
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c settings.c
clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -I/opt/pkg/include -c globals.c
clang -L/opt/pkg/lib -pipe -Os -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
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 making "all" in /Users/pbulk/build/misc/mbuffer/work/mbuffer-20180625
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/misc/mbuffer/work/mbuffer-20180625
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/mbuffer
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/mbuffer