Re: thunderbird 115.10 build failure on -current

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Thu, 18 Apr 2024 15:30:43 UTC
On Thu, 18 Apr 2024 17:05:36 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> 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.

It's not that. Our thunderbird port tracks thunderbird-esr while our
firefox ports have firefox-esr and firefox (for mainline). We should
probably rename our thunderbird port to thunderbird-esr and add a
thunderbird port that tracks upstream mainline.

-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0