+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/waste-1.0/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/waste-1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for waste-1.0 g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -I/usr/include -I/opt/local/include -c asyncdns.cpp In file included from asyncdns.cpp:21: platform.h: In function 'char* safe_strncpy(char*, char*, int)': platform.h:74:104: warning: no return statement in function returning non-void [-Wreturn-type] 74 | static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } | ^ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -I/usr/include -I/opt/local/include -c config.cpp In file included from config.cpp:20: platform.h: In function 'char* safe_strncpy(char*, char*, int)': platform.h:74:104: warning: no return statement in function returning non-void [-Wreturn-type] 74 | static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } | ^ config.cpp: In member function 'int C_Config::ReadInt(char*, int)': config.cpp:100:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 100 | char *t=ReadString(name,""); | ^~ g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -I/usr/include -I/opt/local/include -c connection.cpp In file included from main.h:25, from connection.cpp:20: platform.h: In function 'char* safe_strncpy(char*, char*, int)': platform.h:74:104: warning: no return statement in function returning non-void [-Wreturn-type] 74 | static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } | ^ connection.cpp: In constructor 'C_Connection::C_Connection(char*, int, C_AsyncDNS*)': connection.cpp:57:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 57 | debug_printf("connection: call to socket() failed: %d.\n",ERRNO); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'void C_Connection::init_crypt_gotpkey()': connection.cpp:141:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 141 | debug_printf("connection: got what looks like feedback on bfpubkey.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:229:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 229 | debug_printf("connection: error encrypting session key\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'void C_Connection::init_crypt_decodekey()': connection.cpp:258:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 258 | debug_printf("connection: error decrypting session key with my own private key (%d,%d)\n",err,m_kl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:289:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 289 | debug_printf("connection: zero session key, aborting.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:299:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 299 | debug_printf("connection: CBC IVs are equal, being hacked?\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:307:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 307 | debug_printf("connection: error decrypting session key (signature is wrong, being hacked?)\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'C_Connection::state C_Connection::run(int, int)': connection.cpp:409:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 409 | debug_printf("connection: error resolving hostname\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:420:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 420 | debug_printf("connection: connect() returned error: %d\n",ERRNO); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:437:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 437 | debug_printf("connection::run: select() returned error: %d\n",ERRNO); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp:442:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 442 | debug_printf("connection::run: select() notified of error\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'void C_Connection::decrypt_buffer(void*, int)': connection.cpp:676:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 676 | debug_printf("connection::decrypt_buffer(): len=%d (&7)\n",len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'void C_Connection::encrypt_buffer(void*, int)': connection.cpp:704:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 704 | debug_printf("connection::encrypt_buffer(): len=%d (&7)\n",len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.cpp: In member function 'long unsigned int C_Connection::get_interface()': connection.cpp:771:54: error: invalid conversion from 'int*' to 'Psocklen_t' {aka 'unsigned int*'} [-fpermissive] 771 | if (::getsockname(m_socket,(struct sockaddr *)&sin,(socklen_t *)&len)) return 0; | ^~~~~~~~~~~~~~~~~ | | | int* In file included from platform.h:51, from main.h:25, from connection.cpp:20: /usr/include/sys/socket.h:552:62: note: initializing argument 3 of 'int getsockname(int, sockaddr*, Psocklen_t)' 552 | extern int getsockname(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t); | ^~~~~~~~~~ *** [connection.o] Error code 1 bmake: stopped in /home/pbulk/build/net/waste/work/waste 1 error bmake: stopped in /home/pbulk/build/net/waste/work/waste *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/waste *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/waste