===> Building for mbuffer-20250429 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 mbuffer.c:287: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:729: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:753: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:865: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:879: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:1258: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:1260: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__)) ^ 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 hashing.c -o build/hashing.o 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:206: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:206: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:206: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 -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c input.c -o build/input.o input.c:370: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:405: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 -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c common.c -o build/common.o bash mkversion.sh creating version.h creating man-page clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -c settings.c -o build/settings.o 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 clang -pipe -Os -I/opt/pkg/include -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\"/opt/pkg/etc\" -I. -I. -L/opt/pkg/lib build/log.o build/network.o build/mbuffer.o build/hashing.o build/input.o build/common.o build/settings.o build/globals.o -lcrypto -lpthread -o mbuffer 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 idev.c:57:15: error: expected identifier or '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ idev.c:57:15: error: expected ')' idev.c:57:14: note: to match this '(' int LIBC_OPEN(const char *path, int oflag, ...) ^ idev.c:92:19: error: expected identifier or '(' 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 '(' ssize_t LIBC_READ(int fd, void *buf, size_t s) ^ 4 errors generated. gmake: *** [Makefile:197: idev.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