maintainer-feedback requested: [Bug 262077] www/chromium 98.0.4758.102 build error "invalid capability name 'context'"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Feb 2022 22:22:56 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-chromium (Nobody)
<chromium@FreeBSD.org> for maintainer-feedback:
Bug 262077: www/chromium 98.0.4758.102 build error "invalid capability name
'context'"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262077



--- Description ---
On FreeBSD 12.3-RELEASE-p1 r371497, building www/chromium 98.0.4758.102 yields
the attached build log, ending with a bunch of these errors:

In file included from ../../base/profiler/stack_sampling_profiler.cc:5:
In file included from ../../base/profiler/stack_sampling_profiler.h:12:
In file included from ../../base/callback.h:15:
In file included from ../../base/bind.h:13:
In file included from ../../base/bind_internal.h:18:
In file included from ../../base/callback_internal.h:15:
In file included from ../../base/memory/ref_counted.h:18:
../../base/sequence_checker.h:103:48: warning: invalid capability name
'context'; capability name must be 'mutex' or 'role'
[-Wthread-safety-attributes]
class THREAD_ANNOTATION_ATTRIBUTE__(capability("context"))

Compile options shown at the beginning of the log; unchanged from successful
build of previous version.