=> 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 mu-1.12.5nb1 ninja: Entering directory `output' [1/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-option.cc.o [2/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-lang-detector.cc.o [3/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-utils.cc.o [4/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-readline.cc.o [5/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-html-to-text.cc.o [6/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-logger.cc.o ../lib/utils/mu-logger.cc:122:1: warning: 'GLogWriterOutput log_journal(GLogLevelFlags, const GLogField*, gsize, gpointer)' defined but not used [-Wunused-function] log_journal(GLogLevelFlags level, const GLogField* fields, gsize n_fields, gpointer user_data) ^~~~~~~~~~~ [7/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-utils-file.cc.o [8/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-command-handler.cc.o [9/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-test-utils.cc.o [10/211] Compiling C++ object lib/utils/libmu-utils.a.p/mu-sexp.cc.o [11/211] Compiling C++ object lib/message/libmu-message.a.p/mu-flags.cc.o FAILED: lib/message/libmu-message.a.p/mu-flags.cc.o c++ -Ilib/message/libmu-message.a.p -Ilib/message -I../lib/message -I. -I.. -Ilib/utils -I../lib/utils -Ilib -I../lib -I../thirdparty -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/gmime-3.0 -I/usr/include -I/usr/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -Wno-unused-parameter -Wno-cast-function-type -Wformat-security -Wformat=2 -Wstack-protector -fstack-protector-strong -Wno-switch-enum -Wno-array-bounds -Wno-stringop-overflow -DHAVE_CONFIG_H -O2 -D_NETBSD_SOURCE -fPIC -DFMT_HEADER_ONLY -pthread -MD -MQ lib/message/libmu-message.a.p/mu-flags.cc.o -MF lib/message/libmu-message.a.p/mu-flags.cc.o.d -o lib/message/libmu-message.a.p/mu-flags.cc.o -c ../lib/message/mu-flags.cc ../lib/message/mu-flags.cc: In function 'void test_flags_from_expr()': ../lib/message/mu-flags.cc:102:56: error: non-constant condition for static assertion static_assert(flags_from_absolute_expr("SRP").value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Seen | Flags::Replied | Flags::Passed)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:102:54: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_absolute_expr("SRP").value() == ^ In file included from ../lib/utils/mu-option.hh:23, from ../lib/utils/mu-utils.hh:37, from ../lib/message/mu-flags.hh:26, from ../lib/message/mu-flags.cc:25: ../thirdparty/tl/optional.hpp:1299:32: note: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' is not usable as a 'constexpr' function because: TL_OPTIONAL_11_CONSTEXPR T &&value() && { ^~~~~ ../thirdparty/tl/optional.hpp:1302:31: error: expression '' is not a constant expression throw bad_optional_access(); ^ ../lib/message/mu-flags.cc:104:57: error: non-constant condition for static assertion static_assert(flags_from_absolute_expr("Faul").value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Flagged | Flags::Unread | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Flags::HasAttachment | Flags::MailingList)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:104:55: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_absolute_expr("Faul").value() == ^ ../lib/message/mu-flags.cc:109:54: error: non-constant condition for static assertion static_assert(flags_from_absolute_expr("N").value() == (Flags::New|Flags::Unread)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:109:52: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_absolute_expr("N").value() == (Flags::New|Flags::Unread)); ^ ../lib/message/mu-flags.cc:112:81: error: non-constant condition for static assertion static_assert(flags_from_absolute_expr("DRT?", true/*ignore invalid*/).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Draft | Flags::Replied | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Flags::Trashed | Flags::Unread)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:112:79: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_absolute_expr("DRT?", true/*ignore invalid*/).value() == ^ ../lib/message/mu-flags.cc:115:90: error: non-constant condition for static assertion static_assert(flags_from_absolute_expr("DFPNxulabcdef", true/*ignore invalid*/).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Draft|Flags::Flagged|Flags::Passed| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Flags::New | Flags::Encrypted | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Flags::Unread | Flags::MailingList | Flags::Calendar | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Flags::HasAttachment)); ~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:115:88: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_absolute_expr("DFPNxulabcdef", true/*ignore invalid*/).value() == ^ ../lib/message/mu-flags.cc: In function 'void test_flags_from_delta_expr()': ../lib/message/mu-flags.cc:130:54: error: non-constant condition for static assertion static_assert(flags_from_delta_expr( ~~~~~~~~~~~~~~~~~~~~~~ "+S-u-N", Flags::New|Flags::Unread).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Flags::Seen); ~~~~~ ../lib/message/mu-flags.cc:130:52: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression "+S-u-N", Flags::New|Flags::Unread).value() == ^ ../lib/message/mu-flags.cc:135:52: error: non-constant condition for static assertion static_assert(flags_from_delta_expr( ~~~~~~~~~~~~~~~~~~~~~~ "+S-N", Flags::New|Flags::Unread).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Flags::Seen); ~~~~~ ../lib/message/mu-flags.cc:135:50: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression "+S-N", Flags::New|Flags::Unread).value() == ^ ../lib/message/mu-flags.cc:138:37: error: non-constant condition for static assertion static_assert(flags_from_delta_expr( ~~~~~~~~~~~~~~~~~~~~~~ "-S", Flags::Seen).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Flags::Unread); ~~~~~ ../lib/message/mu-flags.cc:138:35: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression "-S", Flags::Seen).value() == ^ ../lib/message/mu-flags.cc:141:69: error: non-constant condition for static assertion static_assert(flags_from_delta_expr("+R+P-F", Flags::Seen).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Seen|Flags::Passed|Flags::Replied)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:141:67: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_delta_expr("+R+P-F", Flags::Seen).value() == ^ ../lib/message/mu-flags.cc:148:75: error: non-constant condition for static assertion static_assert(flags_from_delta_expr("+F+T-S", Flags::None, true).value() == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Flagged|Flags::Trashed|Flags::Unread)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:148:73: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression static_assert(flags_from_delta_expr("+F+T-S", Flags::None, true).value() == ^ ../lib/message/mu-flags.cc: In function 'void test_flags_filter()': ../lib/message/mu-flags.cc:160:40: error: non-constant condition for static assertion static_assert(flags_filter(flags_from_absolute_expr( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DFPNxulabcdef", true/*ignore invalid*/).value(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MessageFlagCategory::Mailfile) == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (Flags::Draft|Flags::Flagged|Flags::Passed)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/message/mu-flags.cc:159:57: error: 'constexpr T&& tl::optional::value() && [with T = Mu::Flags]' called in a constant expression "DFPNxulabcdef", true/*ignore invalid*/).value(), ^ [12/211] Compiling C++ object lib/message/libmu-message.a.p/mu-message-file.cc.o [13/211] Compiling C++ object lib/message/libmu-message.a.p/mu-contact.cc.o [14/211] Compiling C++ object lib/message/libmu-message.a.p/mu-fields.cc.o [15/211] Compiling C++ object lib/message/libmu-message.a.p/mu-message-part.cc.o [16/211] Compiling C++ object lib/message/libmu-message.a.p/mu-priority.cc.o [17/211] Compiling C++ object lib/message/libmu-message.a.p/mu-message.cc.o [18/211] Compiling C++ object lib/message/libmu-message.a.p/mu-document.cc.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/mail/mu *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mu