Hi, I'm on the stable amd64 branch.
Up to version thunderbird-128.14.0, I could emerge by editing its ebuild in my local repository, changing --enable-dbus to --disable-dbus
I've been trying all versions (140.3.1, 140.4.0, 140.5.0) and all compilers with gcc-13, gcc-14, gcc-15, and clang-20, and always end up in the same place with the same error.
My system is free of dbus and at-spi2.
Has anyone solved this or created a patch?
Code: Select all
6:59.11 /usr/bin/g++ -o nsUserInfoUnix.o -c -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/stl_wrappers -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/system_wrappers -include /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -fstrict-flex-arrays=1 -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_SUPPORT_LEAKCHECKING -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/comm/mailnews/base/src -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/dom/base -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/netwerk/base -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/toolkit/components/jsoncpp/include -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/ipc/chromium/src -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nss -I/usr/include/libpng16 -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/mozilla-config.h -fno-rtti -pthread -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -pipe -fPIC -march=native -mtune=native -pipe -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wcomma-subscript -Wvolatile -Wno-deprecated-enum-enum-conversion -Wduplicated-cond -Wimplicit-fallthrough -Wlogical-op -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 -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -Wno-error=builtin-macro-redefined -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/nsUserInfoUnix.o.pp -fdiagnostics-color /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsUserInfoUnix.cpp
6:59.32 In file included from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray.h:3375,
6:59.32 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsIMsgDBView.h:13,
6:59.33 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgDBView.h:9,
6:59.33 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgGroupView.h:9,
6:59.33 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgSearchDBView.h:9,
6:59.34 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgXFVirtualFolderDBView.h:9,
6:59.34 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp:7:
6:59.35 In member function 'void nsTArray_base<Alloc, RelocationStrategy>::ShrinkCapacityToZero(size_type, size_t) [with Alloc = nsTArrayInfallibleAllocator; RelocationStrategy = nsTArray_RelocateUsingMemutils]',
6:59.36 inlined from 'void nsTArray_base<Alloc, RelocationStrategy>::ShiftData(index_type, size_type, size_type, size_type, size_t) [with ActualAlloc = nsTArrayInfallibleAllocator; Alloc = nsTArrayInfallibleAllocator; RelocationStrategy = nsTArray_RelocateUsingMemutils]' at /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray-inl.h:338:25,
6:59.37 inlined from 'typename ActualAlloc::ResultTypeProxy nsTArray_base<Alloc, RelocationStrategy>::InsertSlotsAt(index_type, size_type, size_type, size_t) [with ActualAlloc = nsTArrayInfallibleAllocator; Alloc = nsTArrayInfallibleAllocator; RelocationStrategy = nsTArray_RelocateUsingMemutils]' at /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray-inl.h:423:25,
6:59.38 inlined from 'nsTArray_Impl<E, Alloc>::value_type* nsTArray_Impl<E, Alloc>::InsertElementsAtInternal(index_type, size_type) [with ActualAlloc = nsTArrayInfallibleAllocator; E = unsigned int; Alloc = nsTArrayInfallibleAllocator]' at /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray.h:2321:75,
6:59.38 inlined from 'typename ActualAlloc::ResultType nsTArray_Impl<E, Alloc>::SetLength(size_type) [with ActualAlloc = nsTArrayInfallibleAllocator; E = unsigned int; Alloc = nsTArrayInfallibleAllocator]' at /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray.h:2250:48,
6:59.39 inlined from 'void nsMsgXFVirtualFolderDBView::UpdateCacheAndViewForPrevSearchedFolders(nsIMsgFolder*)' at /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp:207:22:
6:59.39 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsTArray-inl.h:315:19: warning: array subscript 1 is outside array bounds of 'nsTArray<unsigned int> [1]' [-Warray-bounds=]
6:59.39 315 | mHdr->mLength = 0;
6:59.39 | ~~~~~~~~~~~~~~^~~
6:59.40 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp: In member function 'void nsMsgXFVirtualFolderDBView::UpdateCacheAndViewForPrevSearchedFolders(nsIMsgFolder*)':
6:59.40 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgXFVirtualFolderDBView.cpp:206:24: note: at offset 8 into object 'newHits' of size 8
6:59.41 206 | nsTArray<nsMsgKey> newHits;
6:59.41 | ^~~~~~~
7:02.22 In file included from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsIFrame.h:52,
7:02.22 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/dom/base/nsFrameLoader.h:36,
7:02.22 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/dom/base/nsFrameLoaderOwner.h:11,
7:02.22 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/mozilla/dom/XULFrameElement.h:19,
7:02.22 from /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/comm/mailnews/base/src/nsMsgWindow.cpp:29:
7:02.22 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/FrameProperties.h: In instantiation of 'static mozilla::FrameProperties::PropertyType<T> mozilla::FrameProperties::ReinterpretHelper<T>::FromInternalValue(uint64_t) [with T = mozilla::SmallValueHolder<mozilla::FrameBidiData>; mozilla::FrameProperties::PropertyType<T> = mozilla::FrameBidiData; uint64_t = long unsigned int]':
7:02.23 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/FrameProperties.h:202:51: required from 'mozilla::FrameProperties::PropertyType<T> mozilla::FrameProperties::Get(Descriptor<T>, bool*) const [with T = mozilla::SmallValueHolder<mozilla::FrameBidiData>; PropertyType<T> = mozilla::FrameBidiData; Descriptor<T> = const mozilla::FramePropertyDescriptor<mozilla::SmallValueHolder<mozilla::FrameBidiData> >*]'
7:02.23 202 | return ReinterpretHelper<T>::FromInternalValue(v);
7:02.23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
7:02.23 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsIFrame.h:4451:27: required from 'mozilla::FrameProperties::PropertyType<T> nsIFrame::GetProperty(mozilla::FrameProperties::Descriptor<T>, bool*) const [with T = mozilla::SmallValueHolder<mozilla::FrameBidiData>; mozilla::FrameProperties::PropertyType<T> = mozilla::FrameBidiData; mozilla::FrameProperties::Descriptor<T> = const mozilla::FramePropertyDescriptor<mozilla::SmallValueHolder<mozilla::FrameBidiData> >*]'
7:02.23 4451 | return mProperties.Get(aProperty, aFoundResult);
7:02.23 | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
7:02.23 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsIFrame.h:1542:50: required from here
7:02.24 1542 | mozilla::FrameBidiData bidiData = GetProperty(BidiDataProperty(), &exists);
7:02.24 | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7:02.24 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/FrameProperties.h:302:13: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'mozilla::FrameProperties::PropertyType<mozilla::SmallValueHolder<mozilla::FrameBidiData> >' {aka 'struct mozilla::FrameBidiData'} from an array of 'uint64_t' {aka 'long unsigned int'} [-Wclass-memaccess]
7:02.24 302 | memcpy(&value, &aInternalValue, sizeof(value));
7:02.24 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7:02.24 /var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/dist/include/nsIFrame.h:413:8: note: 'mozilla::FrameProperties::PropertyType<mozilla::SmallValueHolder<mozilla::FrameBidiData> >' {aka 'struct mozilla::FrameBidiData'} declared here
7:02.24 413 | struct FrameBidiData {
7:02.25 | ^~~~~~~~~~~~~
7:05.52 gmake[4]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build/comm/mailnews/base/src'
7:05.52 gmake[3]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build'
7:05.52 gmake[2]: *** [/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/config/recurse.mk:34: compile] Error 2
7:05.52 gmake[2]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build'
7:05.52 gmake[1]: *** [/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0/config/rules.mk:359: default] Error 2
7:05.53 gmake[1]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird_build'
7:05.53 gmake: *** [client.mk:60: build] Error 2
7:05.63 W 0 compiler warnings present.
* ERROR: mail-client/thunderbird-140.5.0::repo_local failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 143: Called src_compile
* environment, line 4104: Called die
* The specific snippet of code:
* ${virtx_cmd} ./mach build --verbose || die
*
* If you need support, post the output of `emerge --info '=mail-client/thunderbird-140.5.0::repo_local'`,
* the complete build log and the output of `emerge -pqv '=mail-client/thunderbird-140.5.0::repo_local'`.
* The complete build log is located at '/var/log/portage/mail-client:thunderbird-140.5.0:20251207-183703.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-client/thunderbird-140.5.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/mail-client/thunderbird-140.5.0/temp/environment'.
* Working directory: '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0'
* S: '/var/tmp/portage/mail-client/thunderbird-140.5.0/work/thunderbird-140.5.0'
>>> Failed to emerge mail-client/thunderbird-140.5.0, Log file:

