=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pchar-1.5nb7 --- main.o --- --- Kendall.o --- --- main.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c main.cc -o main.o --- Kendall.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c Kendall.cc -o Kendall.o --- Pctest.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c Pctest.cc -o Pctest.o --- PctestIpv4.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4.cc -o PctestIpv4.o --- main.o --- In file included from PctestIpv4Udp.h:40:0, from main.cc:50: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from PctestIpv6Icmp.h:44:0, from main.cc:56: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc: In function 'char* GetPrintableNetworkProtocol(NetworkProtocolType)': main.cc:299:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:302:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:305:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:308:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:311:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:315:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:318:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:321:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:324:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cc:328:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv4File.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4File.cc -o PctestIpv4File.o --- PctestIpv4.o --- In file included from PctestIpv4.cc:31:0: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv4File.o --- In file included from PctestIpv4File.h:40:0, from PctestIpv4File.cc:31: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv4Udp.o --- --- PctestIpv4Raw.o --- --- PctestIpv4Udp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4Udp.cc -o PctestIpv4Udp.o --- PctestIpv4Raw.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4Raw.cc -o PctestIpv4Raw.o In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Raw.h:40, from PctestIpv4Raw.cc:34: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv4Tcp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4Tcp.cc -o PctestIpv4Tcp.o --- PctestIpv4Udp.o --- In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Udp.cc:30: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv4Icmp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv4Icmp.cc -o PctestIpv4Icmp.o --- PctestIpv4Tcp.o --- In file included from PctestIpv4Tcp.h:40:0, from PctestIpv4Tcp.cc:34: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- ResultTable.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c ResultTable.cc -o ResultTable.o --- PctestIpv4Icmp.o --- In file included from PctestIpv4Icmp.h:40:0, from PctestIpv4Icmp.cc:33: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- TestRecord.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c TestRecord.cc -o TestRecord.o --- ResultTable.o --- ResultTable.cc: In constructor 'ResultTable::ResultTable(unsigned int, unsigned int, unsigned int, unsigned int)': ResultTable.cc:47:34: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] --- version.cc --- # Generating version.cc for this build... --- TestRecord.o --- TestRecord.cc: In member function 'char* TestRecord::htoa(Pctest*)': TestRecord.cc:57:12: warning: specified bound 1024 equals the size of the destination [-Wstringop-overflow=] TestRecord.cc:65:12: warning: specified bound 1024 equals the size of the destination [-Wstringop-overflow=] --- PctestIpv6.o --- --- PctestIpv6File.o --- --- PctestIpv6.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv6.cc -o PctestIpv6.o --- PctestIpv6File.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv6File.cc -o PctestIpv6File.o In file included from PctestIpv6File.h:44:0, from PctestIpv6File.cc:43: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv6.o --- In file included from PctestIpv6.cc:43:0: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv6Icmp.o --- --- PctestIpv6Tcp.o --- --- PctestIpv6Icmp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv6Icmp.cc -o PctestIpv6Icmp.o --- PctestIpv6Tcp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv6Tcp.cc -o PctestIpv6Tcp.o --- PctestIpv6Icmp.o --- In file included from PctestIpv6Icmp.h:44:0, from PctestIpv6Icmp.cc:56: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- PctestIpv6Udp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c PctestIpv6Udp.cc -o PctestIpv6Udp.o --- PctestIpv6Tcp.o --- In file included from PctestIpv6Tcp.h:44:0, from PctestIpv6Tcp.cc:57: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- GetIfInfo.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c GetIfInfo.cc -o GetIfInfo.o --- PctestIpv6Udp.o --- In file included from PctestIpv6Udp.h:44:0, from PctestIpv6Udp.cc:53: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] --- version.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSNMP=1 -c version.cc -o version.o --- GetIfInfo.o --- distcc[29868] ERROR: compile GetIfInfo.cc on 10.0.20.122:3642 failed distcc[29868] (dcc_build_somewhere) Warning: remote compilation of 'GetIfInfo.cc' failed, retrying locally distcc[29868] Warning: failed to distribute GetIfInfo.cc to 10.0.20.122:3642, running locally instead In file included from /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/ucd-snmp/ucd-snmp-config.h:2:0, from GetIfInfo.cc:27: /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/net-snmp-config.h:46:47: error: conflicting declaration of 'void netsnmp_unused_function()' with 'C' linkage #define NETSNMP_REQUIRE_SEMICOLON extern void netsnmp_unused_function(void) ^ /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/net-snmp-config.h:56:27: note: in expansion of macro 'NETSNMP_REQUIRE_SEMICOLON' #define config_require(x) NETSNMP_REQUIRE_SEMICOLON ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/library/snmpUDPDomain.h:24:1: note: in expansion of macro 'config_require' config_require(UDPIPv4Base); ^~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/net-snmp-config.h:46:47: note: previous declaration with 'C++' linkage #define NETSNMP_REQUIRE_SEMICOLON extern void netsnmp_unused_function(void) ^ /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/net-snmp-config.h:56:27: note: in expansion of macro 'NETSNMP_REQUIRE_SEMICOLON' #define config_require(x) NETSNMP_REQUIRE_SEMICOLON ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.sparc64/.buildlink/include/net-snmp/library/snmpUnixDomain.h:19:1: note: in expansion of macro 'config_require' config_require(SocketBase); ^~~~~~~~~~~~~~ GetIfInfo.cc: In constructor 'GetIfInfo::GetIfInfo(void*, Pctest*)': GetIfInfo.cc:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *community = "public"; ^~~~~~~~ GetIfInfo.cc:104:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ GetIfInfo.cc:104:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetIfInfo.cc:104:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetIfInfo.cc:104:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetIfInfo.cc:121:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ GetIfInfo.cc:121:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetIfInfo.cc:121:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetIfInfo.cc:121:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] distcc[29868] ERROR: compile GetIfInfo.cc on localhost failed *** [GetIfInfo.o] Error code 1 make: stopped in /tmp/pkgbuild/net/pchar/work.sparc64/pchar-1.5 1 error make: stopped in /tmp/pkgbuild/net/pchar/work.sparc64/pchar-1.5 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/pchar *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/pchar