=> 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 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 In file included from PctestIpv4Udp.h:40, 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, 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] 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 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 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 In file included from PctestIpv4.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] 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 In file included from PctestIpv4File.h:40, 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] PctestIpv4File.cc: In member function 'virtual int PctestIpv4File::SetOriginName(char*)': PctestIpv4File.cc:87:1: warning: control reaches end of non-void function [-Wreturn-type] 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 In file included from PctestIpv4Udp.h:40, 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] 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, 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] 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 In file included from PctestIpv4Tcp.h:40, 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] 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 In file included from PctestIpv4Icmp.h:40, 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] 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 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] 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 TestRecord.cc: In member function 'char* TestRecord::htoa(Pctest*)': TestRecord.cc:57:12: warning: 'char* strncat(char*, const char*, size_t)' specified bound 1024 equals destination size [-Wstringop-overflow=] TestRecord.cc:65:12: warning: 'char* strncat(char*, const char*, size_t)' specified bound 1024 equals destination size [-Wstringop-overflow=] # Generating version.cc for this build... 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 In file included from PctestIpv6.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] 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, 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] PctestIpv6File.cc: In member function 'virtual int PctestIpv6File::SetOriginName(char*)': PctestIpv6File.cc:104:1: warning: control reaches end of non-void function [-Wreturn-type] 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 In file included from PctestIpv6Icmp.h:44, 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] 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 In file included from PctestIpv6Tcp.h:44, 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] 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 In file included from PctestIpv6Udp.h:44, 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] 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 distcc[23924] ERROR: compile GetIfInfo.cc on 10.0.20.122:3760 failed distcc[23924] (dcc_build_somewhere) Warning: remote compilation of 'GetIfInfo.cc' failed, retrying locally distcc[23924] Warning: failed to distribute GetIfInfo.cc to 10.0.20.122:3760, running locally instead In file included from /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/ucd-snmp/ucd-snmp-config.h:2, from GetIfInfo.cc:27: /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/net-snmp-config.h:46:47: error: conflicting declaration of 'void netsnmp_unused_function()' with 'C' linkage 46 | #define NETSNMP_REQUIRE_SEMICOLON extern void netsnmp_unused_function(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/net-snmp-config.h:56:27: note: in expansion of macro 'NETSNMP_REQUIRE_SEMICOLON' 56 | #define config_require(x) NETSNMP_REQUIRE_SEMICOLON | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/library/snmpUDPDomain.h:24:1: note: in expansion of macro 'config_require' 24 | config_require(UDPIPv4Base); | ^~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/net-snmp-config.h:46:47: note: previous declaration with 'C++' linkage 46 | #define NETSNMP_REQUIRE_SEMICOLON extern void netsnmp_unused_function(void) | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/net-snmp-config.h:56:27: note: in expansion of macro 'NETSNMP_REQUIRE_SEMICOLON' 56 | #define config_require(x) NETSNMP_REQUIRE_SEMICOLON | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/net/pchar/work.aarch64eb/.buildlink/include/net-snmp/library/snmpUnixDomain.h:19:1: note: in expansion of macro 'config_require' 19 | 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] 74 | char *community = "public"; | ^~~~~~~~ GetIfInfo.cc:99:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | "system.sysDescr.0", | ^~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:100:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | "system.sysContact.0", | ^~~~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:101:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | "system.sysName.0", | ^~~~~~~~~~~~~~~~~~ GetIfInfo.cc:102:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | "system.sysLocation.0", | ^~~~~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:117:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | "interfaces.ifTable.ifEntry.ifDescr.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:118:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | "interfaces.ifTable.ifEntry.ifType.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:119:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | "interfaces.ifTable.ifEntry.ifMtu.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GetIfInfo.cc:120:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | "interfaces.ifTable.ifEntry.ifSpeed." | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distcc[23924] ERROR: compile GetIfInfo.cc on localhost failed *** [GetIfInfo.o] Error code 1 make: stopped in /tmp/pkgbuild/net/pchar/work.aarch64eb/pchar-1.5 1 error make: stopped in /tmp/pkgbuild/net/pchar/work.aarch64eb/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