=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for postal-0.70nb4 c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c expand.cpp In file included from expand.cpp:1: ./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope postal-list.cpp expand.o -o postal-list -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lstdc++ -lpthread In file included from postal-list.cpp:1: ./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c userlist.cpp In file included from userlist.cpp:1: ./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c thread.cpp c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c results.cpp c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c address.cpp address.cpp:91:35: warning: cast from 'char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] m_addr[ind].sin_addr.s_addr = *((unsigned int *)he->h_addr_list[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c tcp.cpp In file included from tcp.cpp:3: ./tcp.h:7:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ tcp.cpp:159:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] , inet_ntoa(((sockaddr_in *)sa)->sin_addr) ^~~~~~~~~~~~~~~~~ tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] , int(ntohs(((sockaddr_in *)sa)->sin_port)) ); ^~~~~~~~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] , int(ntohs(((sockaddr_in *)sa)->sin_port)) ); ^~~~~~~~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] , int(ntohs(((sockaddr_in *)sa)->sin_port)) ); ^~~~~~~~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 1 to 2 [-Wcast-align] , int(ntohs(((sockaddr_in *)sa)->sin_port)) ); ^~~~~~~~~~~~~~~~~ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:582:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ 6 warnings generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c cmd5.cpp In file included from cmd5.cpp:2: ./cmd5.h:13:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c mutex.cpp c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c logit.cpp In file included from logit.cpp:1: ./logit.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c smtp.cpp In file included from smtp.cpp:1: ./smtp.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from smtp.cpp:1: In file included from ./smtp.h:10: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ 2 warnings generated. c++ -O2 -march=i586 -I/usr/include -I/usr/pkg/include -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope postal.cpp userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o smtp.o -o postal -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lstdc++ -lpthread -lssl -lcrypto In file included from postal.cpp:5: ./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from postal.cpp:6: In file included from ./smtp.h:10: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ postal.cpp:174:17: error: use of undeclared identifier 'SA_SIGINFO' sa.sa_flags = SA_SIGINFO; ^ 2 warnings and 1 error generated. Makefile:27: recipe for target 'postal' failed gmake: *** [postal] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/benchmarks/postal *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/benchmarks/postal