On 8/25/23 22:15, Havard Eidnes wrote:
Hi, I have taken a first stab at updating mail/thunderbird, and my draft (which still doesn't build), is now in wip/thunderbird. The reason I started down this path is that the existing mail/thunderbird did not want to build with rust 1.71.1 (also from pkgsrc-wip) installed; the build errors out on error[E0277]: cannot multiply `u64` by `NonZeroU8` --> /usr/pkgsrc/mail/thunderbird/work/thunderbird-102.8.0/third_party/rust/mp4parse/src/lib.rs:3188:62 with a longer error message at that point.
What a coincidence. I stumbled upon the same build error so I updated it to 115.1.1 just a moment ago. It's confirmed to be compatible with rust-1.70.0.
> The setup I now have in wip/thunderbird is thunderbird version 115.1.1, and the build managed to progress for about one hour wallclock time (csh's time said "32293.502u 2835.343s 51:17.63 1141.4%") on a 16-core amd64 system (so that one can "adjust expectations" if trying to build this) before bombing out with ld: ../../toolkit/library/build/libxul.so: undefined reference to `malloc_usable_size
That's because our libc doesn't have malloc_usable_size(). www/firefox/mozilla-common.mk has this:
# malloc_usable_size() LDFLAGS.NetBSD+= -ljemalloc