Description of problem: Firefox 103.0 fails to build on ppc64le / pipewire: 75:40.86 ../../../../../config/nsinstall -R -m 644 'libipcclientcerts.so' '../../../../../dist/bin' 75:40.86 gmake[4]: Leaving directory '/builddir/build/BUILD/firefox-103.0/objdir/security/manager/ssl/ipcclientcerts/dynamic-library' 78:20.98 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices0.o: in function `webrtc::DesktopCaptureImpl::Init()': 78:21.00 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:334: undefined reference to `webrtc::DesktopCaptureOptions::CreateDefault()' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:377: undefined reference to `webrtc::DesktopCaptureOptions::~DesktopCaptureOptions()' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:340: undefined reference to `webrtc::DesktopCapturer::CreateScreenCapturer(webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:363: undefined reference to `webrtc::DesktopAndCursorComposer::DesktopAndCursorComposer(std::unique_ptr<webrtc::DesktopCapturer, std::default_delete<webrtc::DesktopCapturer> >, webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:368: undefined reference to `webrtc::DesktopCapturer::CreateTabCapturer(webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_capture_impl.cc:353: undefined reference to `webrtc::DesktopCapturer::CreateWindowCapturer(webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices0.o: in function `webrtc::DesktopDeviceInfoImpl::InitializeScreenList()': 78:21.00 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:306: undefined reference to `webrtc::DesktopCaptureOptions::CreateDefault()' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:306: undefined reference to `webrtc::DesktopCapturer::CreateScreenCapturer(webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:306: undefined reference to `webrtc::DesktopCaptureOptions::~DesktopCaptureOptions()' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices0.o: in function `webrtc::DesktopDeviceInfoImpl::InitializeWindowList()': 78:21.00 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:245: undefined reference to `webrtc::DesktopCaptureOptions::CreateDefault()' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:245: undefined reference to `webrtc::DesktopCapturer::CreateWindowCapturer(webrtc::DesktopCaptureOptions const&)' 78:21.00 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/desktop_device_info.cc:245: undefined reference to `webrtc::DesktopCaptureOptions::~DesktopCaptureOptions()' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices1.o: in function `mozilla::TabCapturerWebrtc::~TabCapturerWebrtc()': 78:22.54 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.h:86: undefined reference to `webrtc::DesktopCapturer::~DesktopCapturer()' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.h:86: undefined reference to `webrtc::DesktopCapturer::~DesktopCapturer()' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices1.o: in function `mozilla::TabCapturerWebrtc::~TabCapturerWebrtc()': 78:22.54 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.h:86: undefined reference to `webrtc::DesktopCapturer::~DesktopCapturer()' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.h:86: undefined reference to `webrtc::DesktopCapturer::~DesktopCapturer()' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices1.o: in function `mozilla::TabCapturer::OnFrame(mozilla::dom::ImageBitmap*)': 78:22.54 /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.cc:202: undefined reference to `webrtc::BasicDesktopFrame::BasicDesktopFrame(webrtc::DesktopSize)' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/dom/media/systemservices/video_engine/tab_capturer.cc:211: undefined reference to `webrtc::DesktopFrame::CopyPixelsFrom(unsigned char const*, int, webrtc::DesktopRect const&)' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices1.o:(.data.rel.ro.local._ZTVN7mozilla17TabCapturerWebrtcE[_ZTVN7mozilla17TabCapturerWebrtcE]+0x28): undefined reference to `webrtc::DesktopCapturer::SetSharedMemoryFactory(std::unique_ptr<webrtc::SharedMemoryFactory, std::default_delete<webrtc::SharedMemoryFactory> >)' 78:22.54 /usr/bin/ld: /builddir/build/BUILD/firefox-103.0/objdir/toolkit/library/build/../../../dom/media/systemservices/Unified_cpp_systemservices1.o:(.data.rel.ro.local._ZTVN7mozilla17TabCapturerWebrtcE[_ZTVN7mozilla17TabCapturerWebrtcE]+0x38): undefined reference to `webrtc::DesktopCapturer::SetExcludedWindow(long)' 79:44.36 /usr/bin/ld: libxul.so: hidden symbol `_ZN6webrtc15DesktopCapturer20CreateScreenCapturerERKNS_21DesktopCaptureOptionsE' isn't defined 79:44.36 /usr/bin/ld: final link failed: bad value
FEDORA-2022-3ebb99df47 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3ebb99df47
FEDORA-2022-3ebb99df47 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
This has been reported as https://bugzilla.mozilla.org/show_bug.cgi?id=1779545 and the workaround should be to disable webrtc support for ppc64le. The real solution is to fix the broken Makefile generator in bug https://bugzilla.mozilla.org/show_bug.cgi?id=1775202 ...
another workaround is to apply patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1775202#c2
(In reply to Dan Horák from comment #4) > another workaround is to apply patch from > https://bugzilla.mozilla.org/show_bug.cgi?id=1775202#c2 IMHO all the suggested patches needs complete make file rebuilds from gn, right? Firefox 106 should have backported it from upstream (https://phabricator.services.mozilla.com/D153354)
(In reply to Martin Stransky from comment #5) > (In reply to Dan Horák from comment #4) > > another workaround is to apply patch from > > https://bugzilla.mozilla.org/show_bug.cgi?id=1775202#c2 > > IMHO all the suggested patches needs complete make file rebuilds from gn, > right? no, the changes with OpenBSD (and some arm/aarch64) support caused a re-generation of the moz.build files in upstream and due the bug/deficiency in the generator (gn?) they produce incomplete/broken moz.build file for ppc64le. The workaround is to patch the generated moz.build as show in https://src.fedoraproject.org/rpms/firefox/pull-request/45 > Firefox 106 should have backported it from upstream > (https://phabricator.services.mozilla.com/D153354) I think this is unrelated to the current build failure
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
Ping? It seems like there are possible solutions here, can we do any of them? The problem with just disabling firefox on ppc64le is it means deliverables that include it - the Silverblue and Kinoite ostrees - fail to build. I'm not sure anyone's really running graphical Fedora on a ppc64le system, but the images are enabled so I guess someone wanted them...
I have a pending PR for firefox packaging that should help with firefox build OOMing on s390x and other secondary arches, and sharkcz has a PR with ppc64le build fixes. These together should make firefox build again on all arches we have. stransky asked me to hold off merging the fixes until next week until firefox 104 is out -- I can take care of getting the secondary arch builds going again after that.
I have rebased https://src.fedoraproject.org/rpms/firefox/pull-request/45 onto the latest rawhide and re-verified that it builds OK. And yes, there are people running Fedora desktops on their ppc64le machines :-)
FEDORA-2022-74ff7f9e74 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-74ff7f9e74
FEDORA-2022-02d2625a01 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-02d2625a01
FEDORA-2022-ee0d54e824 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee0d54e824
Proposing as a F37 Beta Freeze Exception to fix ostree ppc64le composes that are failing right now due to missing firefox.
This is actually an automatic FE, per "Bugs which entirely prevent the composition of one or more of the non-release-blocking images required to be built for a currently-pending (pre-)release" - https://fedoraproject.org/wiki/QA:SOP_freeze_exception_bug_process#Automatic_freeze_exceptions . Marking accepted.
FEDORA-2022-74ff7f9e74 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-74ff7f9e74` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-74ff7f9e74 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-02d2625a01 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-ee0d54e824 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ee0d54e824` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee0d54e824 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-ee0d54e824 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-74ff7f9e74 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-f0988ea008 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f0988ea008
FEDORA-2022-f0988ea008 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.