===> Building for cre2-0.3.6nb5 /opt/pkg/bin/gmake all-am gmake[1]: Entering directory '/Users/pbulk/build/devel/cre2/work/cre2-0.3.6' gmake[2]: Entering directory '/Users/pbulk/build/devel/cre2/work/cre2-0.3.6' gmake[2]: Leaving directory '/Users/pbulk/build/devel/cre2/work/cre2-0.3.6' Updating ./doc/version.texi restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/Users/pbulk/build/devel/cre2/work/.tools/bin/makeinfo --version) >/dev/null 2>&1; then \ for f in doc/cre2.info doc/cre2.info-[0-9] doc/cre2.info-[0-9][0-9] doc/cre2.i[0-9] doc/cre2.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /Users/pbulk/build/devel/cre2/work/.tools/bin/makeinfo --no-split -I doc -I ./doc \ -o doc/cre2.info ./doc/cre2.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./doc/cre2.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I/opt/pkg/include -pthread -I/opt/pkg/include -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -Wno-unused-command-line-argument -DNOMINMAX -pipe -Os -I/opt/pkg/include -MT src/libcre2_la-cre2.lo -MD -MP -MF src/.deps/libcre2_la-cre2.Tpo -c -o src/libcre2_la-cre2.lo `test -f 'src/cre2.cpp' || echo './'`src/cre2.cpp libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I/Users/pbulk/build/devel/cre2/work/.buildlink/include -pthread -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -Wno-unused-command-line-argument -DNOMINMAX -pipe -Os -MT src/libcre2_la-cre2.lo -MD -MP -MF src/.deps/libcre2_la-cre2.Tpo -c src/cre2.cpp -fno-common -DPIC -o src/.libs/libcre2_la-cre2.o In file included from src/cre2.cpp:15: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:221: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:35: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/attributes.h:39: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/config.h:92: /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/policy_checks.h:81:2: error: "C++ versions less than C++17 are not supported." #error "C++ versions less than C++17 are not supported." ^ In file included from src/cre2.cpp:15: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:221: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:35: /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/attributes.h:817:26: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] const void *volatile deliberately_volatile_ptr = nullptr; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/attributes.h:819:5: error: statement not allowed in constexpr function for (;;) { ^ In file included from src/cre2.cpp:15: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:221: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:37: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/internal/low_level_scheduling.h:21: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/internal/raw_logging.h:27: /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:102:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] switch (s) { ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:108:3: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions] return "UNKNOWN"; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:103:36: note: previous return statement is here case absl::LogSeverity::kInfo: return "INFO"; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:104:39: note: previous return statement is here case absl::LogSeverity::kWarning: return "WARNING"; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:105:37: note: previous return statement is here case absl::LogSeverity::kError: return "ERROR"; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:106:37: note: previous return statement is here case absl::LogSeverity::kFatal: return "FATAL"; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:116:21: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] absl::LogSeverity n = s; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/log_severity.h:117:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] if (n < absl::LogSeverity::kInfo) n = absl::LogSeverity::kInfo; ^ In file included from src/cre2.cpp:15: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:221: /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:184:10: error: no member named 'invoke' in namespace 'std'; did you mean '__invoke'? std::invoke(std::forward(fn), std::forward(args)...); ~~~~~^~~~~~ __invoke /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__type_traits/invoke.h:284:7: note: '__invoke' declared here __nat __invoke(__any, _Args&&... __args); ^ In file included from src/cre2.cpp:15: /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:846:45: error: no member named 'optional' in namespace 'std' template struct Parse3ary> : public Parse3ary {}; ~~~~~^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:846:54: error: 'T' does not refer to a value template struct Parse3ary> : public Parse3ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:846:20: note: declared here template struct Parse3ary> : public Parse3ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:846:56: error: expected unqualified-id template struct Parse3ary> : public Parse3ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:847:45: error: no member named 'optional' in namespace 'std' template struct Parse4ary> : public Parse4ary {}; ~~~~~^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:847:54: error: 'T' does not refer to a value template struct Parse4ary> : public Parse4ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:847:20: note: declared here template struct Parse4ary> : public Parse4ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:847:56: error: expected unqualified-id template struct Parse4ary> : public Parse4ary {}; ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:850:44: error: no template named 'optional' in namespace 'std' bool Parse(const char* str, size_t n, std::optional* dest) { ~~~~~^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:866:44: error: no template named 'optional' in namespace 'std' bool Parse(const char* str, size_t n, std::optional* dest, int radix) { ~~~~~^ In file included from src/cre2.cpp:15: In file included from /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:221: /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:184:5: error: attempt to use a deleted function std::invoke(std::forward(fn), std::forward(args)...); ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/absl/base/call_once.h:218:20: note: in instantiation of function template specialization 'absl::base_internal::CallOnceImpl' requested here base_internal::CallOnceImpl( ^ /Users/pbulk/build/devel/cre2/work/.buildlink/include/re2/re2.h:1001:11: note: in instantiation of function template specialization 'absl::call_once' requested here absl::call_once(once_, &LazyRE2::Init, this); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__type_traits/nat.h:25:3: note: '~__nat' has been explicitly marked deleted here ~__nat() = delete; ^ 5 warnings and 12 errors generated. gmake[1]: *** [Makefile:1075: src/libcre2_la-cre2.lo] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/devel/cre2/work/cre2-0.3.6' gmake: *** [Makefile:816: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/cre2 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/cre2