=> 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 nghttp2-tools-1.70.0 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0' Making all in lib gmake[2]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib' Making all in includes gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib/includes' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib/includes' gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib' CC nghttp2_pq.lo CC nghttp2_map.lo CC nghttp2_frame.lo CC nghttp2_queue.lo CC nghttp2_stream.lo CC nghttp2_buf.lo CC nghttp2_outbound_item.lo CC nghttp2_session.lo CC nghttp2_submit.lo CC nghttp2_helper.lo CC nghttp2_alpn.lo CC nghttp2_hd.lo CC nghttp2_hd_huffman.lo CC nghttp2_hd_huffman_data.lo CC nghttp2_version.lo CC nghttp2_priority_spec.lo CC nghttp2_option.lo CC nghttp2_callbacks.lo CC nghttp2_mem.lo CC nghttp2_http.lo CC nghttp2_rcbuf.lo CC nghttp2_extpri.lo CC nghttp2_ratelim.lo CC nghttp2_time.lo CC nghttp2_debug.lo CC sfparse.lo CCLD libnghttp2.la gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib' gmake[2]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/lib' Making all in tests gmake[2]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests' Making all in testdata gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests/testdata' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests/testdata' gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests' gmake[2]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/tests' Making all in third-party gmake[2]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/third-party' CC urlparse/urlparse.lo CC llhttp/src/libllhttp_la-api.lo CC llhttp/src/libllhttp_la-http.lo CC llhttp/src/libllhttp_la-llhttp.lo CCLD liburlparse.la CCLD libllhttp.la gmake[2]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/third-party' Making all in src gmake[2]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src' Making all in testdata gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src/testdata' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src/testdata' gmake[3]: Entering directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src' CXX util.o CXX http2.o CC timegm.o CXX app_helper.o CC nghttp2_gzip.o CXX nghttp.o CXX network.o CXX HtmlParser.o In file included from network.cc:25: network.h:56:23: error: 'variant' in namespace 'std' does not name a template type 56 | using Sockaddr = std::variant, | ^~~~~~~~~ network.cc:35:26: error: 'is_same_v' is not a member of 'std' 35 | if constexpr (std::is_same_v, | ^~~~~~~~~ network.cc:35:41: error: 'decay_t' is not a member of 'std' 35 | if constexpr (std::is_same_v, | ^~~~~~~ network.cc:35:49: error: expected primary-expression before 'decltype' 35 | if constexpr (std::is_same_v, | ^~~~~~~~~~~~~ network.cc:35:49: error: expected ')' before 'decltype' 35 | if constexpr (std::is_same_v, | ~ ^~~~~~~~~~~~~ | ) network.cc: At global scope: network.cc:46:23: error: 'sockaddr* nghttp2::as_sockaddr' redeclared as different kind of entity 46 | sockaddr *as_sockaddr(Sockaddr &skaddr) { | ^~~~~~~~ network.cc:32:17: note: previous declaration 'const sockaddr* nghttp2::as_sockaddr(const int&)' 32 | const sockaddr *as_sockaddr(const Sockaddr &skaddr) { | ^~~~~~~~~~~ network.cc:46:23: error: 'Sockaddr' was not declared in this scope; did you mean 'sockaddr'? 46 | sockaddr *as_sockaddr(Sockaddr &skaddr) { | ^~~~~~~~ | sockaddr network.cc:46:33: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 46 | sockaddr *as_sockaddr(Sockaddr &skaddr) { | ^~~~~~ | sockaddr network.cc:60:27: error: 'Sockaddr' does not name a type; did you mean 'sockaddr'? 60 | int sockaddr_family(const Sockaddr &skaddr) { | ^~~~~~~~ | sockaddr network.cc:64:30: error: 'Sockaddr' does not name a type; did you mean 'sockaddr'? 64 | uint16_t sockaddr_port(const Sockaddr &skaddr) { | ^~~~~~~~ | sockaddr network.cc: In function 'uint16_t nghttp2::sockaddr_port(const int&)': network.cc:65:15: error: 'visit' is not a member of 'std' 65 | return std::visit( | ^~~~~ network.cc:65:15: note: 'std::visit' is only available from C++17 onwards network.cc:66:8: error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14' 66 | [](auto &&arg) -> uint16_t { | ^~~~ network.cc: In lambda function: network.cc:67:22: error: 'decay_t' in namespace 'std' does not name a template type 67 | using T = std::decay_t; | ^~~~~~~ network.cc:69:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 69 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:69:26: error: 'is_same_v' is not a member of 'std' 69 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:69:36: error: 'T' was not declared in this scope 69 | if constexpr (std::is_same_v) { | ^ network.cc:69:50: error: expected primary-expression before '>' token 69 | if constexpr (std::is_same_v) { | ^ network.cc:69:51: error: expected primary-expression before ')' token 69 | if constexpr (std::is_same_v) { | ^ In file included from /usr/include/amd64/types.h:39, from /usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0/include-fixed/sys/types.h:54, from network.h:32: network.cc:70:26: error: request for member 'sin_port' in 'arg', which is of non-class type 'int' 70 | return ntohs(arg.sin_port); | ^~~~~~~~ network.cc:70:26: error: request for member 'sin_port' in 'arg', which is of non-class type 'int' 70 | return ntohs(arg.sin_port); | ^~~~~~~~ network.cc:70:26: error: request for member 'sin_port' in 'arg', which is of non-class type 'int' 70 | return ntohs(arg.sin_port); | ^~~~~~~~ network.cc:70:26: error: request for member 'sin_port' in 'arg', which is of non-class type 'int' 70 | return ntohs(arg.sin_port); | ^~~~~~~~ network.cc:73:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 73 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:73:26: error: 'is_same_v' is not a member of 'std' 73 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:73:36: error: 'T' was not declared in this scope 73 | if constexpr (std::is_same_v) { | ^ network.cc:73:51: error: expected primary-expression before '>' token 73 | if constexpr (std::is_same_v) { | ^ network.cc:73:52: error: expected primary-expression before ')' token 73 | if constexpr (std::is_same_v) { | ^ network.cc:74:26: error: request for member 'sin6_port' in 'arg', which is of non-class type 'int' 74 | return ntohs(arg.sin6_port); | ^~~~~~~~~ network.cc:74:26: error: request for member 'sin6_port' in 'arg', which is of non-class type 'int' 74 | return ntohs(arg.sin6_port); | ^~~~~~~~~ network.cc:74:26: error: request for member 'sin6_port' in 'arg', which is of non-class type 'int' 74 | return ntohs(arg.sin6_port); | ^~~~~~~~~ network.cc:74:26: error: request for member 'sin6_port' in 'arg', which is of non-class type 'int' 74 | return ntohs(arg.sin6_port); | ^~~~~~~~~ network.cc:79:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 79 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:79:26: error: 'is_same_v' is not a member of 'std' 79 | if constexpr (std::is_same_v) { | ^~~~~~~~~ network.cc:79:36: error: 'T' was not declared in this scope 79 | if constexpr (std::is_same_v) { | ^ network.cc:79:50: error: expected primary-expression before '>' token 79 | if constexpr (std::is_same_v) { | ^ network.cc:79:51: error: expected primary-expression before ')' token 79 | if constexpr (std::is_same_v) { | ^ network.cc: At global scope: network.cc:90:6: error: variable or field 'sockaddr_port' declared void 90 | void sockaddr_port(Sockaddr &skaddr, uint16_t port) { | ^~~~~~~~~~~~~ network.cc:90:20: error: 'Sockaddr' was not declared in this scope; did you mean 'sockaddr'? 90 | void sockaddr_port(Sockaddr &skaddr, uint16_t port) { | ^~~~~~~~ | sockaddr network.cc:90:30: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 90 | void sockaddr_port(Sockaddr &skaddr, uint16_t port) { | ^~~~~~ | sockaddr network.cc:90:47: error: expected primary-expression before 'port' 90 | void sockaddr_port(Sockaddr &skaddr, uint16_t port) { | ^~~~ network.cc:118:6: error: variable or field 'sockaddr_set' declared void 118 | void sockaddr_set(Sockaddr &skaddr, const sockaddr *sa) { | ^~~~~~~~~~~~ network.cc:118:19: error: 'Sockaddr' was not declared in this scope; did you mean 'sockaddr'? 118 | void sockaddr_set(Sockaddr &skaddr, const sockaddr *sa) { | ^~~~~~~~ | sockaddr network.cc:118:29: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 118 | void sockaddr_set(Sockaddr &skaddr, const sockaddr *sa) { | ^~~~~~ | sockaddr network.cc:118:37: error: expected primary-expression before 'const' 118 | void sockaddr_set(Sockaddr &skaddr, const sockaddr *sa) { | ^~~~~ network.cc:137:31: error: 'Sockaddr' does not name a type; did you mean 'sockaddr'? 137 | socklen_t sockaddr_size(const Sockaddr &skaddr) { | ^~~~~~~~ | sockaddr network.cc: In function '__socklen_t nghttp2::sockaddr_size(const int&)': network.cc:138:15: error: 'visit' is not a member of 'std' 138 | return std::visit( | ^~~~~ network.cc:138:15: note: 'std::visit' is only available from C++17 onwards network.cc:139:8: error: use of 'auto' in lambda parameter declaration only available with '-std=c++14' or '-std=gnu++14' 139 | [](auto &&arg) { return static_cast(sizeof(arg)); }, skaddr); | ^~~~ network.cc: At global scope: network.cc:142:27: error: 'Sockaddr' does not name a type; did you mean 'sockaddr'? 142 | bool sockaddr_empty(const Sockaddr &skaddr) { | ^~~~~~~~ | sockaddr In file included from HtmlParser.h:40, from HtmlParser.cc:25: errors.h:33:10: fatal error: format: No such file or directory 33 | #include | ^~~~~~~~ compilation terminated. network.cc: In function 'bool nghttp2::sockaddr_empty(const int&)': network.cc:143:15: error: 'holds_alternative' is not a member of 'std' 143 | return std::holds_alternative(skaddr); | ^~~~~~~~~~~~~~~~~ network.cc:143:38: error: 'monostate' is not a member of 'std' 143 | return std::holds_alternative(skaddr); | ^~~~~~~~~ network.cc: In constructor 'nghttp2::Address::Address(const sockaddr*)': network.cc:146:62: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 146 | Address::Address(const sockaddr *sa) noexcept { sockaddr_set(skaddr, sa); } | ^~~~~~ | sockaddr network.cc:146:49: error: 'sockaddr_set' was not declared in this scope; did you mean 'sockaddr_size'? 146 | Address::Address(const sockaddr *sa) noexcept { sockaddr_set(skaddr, sa); } | ^~~~~~~~~~~~ | sockaddr_size gmake[3]: *** [Makefile:1560: HtmlParser.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... network.cc: In member function 'const sockaddr* nghttp2::Address::as_sockaddr() const': network.cc:149:31: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 149 | return nghttp2::as_sockaddr(skaddr); | ^~~~~~ | sockaddr network.cc: In member function 'sockaddr* nghttp2::Address::as_sockaddr()': network.cc:152:64: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 152 | sockaddr *Address::as_sockaddr() { return nghttp2::as_sockaddr(skaddr); } | ^~~~~~ | sockaddr network.cc: In member function 'int nghttp2::Address::family() const': network.cc:154:54: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 154 | int Address::family() const { return sockaddr_family(skaddr); } | ^~~~~~ | sockaddr network.cc: In member function 'uint16_t nghttp2::Address::port() const': network.cc:156:55: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 156 | uint16_t Address::port() const { return sockaddr_port(skaddr); } | ^~~~~~ | sockaddr network.cc: In member function 'void nghttp2::Address::port(uint16_t)': network.cc:158:51: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 158 | void Address::port(uint16_t port) { sockaddr_port(skaddr, port); } | ^~~~~~ | sockaddr network.cc: In member function 'void nghttp2::Address::set(const sockaddr*)': network.cc:160:54: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 160 | void Address::set(const sockaddr *sa) { sockaddr_set(skaddr, sa); } | ^~~~~~ | sockaddr network.cc:160:41: error: 'sockaddr_set' was not declared in this scope; did you mean 'sockaddr_size'? 160 | void Address::set(const sockaddr *sa) { sockaddr_set(skaddr, sa); } | ^~~~~~~~~~~~ | sockaddr_size network.cc: In member function '__socklen_t nghttp2::Address::size() const': network.cc:162:56: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 162 | socklen_t Address::size() const { return sockaddr_size(skaddr); } | ^~~~~~ | sockaddr network.cc: In member function 'bool nghttp2::Address::empty() const': network.cc:164:53: error: 'skaddr' was not declared in this scope; did you mean 'sockaddr'? 164 | bool Address::empty() const { return sockaddr_empty(skaddr); } | ^~~~~~ | sockaddr app_helper.cc:53:10: fatal error: print: No such file or directory 53 | #include | ^~~~~~~ compilation terminated. gmake[3]: *** [Makefile:1560: network.o] Error 1 gmake[3]: *** [Makefile:1560: app_helper.o] Error 1 In file included from util.h:61, from util.cc:25: template.h:45:10: fatal error: print: No such file or directory 45 | #include | ^~~~~~~ compilation terminated. gmake[3]: *** [Makefile:1560: util.o] Error 1 In file included from util.h:61, from http2.h:42, from http2.cc:25: template.h:45:10: fatal error: print: No such file or directory 45 | #include | ^~~~~~~ compilation terminated. gmake[3]: *** [Makefile:1560: http2.o] Error 1 In file included from memchunk.h:49, from nghttp.h:61, from nghttp.cc:25: template.h:45:10: fatal error: print: No such file or directory 45 | #include | ^~~~~~~ compilation terminated. gmake[3]: *** [Makefile:1560: nghttp.o] Error 1 gmake[3]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src' gmake[2]: *** [Makefile:2534: all-recursive] Error 1 gmake[2]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0/src' gmake[1]: *** [Makefile:583: all-recursive] Error 1 gmake[1]: Leaving directory '/pbulk/work/www/nghttp2-tools/work/nghttp2-1.70.0' gmake: *** [Makefile:492: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/www/nghttp2-tools *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/nghttp2-tools