=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for waste-1.0 clang++ -pipe -Os -c asyncdns.cpp In file included from asyncdns.cpp:21: ./platform.h:74:104: warning: non-void function does not return a value [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ 1 warning generated. clang++ -pipe -Os -c config.cpp In file included from config.cpp:20: ./platform.h:74:104: warning: non-void function does not return a value [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ config.cpp:100:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *t=ReadString(name,""); ^ 2 warnings generated. clang++ -pipe -Os -c connection.cpp In file included from connection.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: non-void function does not return a value [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from connection.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ connection.cpp:57:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: call to socket() failed: %d.\n",ERRNO); ^ connection.cpp:141:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: got what looks like feedback on bfpubkey.\n"); ^ connection.cpp:229:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error encrypting session key\n"); ^ connection.cpp:258:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error decrypting session key with my own private key (%d,%d)\n",err,m_kl); ^ connection.cpp:289:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: zero session key, aborting.\n"); ^ connection.cpp:299:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: CBC IVs are equal, being hacked?\n"); ^ connection.cpp:307:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error decrypting session key (signature is wrong, being hacked?)\n"); ^ connection.cpp:409:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error resolving hostname\n"); ^ connection.cpp:420:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: connect() returned error: %d\n",ERRNO); ^ connection.cpp:437:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::run: select() returned error: %d\n",ERRNO); ^ connection.cpp:442:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::run: select() notified of error\n"); ^ connection.cpp:676:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::decrypt_buffer(): len=%d (&7)\n",len); ^ connection.cpp:704:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::encrypt_buffer(): len=%d (&7)\n",len); ^ connection.cpp:771:54: error: cannot initialize a parameter of type 'socklen_t *' (aka 'unsigned int *') with an rvalue of type 'int *' if (::getsockname(m_socket,(struct sockaddr *)&sin,(socklen_t *)&len)) return 0; ^~~~~~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 15 warnings and 1 error generated. *** [connection.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/waste/work/waste 1 error bmake: stopped in /Users/pbulk/build/net/waste/work/waste *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/waste *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/waste