Re: thunderbird 115.10 build failure on -current

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 15:05:36 UTC
On 18 Apr 2024, at 16:49, Michael Butler <imb@protected-networks.net> wrote:
> 
> On 4/17/24 17:40, Dimitry Andric wrote:
>> On 17 Apr 2024, at 23:07, Michael Butler <imb@protected-networks.net> wrote:
>> 
>>> In a clean environment with default options on -current, I get ..
>>> 
>>> error[E0412]: cannot find type `_Pred` in this scope
>>> --> /usr/ports/mail/thunderbird/work/.build/x86_64-unknown-freebsd/release/build/style-5fb673490cc43b88/out/gecko/structs.rs:34497:49
>>> |
>>> 34497 | pub _base: root::std::__1::_And<_Pred>,
>>> | ^^^^^ not found in this scope
>>> |
>>> help: you might be missing a type parameter
>>> |
>>> 34496 | pub struct tuple__EnableUTypesCtor<_Pred> {
>>> | +++++++
>>> 
>>> Any hints?
>>> 
>> Yes, this is https://bugzilla.mozilla.org/show_bug.cgi?id=1873379, but apparently the fix (https://github.com/mozilla/gecko-dev/commit/627cc80defb3fa48e82ce656536d666176b9f8d1) did not land in the most recent Thunderbird port?
>> 
>> -Dimitry
>> 
>> 
> 
> Sadly, it now compiles but fails to link :-( With MAKE_JOBS_UNSAFE set, I get ..
...
> ld: error: undefined hidden symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::assign(char const*) 
> >>> referenced by Unified_cpp_components_viaduct0.cpp 

That is https://bugzilla.mozilla.org/show_bug.cgi?id=1874059 :-)  I think these days Thunderbird is a project more "away" from the main Firefox project, so they may not keep up-to-date with the most recent commits made on the Mozilla side.

-Dimitry