Summary: | www-client/firefox-102.3.0: fail to build from source "Need to convert sampl es to big-endian when reading from WAV file" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcus Comstedt <marcus> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Compressed build log.
Webrtc patch from my chromium set Compressed second build log Patch to add desktop capture sources for ppc64 |
Description
Marcus Comstedt
2022-09-28 16:58:26 UTC
Please attach the full build.log. Created attachment 814915 [details]
Compressed build log.
Certainly.
Created attachment 814936 [details, diff] Webrtc patch from my chromium set Also, I suddenly remember fixing this issue in chromium two years ago, with this patch: https://raw.githubusercontent.com/zeldin/chromium_be/master/chromium-89.0.4389.114/webrtc.patch I'm attaching a version which has the pathnames fixed (needs to have "libwebrtc" rather than "webrtc"), making it apply cleanly to firefox 102.3.0. Created attachment 814939 [details]
Compressed second build log
With the patch applied the build gets much further, but it still fails on webrtc things:
19:52.03 Unified_cpp_systemservices1.cpp:(.text._ZN7mozilla17TabCapturerWebrtcD2Ev[_ZN7mozilla17TabCapturerWebrtcD5Ev]+0x50): undefined reference to `webrtc::DesktopCapturer::~DesktopCapturer()'
19:52.03 Unified_cpp_systemservices1.cpp:(.text._ZN7mozilla11TabCapturer7OnFrameEPNS_3dom11ImageBitmapE+0x88): undefined reference to `webrtc::BasicDesktopFrame::BasicDesktopFrame(webrtc::DesktopSize)'
[...]
Full log attached.
Looks like the "desktop_capture" dirs are missing in the block for 'CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux"' in third_party/libwebrtc/moz.build. They are included for e.g. 'CONFIG["CPU_ARCH"] == "arm"' and 'CONFIG["CPU_ARCH"] == "aarch64"' . Created attachment 814942 [details, diff]
Patch to add desktop capture sources for ppc64
I'm attaching a patch which adds the missing sources on ppc64.
With this firefox builds. It still does not _run_, but that
seems unrelated to webrtc, so better to open a new issue I think.
|