Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854591 - www-client/firefox: 102esr bump (also mail-client/thunderbird-102)
Summary: www-client/firefox: 102esr bump (also mail-client/thunderbird-102)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 866259
Blocks:
  Show dependency tree
 
Reported: 2022-06-27 14:00 UTC by Joonas Niilola
Modified: 2022-09-21 14:36 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for thunderbird-102 derived from firefox (thunderbird-102.0.ebuild,34.91 KB, text/plain)
2022-07-01 07:03 UTC, /cbx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2022-06-27 14:00:13 UTC
ESR will be bumped when upstream feels like it's ready to be distributed to users. This usually takes 2-3 releases to weed out bugs, so an estimate would be august/september.

91esr will be supported by upstream until that happens, and security fixes provided until then. We may offer 102esr earlier, but most likely only 91esr will be kept stabilized for now. 

This time there also doesn't seem to be any "critical" reason to switch, only media-libs/dav1d support is a bit eh, but it's patched in both esr and rapid. Wayland-only support is tempting, but still being worked on (e.g. no pgo support yet).

Opening this bug early so everyone is aware of the status.
Comment 1 Joonas Niilola gentoo-dev 2022-06-29 05:07:11 UTC
Same goes with Thunderbird,
https://www.thunderbird.net/en-US/thunderbird/102.0/releasenotes/

"Thunderbird version 102.0 is only offered as direct download from thunderbird.net and not as an upgrade from Thunderbird version 91 or earlier. A future release will provide updates from earlier versions."

Weeding out biggest bugs etc usually takes 2-3 months (2-3 releases).
Comment 2 /cbx 2022-07-01 07:03:03 UTC
Created attachment 789146 [details]
Ebuild for thunderbird-102 derived from firefox

For those interested and fearless people out there: My ebuild for thunderbird-102.0. Seems to work with X and wayland on amd64.
Comment 3 Derek Dolney 2022-07-05 22:01:10 UTC
FWIW, IMO a "critical" reason to switch is that thunderbird 102 now supports to permanently decrypt OpenPGP encrypted messages to a folder. This finally replaces the old enigmail plugin which lost support after thunderbird 68. Since 2020 I have had myself pinned at thunderbird 68, and deps like rust 1.47, firefox 78, in order to have this functionality.

I will try the thunderbird-102 ebuild posted here and report problems.
Comment 4 Sorrow 2022-07-09 13:43:17 UTC
Is rapid branch going to update to 102.0.1?
Comment 5 Manfred Knick 2022-07-24 17:01:50 UTC
In between, mail-client/thunderbird has arrived @ version 102.0.3

copy & rename the ebuild :


* ERROR: mail-client/thunderbird-102.0.3::mkn_local_overlay failed (install phase):
 *   !!! newins: /var/tmp/portage/mail-client/thunderbird-102.0.3/files/distribution.ini does not exist
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 17:02:45 UTC
(In reply to Manfred Knick from comment #5)
> In between, mail-client/thunderbird has arrived @ version 102.0.3

That just sounds like you forgot to copy files into your overlay. In any case, not relevant.
Comment 7 Joonas Niilola gentoo-dev 2022-07-26 06:49:42 UTC
So here are my plans: 
 1: Get the new mozilla-mach.eclass into the tree. It's way easier to do when there are 3 ebuilds around, instead of 6+. (and it's most likely going to be extended to spidermonkey at some point).
 2: It'd be nice to get wayland+pgo to work simultaneously with mozilla-mach.eclass, but that's not a priority.
 3: Add the new firefox & thunderbird versions as unkeyworded for now - especially updating thunderbird could be dangerous as usually your profile won't work if you downgrade between esr versions. 

I'm also going to remove all of our custom vaapi patches from 102esr. They were unfortunately shipped for 103, but I'm sure we're going to hit issues with them on esr during the following ~12 months. They've been rather painful to deal with already. 
I'm 50-50 on the wayland patches... they'd help with thunderbird but I also fear we're eventually run into issues with them. Maybe keep esr (and thunderbird) X11-only for now, as wayland sounds a bit too experimental at the moment...

I would've liked to get both eclasses done this summer, but I've been, to my surprise, incredibly busy with work and other stuff. Hopefully now's a bit more silent time allowing me to focus on this.
Comment 8 Derek Dolney 2022-08-07 19:53:20 UTC
Just FWIW: I built 102.0.3 and had no problems migrating settings and messages even from the very old thunderbird 68 I was still using. I just had to import my PGP key into thunderbird, because thunderbird doesn't integrate with GnuPG, but that is straightforward. Later, I upgraded to 102.1.0 and this version also seems ok.

However, just a note to others in case anyone else is interested, this version does not provide a message filter to permanently decrypt incoming messages. You have to manually do something like ctrl-a to select all messages->right-click->copy as decrypted to->select a folder. (But I was basically doing equivalent work with enigmail anyway because that filter never seemed to get all the messages.)
Comment 9 George L. Emigh 2022-08-08 22:57:43 UTC
Sorry for the noise.
On this Thunderbird 102.1.1 release page:
https://www.thunderbird.net/en-US/thunderbird/102.1.1/releasenotes/

It states that:
Thunderbird version 102.1.1 is only offered as a direct download from thunderbird.net and not as an upgrade from Thunderbird version 91 or earlier. A future release will provide updates from earlier versions.

So is it correct to say we should not expect to see Thunderbird 102.x.x in Gentoo until they are offering an upgrade path for Thunderbird 91.x.x ?
Comment 10 Joonas Niilola gentoo-dev 2022-08-09 06:39:28 UTC
(In reply to George L. Emigh from comment #9)
> It states that:
> Thunderbird version 102.1.1 is only offered as a direct download from
> thunderbird.net and not as an upgrade from Thunderbird version 91 or
> earlier. A future release will provide updates from earlier versions.
> 
> So is it correct to say we should not expect to see Thunderbird 102.x.x in
> Gentoo until they are offering an upgrade path for Thunderbird 91.x.x ?

Yes. At least not with stable keywords, the next major thunderbird-102esr release will most likely be added as unstable. After I finish with the new mozilla eclass thunderbird-102 and thunderbird-bin-102 could be pushed with no keywords.

Historically after you upgraded with your current profile you couldn't rollback anymore, so if the new version didn't work and you wanted to downgrade it was game over. So Mozilla, or the Thunderbird developers now, wants to make sure the mail client works before offering the update. I believe that's most likely due to the bundled sqlite differences between major esr releases. 

We could of course deal with this in ebuilds utilizing REPLACING_VERSIONS or has_version, but it's such a mess. Just bear with it for another month :)
Comment 11 Manfred Knick 2022-08-09 12:28:24 UTC
(In reply to Joonas Niilola from comment #10)

...
> Historically after you upgraded with your current profile you couldn't
> rollback anymore, so if the new version didn't work and you wanted to
> downgrade it was game over. 
...

Confirmed.

If you try early, consider back-to-back reinsurance as facultative:

!!!   copy / backup your profile   !!!

      [ e.g., "cp -a  ~/.thunderbird/ ..." ]

At least in a former version, for me,
this ensured a way back to the previous, working situation.
Comment 12 cyrillic 2022-08-11 15:14:39 UTC
An ebuild for dev-lang/spidermonkey-102 would be nice too.
... just because dev-libs/gjs-9999 is now looking for mozjs-102
Comment 13 Larry the Git Cow gentoo-dev 2022-08-16 07:55:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4244d268d795cf30a18adb4e03864f6cbf20e23

commit f4244d268d795cf30a18adb4e03864f6cbf20e23
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-16 07:47:01 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-16 07:55:02 +0000

    dev-lang/spidermonkey: add 102.1.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/spidermonkey/Manifest                     |   3 +
 .../files/spidermonkey-102-known-test-failures.txt |   5 +
 dev-lang/spidermonkey/spidermonkey-102.1.0.ebuild  | 403 +++++++++++++++++++++
 3 files changed, 411 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2022-08-21 12:20:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91113a4a1602de367562a48af946eac572ab4a4c

commit 91113a4a1602de367562a48af946eac572ab4a4c
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-21 12:14:10 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-21 12:14:10 +0000

    www-client/firefox: add 102.1.0 (102esr)
    
     - add python-3.11 compatibility patch,
     - no experimental vaapi or wayland-only patches included in this esr ebuild
       so X deps are still required to build 102esr and vaapi doesn't work - use
       the rapid release (103+) which supports both,
     - this ebuild includes a fatal check if upgrading from 91esr,
     - this version is unkeyworded, the next release (102.2.0) will be marked as
       ~testing.
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest               |   99 +++
 www-client/firefox/firefox-102.1.0.ebuild | 1284 +++++++++++++++++++++++++++++
 2 files changed, 1383 insertions(+)
Comment 15 Larry the Git Cow gentoo-dev 2022-08-22 16:50:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f7a9493b377288d773da4e4e7b4c45845c6c4c

commit f0f7a9493b377288d773da4e4e7b4c45845c6c4c
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-22 16:45:41 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-22 16:50:28 +0000

    mail-client/thunderbird: add 102.0.3
    
     - no experimental wayland-only patches included in this ebuild,
     - pgo is still broken,
     - unkeyworded for testing.
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   |   66 ++
 mail-client/thunderbird/metadata.xml               |    3 +
 mail-client/thunderbird/thunderbird-102.0.3.ebuild | 1179 ++++++++++++++++++++
 3 files changed, 1248 insertions(+)
Comment 16 Robert G. Siebeck 2022-08-22 20:11:47 UTC
thunderbird-102.0.3 fails to build with use=system-python-libs with the following exception:

[...]
psutil<=5.8.0,>=5.4.2: Installed with unexpected version "5.9.1"
Traceback (most recent call last):
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/./mach", line 96, in <module>
    main(sys.argv[1:])
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/./mach", line 88, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/./mach", line 35, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/./mach", line 21, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/comm/build/mach_initialize.py", line 50, in initialize
    driver = mach_init.initialize(topsrcdir)
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/build/mach_initialize.py", line 153, in initialize
    _activate_python_environment(
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/build/mach_initialize.py", line 99, in _activate_python_environment
    mach_environment.activate()
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/python/mach/mach/site.py", line 359, in activate
    self.ensure()
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/python/mach/mach/site.py", line 337, in ensure
    result = self._up_to_date()
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/python/mach/mach/site.py", line 322, in _up_to_date
    _assert_pip_check(
  File "/var/tmp/portage/mail-client/thunderbird-102.0.3/work/thunderbird-102.0.3/python/mach/mach/site.py", line 1107, in _assert_pip_check
    raise Exception(
Exception: The "mach" site is not compatible with the installed system Python packages.

The only version of dev-python/psutil in portage is 5.9.1, so I guess that needs  a bump.
Comment 17 Joonas Niilola gentoo-dev 2022-08-23 05:46:38 UTC
(In reply to Robert G. Siebeck from comment #16)
> thunderbird-102.0.3 fails to build with use=system-python-libs with the
> following exception:
> 

Oh yea that should be masked, but now that you mention it, I see many successful runs here with it enabled... There seems to be some weird interaction with "pip" again.
Comment 18 Larry the Git Cow gentoo-dev 2022-08-23 06:27:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7d76a25544123894373db704bc3d37b8bcc851

commit 9e7d76a25544123894373db704bc3d37b8bcc851
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-23 05:51:25 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-23 05:51:25 +0000

    profiles/base: use.mask mail-client/thunderbird[system-python-libs]
    
     - experimental and unfinished work.
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/base/package.use.mask | 1 +
 1 file changed, 1 insertion(+)
Comment 19 Larry the Git Cow gentoo-dev 2022-08-23 13:11:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c979a84e216ed18d848f434fc958cc15312619b7

commit c979a84e216ed18d848f434fc958cc15312619b7
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-23 13:10:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-23 13:11:19 +0000

    www-client/firefox: add 102.2.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest               |   98 +++
 www-client/firefox/firefox-102.2.0.ebuild | 1276 +++++++++++++++++++++++++++++
 2 files changed, 1374 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bc945e4e3e7b259b93015690178c88c118e175

commit 64bc945e4e3e7b259b93015690178c88c118e175
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-23 12:14:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-23 13:11:19 +0000

    mail-client/thunderbird: add 102.1.2
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   |   65 ++
 mail-client/thunderbird/thunderbird-102.1.2.ebuild | 1179 ++++++++++++++++++++
 2 files changed, 1244 insertions(+)
Comment 20 Vasilis Lourdas 2022-08-23 16:40:14 UTC
Hi,

When should we probably expect for 102.x to be marked stable?
Comment 21 Joonas Niilola gentoo-dev 2022-08-23 16:51:44 UTC
(In reply to Vasilis Lourdas from comment #20)
> Hi,
> 
> When should we probably expect for 102.x to be marked stable?

31-60 days from now, depending on security vulnerabilities found during this time. 102.3.0 is the targeted stable.
Comment 22 Vasilis Lourdas 2022-08-23 16:59:43 UTC
(In reply to Joonas Niilola from comment #21)
> (In reply to Vasilis Lourdas from comment #20)
> > Hi,
> > 
> > When should we probably expect for 102.x to be marked stable?
> 
> 31-60 days from now, depending on security vulnerabilities found during this
> time. 102.3.0 is the targeted stable.

Thanks! Does the same apply for the binary package too?
Comment 23 Joonas Niilola gentoo-dev 2022-08-23 17:15:33 UTC
(In reply to Vasilis Lourdas from comment #22)
> 
> Thanks! Does the same apply for the binary package too?

I'll stabilize the firefox-bin-102esr as soon as mozilla starts offering the update through their channel. Could be tomorrow, 2 weeks, 4... I haven't checked the status yet though, could be available already.
Comment 24 Vasilis Lourdas 2022-08-23 17:19:47 UTC
(In reply to Joonas Niilola from comment #23)
> I'll stabilize the firefox-bin-102esr as soon as mozilla starts offering the
> update through their channel. Could be tomorrow, 2 weeks, 4... I haven't
> checked the status yet though, could be available already.

At work (Windows 10), my Thunderbird 91.12.0 was upgraded to 101.1.2 a few days ago, so they must have started offering the in-place upgrade.

Anyway, thanks for the answers!
Comment 25 Larry the Git Cow gentoo-dev 2022-08-24 04:51:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f28ffe3e73a422c4cd02319a603b93a7a476443

commit 5f28ffe3e73a422c4cd02319a603b93a7a476443
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-24 04:49:40 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-24 04:51:07 +0000

    mail-client/thunderbird-bin: add 102.2.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird-bin/Manifest               |  66 ++++
 .../thunderbird-bin/thunderbird-bin-102.2.0.ebuild | 333 +++++++++++++++++++++
 2 files changed, 399 insertions(+)
Comment 26 Larry the Git Cow gentoo-dev 2022-08-24 07:02:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=810a8fbd0dabfc61b6ceffd1289c100ecd8c0671

commit 810a8fbd0dabfc61b6ceffd1289c100ecd8c0671
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-24 07:01:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-24 07:02:53 +0000

    mail-client/thunderbird: add 102.2.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   |   65 ++
 mail-client/thunderbird/thunderbird-102.2.0.ebuild | 1169 ++++++++++++++++++++
 2 files changed, 1234 insertions(+)
Comment 27 Larry the Git Cow gentoo-dev 2022-08-24 11:53:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a90035a43a500e0633f0dec9bad36e47b74c2f

commit d5a90035a43a500e0633f0dec9bad36e47b74c2f
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-24 11:51:02 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-24 11:53:18 +0000

    www-client/firefox: restore keywords for 102.2.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-102.2.0.ebuild | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21abb113e0b28948c1a24306e372f57a2d5d3e0e

commit 21abb113e0b28948c1a24306e372f57a2d5d3e0e
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-08-24 11:50:08 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-24 11:53:18 +0000

    www-client/firefox-bin: add 102.2.0
    
    Bug: https://bugs.gentoo.org/854591
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox-bin/Manifest                   |  98 ++++++
 www-client/firefox-bin/firefox-bin-102.2.0.ebuild | 381 ++++++++++++++++++++++
 2 files changed, 479 insertions(+)
Comment 28 tt_1 2022-08-24 13:28:53 UTC
I *think* the clearing checksums of audioipc is not needed for 102 branch? at least no patch in the 102esr tarball does touch those files, or do they?
Comment 29 Joonas Niilola gentoo-dev 2022-08-25 07:14:11 UTC
(In reply to tt_1 from comment #28)
> I *think* the clearing checksums of audioipc is not needed for 102 branch?
> at least no patch in the 102esr tarball does touch those files, or do they?

Yeah. Since 102esr is affected I thought about including it, but then backed out for providing wayland-only support which itself should fixe the issue with audioipc, if I remember correctly. At this point I may be forgetting something.
I'll remove it if it causes problems, or for the next version bump latest.

Everything should be done here now regarding this bug. Please open new bugs for any issues with these new versions.
Comment 30 cyrillic 2022-08-26 23:13:37 UTC
... on a side note
sys-auth/polkit-9999[-duktape] is now looking for mozjs-102 as well.
Comment 31 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-26 23:30:00 UTC
(In reply to cyrillic from comment #30)
> ... on a side note
> sys-auth/polkit-9999[-duktape] is now looking for mozjs-102 as well.

Please file a new bug for that.
Comment 32 Joonas Niilola gentoo-dev 2022-08-27 05:33:14 UTC
(In reply to cyrillic from comment #30)
> ... on a side note
> sys-auth/polkit-9999[-duktape] is now looking for mozjs-102 as well.

We have mozjs-102 (spidermonkey-102) in the tree. But no polkit-9999. So that's a bug in the ebuild from whatever overlay you're using, report it to the overlay authors.
Comment 33 Vasilis Lourdas 2022-09-21 14:36:38 UTC
(In reply to Joonas Niilola from comment #21)
> 31-60 days from now, depending on security vulnerabilities found during this
> time. 102.3.0 is the targeted stable.

Version 102.3.0 was just released: https://www.thunderbird.net/en-US/thunderbird/102.3.0/releasenotes/