On Thu, Nov 25, 2021 at 6:31 PM Connor McLaughlan <cont6p...@gmail.com>
wrote:

>
> Hello Adrian,
>
> both rustc 1.31 and 1.32 fail during configure:
>
> checking rustc version... 1.32.0
> checking cargo version... 1.31.0
> DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib
> --target=sparc64-unknown-linux-gnu -o /tmp/conftestz9qzPs.rlib
> /tmp/conftestveP467.rs`
> DEBUG: The command returned non-zero exit status 101.
> DEBUG: Its error output was:
> DEBUG: | thread 'main' panicked at 'specified instant was later than
> self', src/libstd/sys/unix/time.rs:298:17
> DEBUG: | note: Run with `RUST_BACKTRACE=1` for a backtrace.
> DEBUG: |
> DEBUG: | error: internal compiler error: unexpected panic
> DEBUG: |
> DEBUG: | note: the compiler unexpectedly panicked. this is a bug.
> DEBUG: |
> DEBUG: | note: we would appreciate a bug report:
> https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
> DEBUG: |
> DEBUG: | note: rustc 1.32.0 running on sparc64-unknown-linux-gnu
> DEBUG: |
> DEBUG: | note: compiler flags: --crate-type staticlib
> DEBUG: |
> ERROR: Cannot compile for sparc64-unknown-linux-gnu with /usr/bin/rustc
> The target may be unsupported, or you may not have
> a rust std library for that target installed. Try:
>
>   rustup target add sparc64-unknown-linux-gnu
>
> make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:321: build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
> status 2
>
> --------------------------------------------------------------------------------
> Build finished at 2021-11-25T17:02:23Z
>
>
> I suppose sbuild cleans everything between builds..or do i need to clean
> something?
>
> Otherwise i will go higher or back to rustc 1.35 which worked well and try
> to comment out the restriction with the documentation:
>
> "To build with current Rust, you also need to remove
> #![deny(missing_docs)] from servo/components/style/lib.rs and
> servo/components/style_traits/lib.rs."
>
>
> Regards,
> Connor
>
>

Hello Adrian,

update on the current progress:

rustc_1.30.0, rustc_1.31.0 and rustc_1.32.0 are crashing on my machine
during configure or later during rust building.
rustc_1.33.0 and rustc_1.35.0 seem to work, so when went with rustc_1.35.0,
since rustc_1.33.0 has the same constraints with missing_docs in place.
llvm stayed at 11 for now.

As stated above i removed #![deny(missing_docs)] from
servo/components/style/lib.rs and servo/components/style_traits/lib.rs
The rust part compiled without errors it seems (unsure if a second rust
part is coming later in the build).

Now after 14 hours of compile time the errors below will appear.
Have to search if there is a known solution.

However this is now getting somewhat tedious as it seems that i can not
just apply a change and test it by continuing the build.
sbuild will always start the building from scratch.

Is there a way around restarting the whole build?

Regards,
Connor

/usr/bin/g++ -o UnifiedBindings8.o -c
-I/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers
-I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include
/<<PKGBUILDDIR>>/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API
-DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-I/<<PKGBUILDDIR>>/dom/bindings
-I/<<PKGBUILDDIR>>/build-browser/dom/bindings
-I/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom
-I/<<PKGBUILDDIR>>/dom/base -I/<<PKGBUILDDIR>>/dom/battery
-I/<<PKGBUILDDIR>>/dom/canvas -I/<<PKGBUILDDIR>>/dom/geolocation
-I/<<PKGBUILDDIR>>/dom/html -I/<<PKGBUILDDIR>>/dom/indexedDB
-I/<<PKGBUILDDIR>>/dom/media/webaudio
-I/<<PKGBUILDDIR>>/dom/media/webspeech/recognition
-I/<<PKGBUILDDIR>>/dom/svg -I/<<PKGBUILDDIR>>/dom/xbl
-I/<<PKGBUILDDIR>>/dom/xml -I/<<PKGBUILDDIR>>/dom/xslt/base
-I/<<PKGBUILDDIR>>/dom/xslt/xpath -I/<<PKGBUILDDIR>>/dom/xul
-I/<<PKGBUILDDIR>>/js/xpconnect/src
-I/<<PKGBUILDDIR>>/js/xpconnect/wrappers -I/<<PKGBUILDDIR>>/layout/generic
-I/<<PKGBUILDDIR>>/layout/style -I/<<PKGBUILDDIR>>/layout/xul/tree
-I/<<PKGBUILDDIR>>/media/mtransport -I/<<PKGBUILDDIR>>/media/webrtc
-I/<<PKGBUILDDIR>>/media/webrtc/signaling/src/common/time_profiling
-I/<<PKGBUILDDIR>>/media/webrtc/signaling/src/peerconnection
-I/<<PKGBUILDDIR>>/media/webrtc/trunk
-I/<<PKGBUILDDIR>>/build-browser/ipc/ipdl/_ipdlheaders
-I/<<PKGBUILDDIR>>/ipc/chromium/src -I/<<PKGBUILDDIR>>/ipc/glue
-I/<<PKGBUILDDIR>>/build-browser/dist/include -I/usr/include/nspr
-I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include
/<<PKGBUILDDIR>>/build-browser/mozilla-config.h -Wdate-time
-D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall
-Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
-Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond
-Wimplicit-fallthrough -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=free-nonheap-object -Wno-error=multistatement-macros
-Wno-error=class-memaccess -Wformat -Wformat-overflow=2
-fno-sized-deallocation -fstack-protector-strong -Wformat
-Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse
-fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno
-pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer
-Wno-error=shadow -Wno-maybe-uninitialized  -MD -MP -MF
.deps/UnifiedBindings8.o.pp
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:14,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HiddenPluginEvent.cpp: In
member function ‘virtual nsresult
mozilla::dom::HiddenPluginEvent::QueryInterface(const nsIID&, void**)’:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1036:5:
warning: macro expands to multiple statements [-Wmultistatement-macros]
 1036 |     foundInterface = 0;
          \
      |     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1088:3: note:
in expansion of macro ‘NS_IMPL_QUERY_TAIL_INHERITING’
 1088 |   NS_IMPL_QUERY_TAIL_INHERITING(_baseClass)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HiddenPluginEvent.cpp:39:1:
note: in expansion of macro ‘NS_INTERFACE_MAP_END_INHERITING’
   39 | NS_INTERFACE_MAP_END_INHERITING(Event)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CallbackObject.h:22,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:19,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCycleCollectionParticipant.h:314:5:
note: some parts of macro expansion are not guarded by this ‘else’ clause
  314 |   } else
      |     ^~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCycleCollectionParticipant.h:318:5:
note: in expansion of macro ‘NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION’
  318 |     NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION(_class)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HiddenPluginEvent.cpp:38:1:
note: in expansion of macro ‘NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION’
   38 | NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(HiddenPluginEvent)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/prlog.h:3,
                 from /usr/include/nss/secport.h:50,
                 from /usr/include/nss/seccomon.h:27,
                 from /usr/include/nss/pk11pub.h:7,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/pk11pub.h:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CryptoKey.h:13,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/SubtleCryptoBinding.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/UnionConversions.h:65,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:230:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
At global scope:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: expected identifier before ‘(’ token
   63 |     CLEANUP,
      |     ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: expected ‘}’ before ‘(’ token
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:59:3:
note: to match this ‘{’
   59 |   {
      |   ^
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/prlog.h:3,
                 from /usr/include/nss/secport.h:50,
                 from /usr/include/nss/seccomon.h:27,
                 from /usr/include/nss/pk11pub.h:7,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/pk11pub.h:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CryptoKey.h:13,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/SubtleCryptoBinding.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/UnionConversions.h:65,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:230:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: expected unqualified-id before ‘void’
   63 |     CLEANUP,
      |     ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: expected ‘)’ before ‘void’
   63 |     CLEANUP,
      |     ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: expected ‘)’ before ‘void’
   63 |     CLEANUP,
      |     ^~~~~~~
In file included from /usr/include/nss/pk11pub.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/pk11pub.h:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CryptoKey.h:13,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/SubtleCryptoBinding.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/UnionConversions.h:65,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:230:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:63:5:
error: ‘cleanup’ does not name a type
   63 |     CLEANUP,
      |     ^~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:78:1:
error: expected unqualified-id before ‘private’
   78 | private:
      | ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:94:17:
warning: uninitialized ‘const mozilla::dom::mLoggingSerialNumber’
[-fpermissive]
   94 |   const int64_t mLoggingSerialNumber;
      |                 ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:108:3:
error: ‘Mode’ does not name a type
  108 |   Mode mMode;
      |   ^~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:120:1:
error: expected unqualified-id before ‘public’
  120 | public:
      | ^~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:131:10:
error: ‘Mode’ has not been declared
  131 |          Mode aMode);
      |          ^~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:137:28:
error: non-member function ‘void mozilla::dom::AssertIsOnOwningThread()’
cannot have cv-qualifier
  137 |   AssertIsOnOwningThread() const
      |                            ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘void mozilla::dom::ClearBackgroundActor()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:152:9:
error: ‘mMode’ was not declared in this scope
  152 |     if (mMode == VERSION_CHANGE) {
      |         ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:152:18:
error: ‘VERSION_CHANGE’ was not declared in this scope
  152 |     if (mMode == VERSION_CHANGE) {
      |                  ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:160:5:
error: ‘MaybeNoteInactiveTransaction’ was not declared in this scope; did
you mean ‘mNotedActiveTransaction’?
  160 |     MaybeNoteInactiveTransaction();
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     mNotedActiveTransaction
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
At global scope:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:174:12:
error: non-member function ‘bool mozilla::dom::IsOpen()’ cannot have
cv-qualifier
  174 |   IsOpen() const;
      |            ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:177:24:
error: non-member function ‘bool mozilla::dom::IsCommittingOrDone()’ cannot
have cv-qualifier
  177 |   IsCommittingOrDone() const
      |                        ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:185:12:
error: non-member function ‘bool mozilla::dom::IsDone()’ cannot have
cv-qualifier
  185 |   IsDone() const
      |            ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:193:20:
error: non-member function ‘bool mozilla::dom::IsWriteAllowed()’ cannot
have cv-qualifier
  193 |   IsWriteAllowed() const
      |                    ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘bool mozilla::dom::IsWriteAllowed()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:196:12:
error: ‘mMode’ was not declared in this scope
  196 |     return mMode == READ_WRITE ||
      |            ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:196:21:
error: ‘READ_WRITE’ was not declared in this scope
  196 |     return mMode == READ_WRITE ||
      |                     ^~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:197:21:
error: ‘READ_WRITE_FLUSH’ was not declared in this scope
  197 |            mMode == READ_WRITE_FLUSH ||
      |                     ^~~~~~~~~~~~~~~~
In file included from /usr/include/nss/pk11pub.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/pk11pub.h:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CryptoKey.h:13,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/SubtleCryptoBinding.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/UnionConversions.h:65,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:230:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:198:21:
error: ‘cleanup’ was not declared in this scope
  198 |            mMode == CLEANUP ||
      |                     ^~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:199:21:
error: ‘VERSION_CHANGE’ was not declared in this scope
  199 |            mMode == VERSION_CHANGE;
      |                     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
At global scope:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:203:15:
error: non-member function ‘bool mozilla::dom::IsAborted()’ cannot have
cv-qualifier
  203 |   IsAborted() const
      |               ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:210:15:
error: non-member function ‘nsresult mozilla::dom::AbortCode()’ cannot have
cv-qualifier
  210 |   AbortCode() const
      |               ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:218:40:
error: non-member function ‘void
mozilla::dom::GetCallerLocation(nsAString&, uint32_t*, uint32_t*)’ cannot
have cv-qualifier
  218 |                     uint32_t* aColumn) const;
      |                                        ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:221:3:
error: ‘Mode’ does not name a type
  221 |   Mode
      |   ^~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:229:14:
error: non-member function ‘mozilla::dom::IDBDatabase*
mozilla::dom::Database()’ cannot have cv-qualifier
  229 |   Database() const
      |              ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘mozilla::dom::IDBDatabase* mozilla::dom::Database()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:232:12:
error: ‘mDatabase’ was not declared in this scope; did you mean ‘Database’?
  232 |     return mDatabase;
      |            ^~~~~~~~~
      |            Database
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
At global scope:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:236:8:
error: non-member function ‘mozilla::dom::IDBDatabase* mozilla::dom::Db()’
cannot have cv-qualifier
  236 |   Db() const
      |        ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:242:30:
error: non-member function ‘const nsTArray<nsTString<char16_t> >&
mozilla::dom::ObjectStoreNamesInternal()’ cannot have cv-qualifier
  242 |   ObjectStoreNamesInternal() const
      |                              ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:273:25:
error: non-member function ‘int64_t mozilla::dom::LoggingSerialNumber()’
cannot have cv-qualifier
  273 |   LoggingSerialNumber() const
      |                         ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:281:21:
error: non-member function ‘nsPIDOMWindowInner*
mozilla::dom::GetParentObject()’ cannot have cv-qualifier
  281 |   GetParentObject() const;
      |                     ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:284:29:
error: non-member function ‘mozilla::dom::IDBTransactionMode
mozilla::dom::GetMode(mozilla::ErrorResult&)’ cannot have cv-qualifier
  284 |   GetMode(ErrorResult& aRv) const;
      |                             ^~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:287:14:
error: non-member function ‘mozilla::dom::DOMException*
mozilla::dom::GetError()’ cannot have cv-qualifier
  287 |   GetError() const;
      |              ^~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/Animation.h:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PendingAnimationTracker.h:10,
                 from /<<PKGBUILDDIR>>/dom/base/nsDocument.h:48,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘mozilla::dom::EventHandlerNonNull* mozilla::dom::GetOnabort()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘void
mozilla::dom::SetOnabort(mozilla::dom::EventHandlerNonNull*)’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘mozilla::dom::EventHandlerNonNull*
mozilla::dom::GetOncomplete()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘void
mozilla::dom::SetOncomplete(mozilla::dom::EventHandlerNonNull*)’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘mozilla::dom::EventHandlerNonNull* mozilla::dom::GetOnerror()’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:248:14:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  248 |       return GetEventHandler(nsGkAtoms::on##_event, EmptyString());
      \
      |              ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
error: ‘GetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:250:12:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  250 |     return GetEventHandler(nullptr, NS_LITERAL_STRING(#_event));
       \
      |            ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
In function ‘void
mozilla::dom::SetOnerror(mozilla::dom::EventHandlerNonNull*)’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:255:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  255 |       SetEventHandler(nsGkAtoms::on##_event, EmptyString(),
aCallback);   \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
error: ‘SetEventHandler’ was not declared in this scope; did you mean
‘JSEventHandler’?
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/DOMEventTargetHelper.h:257:7:
note: in definition of macro ‘IMPL_EVENT_HANDLER’
  257 |       SetEventHandler(nullptr, NS_LITERAL_STRING(#_event),
aCallback);    \
      |       ^~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:
At global scope:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:300:22:
error: non-member function ‘already_AddRefed<mozilla::dom::DOMStringList>
mozilla::dom::ObjectStoreNames()’ cannot have cv-qualifier
  300 |   ObjectStoreNames() const;
      |                      ^~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:14,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1129:1:
error: expected unqualified-id before ‘public’
 1129 | public:
          \
      | ^~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:313:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
  313 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsTraceRefcnt.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/Assertions.h:23,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/AlreadyAddRefed.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:12,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nscore.h:124:27: error:
‘virtual’ outside class declaration
  124 | #define NS_IMETHOD_(type) virtual type
      |                           ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1132:3: note:
in expansion of macro ‘NS_IMETHOD_’
 1132 |   NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override;
      \
      |   ^~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:313:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
  313 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:14,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1132:53:
error: virt-specifiers in ‘AddRef’ not allowed outside a class definition
 1132 |   NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override;
      \
      |                                                     ^~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:313:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
  313 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsTraceRefcnt.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/Assertions.h:23,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/AlreadyAddRefed.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:12,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nscore.h:124:27: error:
‘virtual’ outside class declaration
  124 | #define NS_IMETHOD_(type) virtual type
      |                           ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1133:3: note:
in expansion of macro ‘NS_IMETHOD_’
 1133 |   NS_IMETHOD_(MozExternalRefCountType) Release(void) override;
       \
      |   ^~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:313:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
  313 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:14,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1133:54:
error: virt-specifiers in ‘Release’ not allowed outside a class definition
 1133 |   NS_IMETHOD_(MozExternalRefCountType) Release(void) override;
       \
      |                                                      ^~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:313:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
  313 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsTraceRefcnt.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/Assertions.h:23,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/AlreadyAddRefed.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:12,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nscore.h:124:27: error:
‘virtual’ outside class declaration
  124 | #define NS_IMETHOD_(type) virtual type
      |                           ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nscore.h:133:29: note: in
expansion of macro ‘NS_IMETHOD_’
  133 | #define NS_IMETHOD          NS_IMETHOD_(nsresult)
      |                             ^~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/nsIRunnable.h:39:3: note: in
expansion of macro ‘NS_IMETHOD’
   39 |   NS_IMETHOD Run(void) override;
      |   ^~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:314:3:
note: in expansion of macro ‘NS_DECL_NSIRUNNABLE’
  314 |   NS_DECL_NSIRUNNABLE
      |   ^~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsThreadUtils.h:17,
                 from /<<PKGBUILDDIR>>/dom/base/nsJSEnvironment.h:19,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/CallbackObject.h:31,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:19,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsIRunnable.h:39:24: error:
virt-specifiers in ‘Run’ not allowed outside a class definition
   39 |   NS_IMETHOD Run(void) override;
      |                        ^~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:314:3:
note: in expansion of macro ‘NS_DECL_NSIRUNNABLE’
  314 |   NS_DECL_NSIRUNNABLE
      |   ^~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:318:3:
error: ‘virtual’ outside class declaration
  318 |   virtual JSObject*
      |   ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:319:65:
error: virt-specifiers in ‘WrapObject’ not allowed outside a class
definition
  319 |   WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
override;
      |
^~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:322:61:
error: virt-specifiers in ‘GetEventTargetParent’ not allowed outside a
class definition
  322 |   void GetEventTargetParent(EventChainPreVisitor& aVisitor)
override;
      |                                                             ^~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:324:1:
error: expected unqualified-id before ‘private’
  324 | private:
      | ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:328:20:
error: expected constructor, destructor, or type conversion before ‘;’ token
  328 |   ~IDBTransaction();
      |                    ^
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:353:1:
error: expected declaration before ‘}’ token
  353 | } // namespace mozilla
      | ^
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h: In
instantiation of ‘struct
mozilla::dom::IsRefcounted<mozilla::dom::IDBTransaction>’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:3280:10:
  required by substitution of ‘template<class T, class ReturnType>
ReturnType mozilla::dom::StrongOrRawPtr(T*) [with T =
mozilla::dom::IDBTransaction; ReturnType = <missing>]’
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:248:59:
  required from here
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:842:50:
error: static assertion failed: Classes derived from nsISupports are
refcounted!
  842 |   static_assert(!IsBaseOf<nsISupports, T>::value ||
IsRefcounted::value,
      |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:842:50:
note: ‘((!(bool)mozilla::IntegralConstant<bool, true>::value) ||
((bool)mozilla::dom::IsRefcounted<mozilla::dom::IDBTransaction>::value))’
evaluates to false
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/HashTable.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/TracingAPI.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/GCPolicyAPI.h:44,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/RootingAPI.h:22,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/CallArgs.h:73,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:29,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h: In
instantiation of ‘void mozilla::PodArrayZero(T (&)[N]) [with T = JS::Value;
long unsigned int N = 3]’:
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:85:30:   required from
‘JS::AutoValueArray<N>::AutoValueArray(JSContext*) [with long unsigned int
N = 3]’
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:988:36:
required from here
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/PodOperations.h:67:9:
warning: ‘void* memset(void*, int, size_t)’ clearing an object of
non-trivial type ‘union JS::Value’; use assignment or value-initialization
instead [-Wclass-memaccess]
   67 |   memset(aT, 0, N * sizeof(T));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/js/CallArgs.h:74,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:29,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/js/Value.h:313:32: note: ‘union
JS::Value’ declared here
  313 | union MOZ_NON_PARAM alignas(8) Value
      |                                ^~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:17,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h: In
instantiation of ‘static void mozilla::RefPtrTraits<U>::Release(U*) [with U
= mozilla::dom::IDBTransaction]’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:407:40:
required from ‘static void
RefPtr<T>::ConstRemovingRefPtrTraits<U>::Release(U*) [with U =
mozilla::dom::IDBTransaction; T = mozilla::dom::IDBTransaction]’
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:80:44:
required from ‘RefPtr<T>::~RefPtr() [with T = mozilla::dom::IDBTransaction]’
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:248:59:
  required from here
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:42:11: error:
request for member ‘Release’ is ambiguous
   42 |     aPtr->Release();
      |     ~~~~~~^~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsBase.h:76:40: note:
candidates are: ‘virtual MozExternalRefCountType nsISupports::Release()’
   76 |   NS_IMETHOD_(MozExternalRefCountType) Release(void) = 0;
      |                                        ^~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsUtils.h:14,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsCOMPtr.h:30,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAutoPtr.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/OwningNonNull.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RootedOwningNonNull.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingDeclarations.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/BindingUtils.h:18,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/GeneratedAtomList.h:6,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:11,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/nsISupportsImpl.h:1133:40:
note:                 ‘virtual MozExternalRefCountType
mozilla::dom::IDBWrapperCache::Release()’
 1133 |   NS_IMETHOD_(MozExternalRefCountType) Release(void) override;
       \
      |                                        ^~~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBWrapperCache.h:25:3:
note: in expansion of macro ‘NS_DECL_ISUPPORTS_INHERITED’
   25 |   NS_DECL_ISUPPORTS_INHERITED
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:302:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:129:3:
warning: ‘already_AddRefed<mozilla::dom::IDBTransaction>
mozilla::dom::Create(JSContext*, mozilla::dom::IDBDatabase*, const
nsTArray<nsTString<char16_t> >&, int)’ declared ‘static’ but never defined
[-Wunused-function]
  129 |   Create(JSContext* aCx, IDBDatabase* aDatabase,
      |   ^~~~~~
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:134:3:
warning: ‘mozilla::dom::IDBTransaction* mozilla::dom::GetCurrent()’
declared ‘static’ but never defined [-Wunused-function]
  134 |   GetCurrent();
      |   ^~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/jsapi.h:17,
                 from /<<PKGBUILDDIR>>/dom/bindings/AtomList.h:10,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HTMLSlotElementBinding.cpp:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:2:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h: In
instantiation of ‘static void mozilla::RefPtrTraits<U>::Release(U*) [with U
= mozilla::dom::StrongWorkerRef]’:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:407:40:
required from ‘static void
RefPtr<T>::ConstRemovingRefPtrTraits<U>::Release(U*) [with U =
mozilla::dom::StrongWorkerRef; T = mozilla::dom::StrongWorkerRef]’
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:80:44:
required from ‘RefPtr<T>::~RefPtr() [with T =
mozilla::dom::StrongWorkerRef]’
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/IDBTransaction.h:84:27:
  required from here
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/RefPtr.h:42:11: error:
invalid use of incomplete type ‘class mozilla::dom::StrongWorkerRef’
   42 |     aPtr->Release();
      |     ~~~~~~^~~~~~~
In file included from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/ExtendableMessageEventBinding.h:12,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/UnionConversions.h:20,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/HeadersBinding.cpp:15,
                 from
/<<PKGBUILDDIR>>/build-browser/dom/bindings/UnifiedBindings8.cpp:230:
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/dom/MessagePort.h:29:7:
note: forward declaration of ‘class mozilla::dom::StrongWorkerRef’
   29 | class StrongWorkerRef;
      |       ^~~~~~~~~~~~~~~
make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:1033: UnifiedBindings8.o]
Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/dom/bindings'
make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74: dom/bindings/target]
Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
dh_auto_build: error: cd build-browser && make -j1
LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
2
make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:321: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2021-11-28T14:33:43Z

Reply via email to