Opened 2 years ago

Closed 2 years ago

#19717 closed enhancement (fixed)

thunderbird-128.0

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: elevated Milestone: 12.2
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New major version.

Change History (17)

comment:1 by Xi Ruoyao, 2 years ago

125 is not an ESR release. The next ESR is 128.

comment:2 by Xi Ruoyao, 2 years ago

Milestone: 12.2 → 99-Waiting
Summary: thunderbird-125.0 → thunderbird-125.0 (wait for 128)

comment:3 by Joe Locash, 2 years ago

Now at 128.0esr.

Looks they are going to be using the esr label from now on.

No release notes available yet but I'm assuming similar security updates as the Firefox-128 base.

As was the case with Firefox-128, the LLVM-18, WebRTC, and ARM changes are no longer needed.

comment:4 by Douglas R. Reno, 2 years ago

Milestone: 99-Waiting → 12.2
Owner: changed from blfs-book to Douglas R. Reno
Status: new → assigned
Summary: thunderbird-125.0 (wait for 128) → thunderbird-128.0

comment:5 by Douglas R. Reno, 2 years ago

Priority: normal → elevated

comment:6 by Douglas R. Reno, 2 years ago

The release notes for this version of Thunderbird can be found at ​https://www.thunderbird.net/en-US/thunderbird/128.0esr/releasenotes/. They are too long to list here

We'll have to keep an eye out for the security advisory upstream, but for now I will use the same set as Firefox once I have it done.

comment:7 by Tim Tassonis, 2 years ago

Has anybody had any success in builing it?

I get strange errors in the ./mach stuff

comment:8 by Douglas R. Reno, 2 years ago

Milestone: 12.2 → 99-Waiting
Summary: thunderbird-128.0 → thunderbird-128.0 (wait for next release)

Hey Tim, is this the same error you get?

I think this version is broken:

FileNotFoundError: [Errno 2] No such file or directory: 'mozbuild/srcdirs/thunderbird-128.0-419d70a4e7c9/_virtualenvs/build/bin/python'

I'm going to move this over to 99-Waiting and mark it as waiting for the next release

comment:9 by Tim Tassonis, 2 years ago

Yes, that's the one!

comment:10 by Joe Locash, 2 years ago

I've built it in both 12.1 and 12.2. As I stated, the LLVM-18, WebRTC, and ARM changes are NOT needed.

comment:11 by Douglas R. Reno, 2 years ago

Can I see your buildscript? Copy and pasting from the book directly:

cat > mozconfig << "EOF"
# If you have a multicore machine, all cores will be used.

# If you have installed wireless-tools comment out this line:
ac_add_options --disable-necko-wifi

# Uncomment the following option if you have not installed PulseAudio
#ac_add_options --enable-audio-backends=alsa

# Comment out following options if you have not installed
# recommended dependencies:
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-webp

# on some machines. It is supposed to improve startup time and it shrinks
# libxul.so by a few MB.  With recent Binutils releases the linker already
# supports a much safer and generic way for this.
ac_add_options --disable-elf-hack
export LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs"

# The BLFS editors recommend not changing anything below this line:
ac_add_options --prefix=/usr
ac_add_options --enable-application=comm/mail

ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests

# The SIMD code relies on the unmaintained packed_simd crate which
# fails to build with Rustc >= 1.78.0.  We may re-enable it once
# Mozilla port the code to use std::simd and std::simd is stabilized.
ac_add_options --disable-rust-simd

ac_add_options --enable-strip
ac_add_options --enable-install-strip

# You cannot distribute the binary if you do this.
ac_add_options --enable-official-branding

ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman

ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib

# Using sandboxed wasm libraries has been moved to all builds instead
# of only mozilla automation builds. It requires extra llvm packages
# and was reported to seriously slow the build. Disable it.
ac_add_options --without-wasm-sandboxed-libraries
EOF

export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none &&
export MOZBUILD_STATE_PATH=./mozbuild               &&
./mach build

I get:

renodr [ /sources/thunderbird-128.0 ]$ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none &&
export MOZBUILD_STATE_PATH=./mozbuild               &&
./mach build
Creating global state directory from environment variable: ./mozbuild
Creating local state directory: mozbuild/srcdirs/thunderbird-128.0-419d70a4e7c9
 0:00.40 W Clobber not needed.
 Config object not found by mach.
Error running mach:

    mach build

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file build`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

FileNotFoundError: [Errno 2] No such file or directory: 'mozbuild/srcdirs/thunderbird-128.0-419d70a4e7c9/_virtualenvs/build/bin/python'

  File "/sources/thunderbird-128.0/python/mozbuild/mozbuild/build_commands.py", line 221, in build
    return driver.build(
           ^^^^^^^^^^^^^
  File "/sources/thunderbird-128.0/python/mozbuild/mozbuild/controller/building.py", line 1087, in build
    status = self._build(
             ^^^^^^^^^^^^
  File "/sources/thunderbird-128.0/python/mozbuild/mozbuild/controller/building.py", line 1191, in _build
    config_rc = self.configure(
                ^^^^^^^^^^^^^^^
  File "/sources/thunderbird-128.0/python/mozbuild/mozbuild/controller/building.py", line 1624, in configure
    with subprocess.Popen(
         ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

in reply to:  11 ; comment:12 by Joe Locash, 2 years ago

Replying to Douglas R. Reno:

Can I see your buildscript? Copy and pasting from the book directly:

export MOZBUILD_STATE_PATH=./mozbuild               &&

This is the problem. I use

export MOZBUILD_STATE_PATH=${PWD}/mozbuild

in reply to:  12 comment:13 by Tim Tassonis, 2 years ago

Replying to Joe Locash:

Replying to Douglas R. Reno:

Can I see your buildscript? Copy and pasting from the book directly:

export MOZBUILD_STATE_PATH=./mozbuild               &&

This is the problem. I use

export MOZBUILD_STATE_PATH=${PWD}/mozbuild

Cool, yeah, that does the trick! Thank you very much!

comment:14 by Douglas R. Reno, 2 years ago

Milestone: 99-Waiting → 12.2

comment:15 by Douglas R. Reno, 2 years ago

Summary: thunderbird-128.0 (wait for next release) → thunderbird-128.0

in reply to:  6 comment:16 by Douglas R. Reno, 2 years ago

Replying to Douglas R. Reno:

The release notes for this version of Thunderbird can be found at ​https://www.thunderbird.net/en-US/thunderbird/128.0esr/releasenotes/. They are too long to list here

We'll have to keep an eye out for the security advisory upstream, but for now I will use the same set as Firefox once I have it done.

The security advisory is now available and is identical to Firefox as suspected

comment:17 by Douglas R. Reno, 2 years ago

Resolution: → fixed
Status: assigned → closed

Fixed at 65f507b732015e3f752eb1498d8f6d6565fd6ba3

SA-12.1-076 issued

Note: See TracTickets for help on using tickets.