=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for postal-0.70nb2 c++ -O2 -march=i586 -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/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 -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/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/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/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/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/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; ^ In file included from tcp.cpp:3: In file included from ./tcp.h:28: In file included from /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/x509.h:107: /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:184:2: warning: 'long long' is a C++11 extension [-Wc++11-long-long] SHA_LONG64 h[8]; ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:178:29: note: expanded from macro 'SHA_LONG64' #define SHA_LONG64 unsigned long long ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:185:2: warning: 'long long' is a C++11 extension [-Wc++11-long-long] SHA_LONG64 Nl,Nh; ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:178:29: note: expanded from macro 'SHA_LONG64' #define SHA_LONG64 unsigned long long ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:185:2: warning: 'long long' is a C++11 extension [-Wc++11-long-long] /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:178:29: note: expanded from macro 'SHA_LONG64' #define SHA_LONG64 unsigned long long ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:187:3: warning: 'long long' is a C++11 extension [-Wc++11-long-long] SHA_LONG64 d[SHA_LBLOCK]; ^ /usr/pkgsrc/work/benchmarks/postal/work/.buildlink/include/openssl/sha.h:178:29: note: expanded from macro 'SHA_LONG64' #define SHA_LONG64 unsigned long long ^ 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:575:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:73:25: note: expanded from macro 'bswap16' (__builtin_constant_p((x)) ? \ ^ 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:575:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:74: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) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:575: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:575:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:74:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:62:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:575: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:575:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ /usr/include/sys/bswap.h:74:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ 10 warnings generated. c++ -O2 -march=i586 -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/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/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/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:212: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/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 -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:212: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: stopped in /usr/pkgsrc/benchmarks/postal *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/benchmarks/postal