=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for waste-1.0 --- asyncdns.o --- --- config.o --- --- connection.o --- --- filedb.o --- --- listen.o --- --- m_chat.o --- --- m_file.o --- --- m_keydist.o --- --- asyncdns.o --- clang++ -O2 -c asyncdns.cpp --- config.o --- clang++ -O2 -c config.cpp --- connection.o --- clang++ -O2 -c connection.cpp --- filedb.o --- clang++ -O2 -c filedb.cpp --- listen.o --- clang++ -O2 -c listen.cpp --- m_chat.o --- clang++ -O2 -c m_chat.cpp --- m_file.o --- clang++ -O2 -c m_file.cpp --- m_keydist.o --- clang++ -O2 -c m_keydist.cpp --- config.o --- 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,""); ^ --- m_keydist.o --- In file included from m_keydist.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; } ^ In file included from m_keydist.cpp:22: In file included from ./m_keydist.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_keydist.cpp:57:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest: length out of range (%d)\n",datalen); ^ m_keydist.cpp:73:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- filedb.o --- In file included from filedb.cpp:21: In file included from ./main.h:25: --- m_keydist.o --- debug_printf("keydistrequest: key bits out of range (%d,%d,%d,%d)\n",m_key.bits,modlen,explen,datalen); ^ --- filedb.o --- ./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 filedb.cpp:21: 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, ^ --- m_keydist.o --- m_keydist.cpp:85:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest::make(): bits=0\n"); ^ m_keydist.cpp:103:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest: modlen=%d,explen=%d\n",modlen,explen); ^ --- m_chat.o --- In file included from m_chat.cpp:21: 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; } ^ --- m_file.o --- In file included from m_file.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; } ^ --- m_chat.o --- In file included from m_chat.cpp:21: 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, ^ --- filedb.o --- filedb.cpp:702:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_FileDB::DoScan(): error calling findfirstfile(%s)!\n",s.cur_path); ^ --- m_file.o --- In file included from m_file.cpp:21: In file included from ./m_file.h:24: In file included from ./util.h:22: --- m_chat.o --- m_chat.cpp:39:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("chatreply: length of %d too big\n",in->GetLength()); ^ m_chat.cpp:53:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("chatreply::make() length is %d\n",l); ^ --- m_file.o --- ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ --- asyncdns.o --- 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; } ^ --- connection.o --- 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:41:26: warning: implicit conversion of NULL constant to 'size_t' (aka 'unsigned long') [-Wnull-conversion] else memset(&m_saddr,0,NULL); ~~~~~~ ^~~~ 0 connection.cpp:57:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- filedb.o --- filedb.cpp:1173:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:56: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; --- connection.o --- debug_printf("connection: call to socket() failed: %d.\n",ERRNO); ^ --- filedb.o --- ^ --- connection.o --- 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"); ^ --- m_file.o --- m_file.cpp:147:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("sending a request with %d pairs, for %d items\n",m_need_chunks_indexused,m_need_chunks_used); ^ m_file.cpp:231:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply: data length out of range, %d\n",m_data_len); ^ m_file.cpp:243:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply: got packet that is a header, with length of %d\n",datalen); ^ --- connection.o --- 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); ^ --- m_file.o --- m_file.cpp:296:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply::make() data length = %d\n",m_data_len); ^ --- connection.o --- connection.cpp:442:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- m_file.o --- m_file.cpp:369:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply::set_data() data length out of range, %d\n",len); ^ --- connection.o --- debug_printf("connection::run: select() notified of error\n"); ^ --- listen.o --- In file included from listen.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; } ^ --- config.o --- 2 warnings generated. --- listen.o --- In file included from listen.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, ^ listen.cpp:30:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to socket() failed: %d.\n",ERRNO); ^ --- m_keydist.o --- 6 warnings generated. --- connection.o --- 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.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 16 warnings and 1 error generated. --- listen.o --- listen.cpp:55:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to bind() failed: %d.\n",ERRNO); ^ listen.cpp:63:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to listen() failed: %d.\n",ERRNO); ^ --- m_ping.o --- --- m_search.o --- --- connection.o --- *** [connection.o] Error code 1 bmake: stopped in /opt/work/net/waste/work/waste --- listen.o --- listen.cpp:85:10: error: no matching function for call to 'accept' int s = accept(m_socket, (struct sockaddr *) &saddr, (socklen_t *)&length); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:9: note: candidate function not viable: no known conversion from 'int *' to 'socklen_t *' (aka 'unsigned int *') for 3rd argument int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 5 warnings and 1 error generated. --- m_ping.o --- clang++ -O2 -c m_ping.cpp --- asyncdns.o --- 1 warning generated. --- m_search.o --- clang++ -O2 -c m_search.cpp --- listen.o --- *** [listen.o] Error code 1 bmake: stopped in /opt/work/net/waste/work/waste --- m_chat.o --- 4 warnings generated. --- m_file.o --- 7 warnings generated. --- m_ping.o --- In file included from m_ping.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; } ^ In file included from m_ping.cpp:21: In file included from ./m_ping.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_ping.cpp:50:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Ping: got ping with nick > 32\n"); ^ --- m_search.o --- In file included from m_search.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; } ^ In file included from m_search.cpp:21: In file included from ./mqueue.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_search.cpp:52:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (0 items)!\n"); ^ m_search.cpp:61:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (length error)!\n"); ^ m_search.cpp:73:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (filename error)!\n"); ^ m_search.cpp:83:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (meta error)!\n"); ^ m_search.cpp:93:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (no guid)!\n",x); ^ m_search.cpp:188:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply::make(): numitems=%d\n",m_numitems); ^ --- m_ping.o --- 3 warnings generated. --- m_search.o --- 8 warnings generated. --- filedb.o --- 7 warnings generated. 2 errors bmake: stopped in /opt/work/net/waste/work/waste *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/waste *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/waste