Closed
Bug 1713302
Opened 5 years ago
Closed 5 years ago
firefox-89.0 FTBFS with gcc-11: dist/include/nsTHashtable.h:317:27: error: no matching function for call to 'nsTHashtable<detail::VoidPtrHashKey>::WithEntryHandle(....)'
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1710235
People
(Reporter: whissi, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
While preparing Firefox 89.0 release for Gentoo Linux, I noticed that current Firefox 89.0 RC2 FTBFS:
4:39.12 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/accessible/aom'
4:39.12 mkdir -p '.deps/'
4:39.13 accessible/aom/Unified_cpp_accessible_aom0.o
4:39.13 /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -o Unified_cpp_accessible_aom0.o -c -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/accessible/aom -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/base -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/generic -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/atk -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/ipc/glue -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -pipe -march=znver2 -mno-clzero -mno-mwaitx -mno-wbnoinvd -frecord-gcc-switches -fno-tree-loop-vectorize -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -MD -MP -MF .deps/Unified_cpp_accessible_aom0.o.pp -fdiagnostics-color Unified_cpp_accessible_aom0.cpp
4:44.26 In file included from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsBaseHashtable.h:22,
4:44.26 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashMap.h:13,
4:44.26 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:10,
4:44.26 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.cpp:6,
4:44.26 from Unified_cpp_accessible_aom0.cpp:2:
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h: In instantiation of 'EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = detail::VoidPtrHashKey; nsTHashtable<EntryType>::KeyType = const void*; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]':
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:817:55: required from 'nsTHashtable<nsPtrHashKey<T> >::EntryType* nsTHashtable<nsPtrHashKey<T> >::PutEntry(T*, const fallible_t&) [with T = const void; nsTHashtable<nsPtrHashKey<T> >::EntryType = nsPtrHashKey<const void>; mozilla::fallible_t = std::nothrow_t]'
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/SizeOfState.h:32:32: required from here
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: error: no matching function for call to 'nsTHashtable<detail::VoidPtrHashKey>::WithEntryHandle(const void*&, const fallible_t&, nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>)'
4:44.26 317 | return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
4:44.26 | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.26 318 | return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
4:44.26 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.26 319 | });
4:44.26 | ~~
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:432:8: note: candidate: 'template<class F> std::invoke_result_t<F, nsTHashtable<EntryType>::EntryHandle&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, F&&) [with F = F; EntryType = detail::VoidPtrHashKey]'
4:44.26 432 | auto WithEntryHandle(KeyType aKey, F&& aFunc)
4:44.26 | ^~~~~~~~~~~~~~~
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:432:8: note: template argument deduction/substitution failed:
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: note: candidate expects 2 arguments, 3 provided
4:44.26 317 | return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
4:44.26 | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.26 318 | return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
4:44.26 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.26 319 | });
4:44.26 | ~~
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: note: candidate: 'template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<EntryType>::EntryHandle>&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, const fallible_t&, F&&) [with F = F; EntryType = detail::VoidPtrHashKey]'
4:44.26 443 | auto WithEntryHandle(KeyType aKey, const mozilla::fallible_t& aFallible,
4:44.26 | ^~~~~~~~~~~~~~~
4:44.26 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: note: template argument deduction/substitution failed:
4:44.26 In file included from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/system_wrappers/type_traits:3,
4:44.26 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/stl_wrappers/type_traits:60,
4:44.26 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/move.h:57,
4:44.26 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_pair.h:59,
4:44.26 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/utility:70,
4:44.26 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/system_wrappers/utility:3,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/stl_wrappers/utility:60,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/AlreadyAddRefed.h:12,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/RefPtr.h:10,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashMap.h:11,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:10,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.cpp:6,
4:44.27 from Unified_cpp_accessible_aom0.cpp:2:
4:44.27 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits: In substitution of 'template<class _Fn, class ... _Args> using invoke_result_t = typename std::invoke_result::type [with _Fn = nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>; _Args = {mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&}]':
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: required by substitution of 'template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&> nsTHashtable<detail::VoidPtrHashKey>::WithEntryHandle<F>(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&, F&&) [with F = nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: required from 'EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = detail::VoidPtrHashKey; nsTHashtable<EntryType>::KeyType = const void*; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:817:55: required from 'nsTHashtable<nsPtrHashKey<T> >::EntryType* nsTHashtable<nsPtrHashKey<T> >::PutEntry(T*, const fallible_t&) [with T = const void; nsTHashtable<nsPtrHashKey<T> >::EntryType = nsPtrHashKey<const void>; mozilla::fallible_t = std::nothrow_t]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/SizeOfState.h:32:32: required from here
4:44.27 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:2933:11: error: no type named 'type' in 'struct std::invoke_result<nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>, mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&>'
4:44.27 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
4:44.27 | ^~~~~~~~~~~~~~~
4:44.27 In file included from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsBaseHashtable.h:22,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashMap.h:13,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:10,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.cpp:6,
4:44.27 from Unified_cpp_accessible_aom0.cpp:2:
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h: In instantiation of 'EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >; nsTHashtable<EntryType>::KeyType = const unsigned int&; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]':
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsRefCountedHashtable.h:191:54: required from 'bool nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&, const fallible_t&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >; mozilla::fallible_t = std::nothrow_t]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsRefCountedHashtable.h:180:22: required from 'void nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:193:41: required from here
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: error: no matching function for call to 'nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::WithEntryHandle(const uint32_t&, const fallible_t&, nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>)'
4:44.27 317 | return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
4:44.27 | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.27 318 | return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
4:44.27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.27 319 | });
4:44.27 | ~~
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:432:8: note: candidate: 'template<class F> std::invoke_result_t<F, nsTHashtable<EntryType>::EntryHandle&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, F&&) [with F = F; EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >]'
4:44.27 432 | auto WithEntryHandle(KeyType aKey, F&& aFunc)
4:44.27 | ^~~~~~~~~~~~~~~
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:432:8: note: template argument deduction/substitution failed:
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: note: candidate expects 2 arguments, 3 provided
4:44.27 317 | return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
4:44.27 | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.27 318 | return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
4:44.27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4:44.27 319 | });
4:44.27 | ~~
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: note: candidate: 'template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<EntryType>::EntryHandle>&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, const fallible_t&, F&&) [with F = F; EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >]'
4:44.27 443 | auto WithEntryHandle(KeyType aKey, const mozilla::fallible_t& aFallible,
4:44.27 | ^~~~~~~~~~~~~~~
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: note: template argument deduction/substitution failed:
4:44.27 In file included from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/system_wrappers/type_traits:3,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/stl_wrappers/type_traits:60,
4:44.27 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/move.h:57,
4:44.27 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_pair.h:59,
4:44.27 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/utility:70,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/system_wrappers/utility:3,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/stl_wrappers/utility:60,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/AlreadyAddRefed.h:12,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/mozilla/RefPtr.h:10,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashMap.h:11,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:10,
4:44.27 from /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.cpp:6,
4:44.27 from Unified_cpp_accessible_aom0.cpp:2:
4:44.27 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits: In substitution of 'template<class _Fn, class ... _Args> using invoke_result_t = typename std::invoke_result::type [with _Fn = nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>; _Args = {mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&}]':
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:443:8: required by substitution of 'template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&> nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::WithEntryHandle<F>(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&, F&&) [with F = nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsTHashtable.h:317:27: required from 'EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >; nsTHashtable<EntryType>::KeyType = const unsigned int&; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsRefCountedHashtable.h:191:54: required from 'bool nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&, const fallible_t&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >; mozilla::fallible_t = std::nothrow_t]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/dist/include/nsRefCountedHashtable.h:180:22: required from 'void nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >]'
4:44.27 /var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/accessible/aom/AccessibleNode.h:193:41: required from here
4:44.27 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:2933:11: error: no type named 'type' in 'struct std::invoke_result<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>, mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&>'
4:44.27 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
4:44.27 | ^~~~~~~~~~~~~~~
4:44.27 gmake[4]: *** [/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/config/rules.mk:676: Unified_cpp_accessible_aom0.o] Error 1
4:44.27 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build/accessible/aom'
4:44.27 gmake[3]: *** [/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/config/recurse.mk:72: accessible/aom/target-objects] Error 2
4:44.27 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build'
4:44.27 gmake[2]: *** [/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/config/recurse.mk:34: compile] Error 2
4:44.27 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build'
4:44.28 gmake[1]: *** [/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox-89.0/config/rules.mk:355: default] Error 2
4:44.31 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-89.0_rc2/work/firefox_build'
4:44.32 gmake: *** [client.mk:65: build] Error 2
Comment 1•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: Untriaged → General
Product: Firefox → Firefox Build System
Updated•5 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•