Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914843 - mail-client/thunderbird-115.3.0 is missing Firefox ppc64 webrtc patch
Summary: mail-client/thunderbird-115.3.0 is missing Firefox ppc64 webrtc patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-27 17:08 UTC by darkbasic
Modified: 2023-10-12 08:32 UTC (History)
1 user (show)

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


Attachments
build.log (thunderbird-115.3.0.build.log,48.19 KB, text/plain)
2023-09-27 17:09 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2023-09-27 17:08:39 UTC
With --disable-webrtc it builds fine so I guess it's missing the webrtc ppc64 patch that's been used in Firefox.

# emerge --info
Portage 3.0.51 (python 3.11.5-final-0, default/linux/ppc64le/17.0/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.5.5-gentoo-dist ppc64le)
=================================================================
System uname: Linux-6.5.5-gentoo-dist-ppc64le-POWER9,_altivec_supported-with-glibc2.37
KiB Mem:    65402444 total,  19781252 free
KiB Swap:   16777212 total,  12216068 free
Timestamp of repository bobwya: Wed, 27 Sep 2023 09:16:37 +0000
Head commit of repository bobwya: 3bc6966e52aad1acdf46cc01e29aae892fb1c61b

Timestamp of repository gentoo: Wed, 27 Sep 2023 16:16:38 +0000
Head commit of repository gentoo: aeee5690774a5bb37bff4d771326e0089e56906a

Timestamp of repository guru: Wed, 27 Sep 2023 09:16:35 +0000
Head commit of repository guru: 295660a13a9329ac8c3d0fe64ad10bd29fd045bd

Timestamp of repository pf4public: Wed, 27 Sep 2023 09:16:37 +0000
Head commit of repository pf4public: b7f1c99ec7d2a8c7a0631e5a29849c153724df32

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8.2 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/ccache:           4.8.2::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.11::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

bobwya
    location: /var/db/repos/bobwya
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/bobwya.git
    masters: gentoo
    priority: -1100
    volatile: False

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

darkbasic
    location: /var/db/repos/darkbasic
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE @FREE unRAR fping freedist Microsoft-vscode SSPL-1"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9"
GENTOO_MIRRORS="https://gentoo.mirror.garr.it/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa bluetooth branding btrfs bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm grub gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opencl opengl openmp pam pango pcre pdf pipewire png policykit ppc64 ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zeroconf zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx2 vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" QEMU_USER_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 darkbasic 2023-09-27 17:09:17 UTC
Created attachment 871533 [details]
build.log
Comment 2 Joonas Niilola gentoo-dev 2023-10-04 12:53:34 UTC
Hmm, if you edit the ebuild to use the latest patch set will it work?

From
  FIREFOX_PATCHSET="firefox-115esr-patches-05.tar.xz"

To
  FIREFOX_PATCHSET="firefox-115esr-patches-06.tar.xz"

I see the only difference between these is the ppc64 patch so...

$ diff -Naur ff tb
diff -Naur ff/firefox-patches/0023-bgo-908297-ppc64-webrtc.patch tb/firefox-patches/0023-bgo-908297-ppc64-webrtc.patch
--- ff/firefox-patches/0023-bgo-908297-ppc64-webrtc.patch	2023-09-06 10:43:49.000000000 +0300
+++ tb/firefox-patches/0023-bgo-908297-ppc64-webrtc.patch	2023-07-04 11:47:30.000000000 +0300
@@ -1,7 +1,10 @@
-diff -r 4cb22dd449d6 third_party/libwebrtc/moz.build
---- a/third_party/libwebrtc/moz.build   Mon Aug 07 08:16:50 2023 +0000
-+++ b/third_party/libwebrtc/moz.build   Tue Aug 08 13:57:02 2023 -0700
-@@ -603,16 +603,26 @@
+#https://www.talospace.com/2023/06/firefox-114-on-power.html
+#https://gist.github.com/classilla/95b5dd53627528448f8512a82205672c
+
+diff -r 954df08c7f0b third_party/libwebrtc/moz.build
+--- a/third_party/libwebrtc/moz.build	Tue Jun 06 08:55:21 2023 +0000
++++ b/third_party/libwebrtc/moz.build	Mon Jun 19 09:33:12 2023 -0700
+@@ -595,16 +595,28 @@
          "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
          "/third_party/libwebrtc/modules/portal/portal_gn",
          "/third_party/libwebrtc/third_party/drm/drm_gn",
@@ -13,6 +16,8 @@
 +if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
 +
 +    DIRS += [
++        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
++        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
 +        "/third_party/libwebrtc/modules/portal/portal_gn",
 +        "/third_party/libwebrtc/third_party/drm/drm_gn",
 +        "/third_party/libwebrtc/third_party/gbm/gbm_gn",
@@ -27,4 +32,4 @@
          "/third_party/libwebrtc/common_audio/common_audio_neon_gn"
      ]
  
- if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":
\ No newline at end of file
+ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":

I think at some point I messed that patch up, what went to 102, what to 115 and what to 116+. I've no idea what works anymore :P
Comment 3 darkbasic 2023-10-11 14:32:32 UTC
With firefox-115esr-patches-06.tar.xz it builds!
Comment 4 Larry the Git Cow gentoo-dev 2023-10-12 08:32:19 UTC
The bug has been closed via the following commit(s):

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

commit 2ff7ad561e351a379e549d45f07003d13de0bc54
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-10-12 08:31:47 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-12 08:32:16 +0000

    mail-client/thunderbird: add 115.3.2
    
    Closes: https://bugs.gentoo.org/914843
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   |   66 +
 mail-client/thunderbird/thunderbird-115.3.2.ebuild | 1313 ++++++++++++++++++++
 2 files changed, 1379 insertions(+)