[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262077

            Bug ID: 262077
           Summary: www/chromium 98.0.4758.102 build error "invalid
                    capability name 'context'"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: george@m5p.com
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Created attachment 231971
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231971&action=edit
Compressed build log

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.