=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/mbuffer", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mbuffer-20250429nb1 mkdir build clang -MM -MG -MT build/log.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. log.c -o build/log.d clang -MM -MG -MT build/network.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. network.c -o build/network.d clang -MM -MG -MT build/mbuffer.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. mbuffer.c -o build/mbuffer.d clang -MM -MG -MT build/hashing.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. hashing.c -o build/hashing.d clang -MM -MG -MT build/input.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. input.c -o build/input.d clang -MM -MG -MT build/common.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. common.c -o build/common.d clang -MM -MG -MT build/settings.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. settings.c -o build/settings.d clang -MM -MG -MT build/globals.o -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. globals.c -o build/globals.d clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c log.c -o build/log.o clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c network.c -o build/network.o clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c mbuffer.c -o build/mbuffer.o clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c hashing.c -o build/hashing.o mbuffer.c:287:9: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 287 | err = sem_getvalue(&Buf2Dev,&unwritten); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:729:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 729 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:753:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 753 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:865:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 865 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:879:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 879 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:1258:11: warning: 'sem_init' is deprecated [-Wdeprecated-declarations] 1258 | if (0 != sem_init(&Buf2Dev,0,0)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here 55 | int sem_init(sem_t *, int, unsigned int) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ mbuffer.c:1260:11: warning: 'sem_init' is deprecated [-Wdeprecated-declarations] 1260 | if (0 != sem_init(&Dev2Buf,0,Numblocks)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here 55 | int sem_init(sem_t *, int, unsigned int) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ hashing.c:301:3: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 301 | MD5_Init(ctxt); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ hashing.c:352:5: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 352 | MD5_Final(hashvalue,ctxt); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ hashing.c:398:4: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 398 | MD5_Update(ctxt,SendAt,size); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 229 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /var/tmp/work/misc/mbuffer/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' 61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c input.c -o build/input.o 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c common.c -o build/common.o input.c:370:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 370 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ input.c:405:10: warning: 'sem_getvalue' is deprecated [-Wdeprecated-declarations] 405 | err = sem_getvalue(&Buf2Dev,&fill); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/semaphore.h:54:56: note: 'sem_getvalue' has been explicitly marked deprecated here 54 | int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ 2 warnings generated. /var/tmp/work/misc/mbuffer/work/.tools/bin/sh mkversion.sh clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c globals.c -o build/globals.o creating version.h creating man-page clang -L/opt/pkg/lib -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -shared -g -fPIC idev.c -o idev.so -lcrypto -lpthread clang -L/opt/pkg/lib -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -shared -fPIC tapetest.c -o tapetest.so -lcrypto -lpthread idev.c:57:15: error: expected identifier or '(' 57 | int LIBC_OPEN(const char *path, int oflag, ...) | ^ idev.c:57:15: error: expected ')' idev.c:57:14: note: to match this '(' 57 | int LIBC_OPEN(const char *path, int oflag, ...) | ^ idev.c:92:19: error: expected identifier or '(' 92 | ssize_t LIBC_READ(int fd, void *buf, size_t s) | ^ idev.c:92:19: error: expected ')' idev.c:92:18: note: to match this '(' 92 | ssize_t LIBC_READ(int fd, void *buf, size_t s) | ^ 4 errors generated. gmake: *** [Makefile:197: idev.so] Error 1 gmake: *** Waiting for unfinished jobs.... tapetest.c:56:2: error: name of libc open() could not be determined - test cannot be performed 56 | #error name of libc open() could not be determined - test cannot be performed | ^ tapetest.c:60:2: error: name of libc write() could not be determined - test cannot be performed 60 | #error name of libc write() could not be determined - test cannot be performed | ^ tapetest.c:79:15: error: expected identifier or '(' 79 | int LIBC_OPEN(const char *path, int oflag, ...) | ^ tapetest.c:79:15: error: expected ')' tapetest.c:79:14: note: to match this '(' 79 | int LIBC_OPEN(const char *path, int oflag, ...) | ^ tapetest.c:116:20: error: expected identifier or '(' 116 | ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte) | ^ tapetest.c:116:20: error: expected ')' tapetest.c:116:19: note: to match this '(' 116 | ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte) | ^ 6 errors generated. gmake: *** [Makefile:194: tapetest.so] Error 1 *** 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