Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927958 - www-client/firefox[system-icu] should not require www-client/firefox[jumbo-build]
Summary: www-client/firefox[system-icu] should not require www-client/firefox[jumbo-bu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 12:59 UTC by Amit Prakash Ambasta
Modified: 2024-04-05 14:18 UTC (History)
2 users (show)

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


Attachments
Add missing headers for MOZ_TRY to intl/components/src/TimeZone.h (0002-bmo-1862601-add-missing-header-for-MOZ_TRY-in-non-un.patch,805 bytes, patch)
2024-03-27 12:59 UTC, Amit Prakash Ambasta
Details | Diff
bmo#1882942: add missing header for size_t (0001-bmo-1882942-add-missing-header-for-size_t.patch,726 bytes, patch)
2024-03-28 12:08 UTC, Amit Prakash Ambasta
Details | Diff
Add missing headers for MOZ_TRY to intl/components/src/TimeZone.h (0002-bmo-1862601-add-missing-header-for-MOZ_TRY-in-non-un.patch,805 bytes, patch)
2024-03-28 12:08 UTC, Amit Prakash Ambasta
Details | Diff
GtkCompositorWidget.h: add missing header for GdkIsWaylandDisplay in non-unified builds (0003-GtkCompositorWidget.h-add-missing-header-for-GdkIsWa.patch,825 bytes, patch)
2024-03-28 12:09 UTC, Amit Prakash Ambasta
Details | Diff
accessible/html/{HTMLSelectAccessible,HTMLTableAccessible}.cpp: add missing header DocAccessible-inl.h for non-unified builds (0004-accessible-html-HTMLSelectAccessible-HTMLTableAccess.patch,1.38 KB, patch)
2024-03-28 12:09 UTC, Amit Prakash Ambasta
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Prakash Ambasta 2024-03-27 12:59:02 UTC
Created attachment 888767 [details, diff]
Add missing headers for MOZ_TRY to intl/components/src/TimeZone.h

Currently, firefox[system-icu] requires firefox[jumbo-build]. This exists primarily since MOZ_TRY isn't available in non-unity build env.

The issue stems from a lack of `#include "mozilla/Try.h"` in TimeZone.cpp (or its included headers)

The attached patch allows for non-unified builds even w/ [system-icu] enabled. We simply include the relevant header in TimeZone.h, which in turn is included by TimeZone.cpp.

Including this header has no-impact on unity builds either.
Comment 1 Amit Prakash Ambasta 2024-03-28 12:08:15 UTC
Created attachment 888909 [details, diff]
bmo#1882942: add missing header for size_t
Comment 2 Amit Prakash Ambasta 2024-03-28 12:08:58 UTC
Created attachment 888910 [details, diff]
Add missing headers for MOZ_TRY to intl/components/src/TimeZone.h
Comment 3 Amit Prakash Ambasta 2024-03-28 12:09:26 UTC
Created attachment 888911 [details, diff]
GtkCompositorWidget.h: add missing header for GdkIsWaylandDisplay in non-unified builds
Comment 4 Amit Prakash Ambasta 2024-03-28 12:09:53 UTC
Created attachment 888912 [details, diff]
accessible/html/{HTMLSelectAccessible,HTMLTableAccessible}.cpp: add missing header DocAccessible-inl.h for non-unified builds
Comment 5 Amit Prakash Ambasta 2024-03-28 12:10:21 UTC
Added additional [4/4] patches needed for non-jumbo builds
Comment 6 tt_1 2024-03-29 14:46:51 UTC
hi, are these patches written by you? 

If this is the case, please upstream them via https://bugzilla.mozilla.org/ the gentoo mozilla team usually only adds patches to the gentoo patchset if they have landed in nightly, so if you can get them merged into nightly it will most likely be possible to add them.
Comment 7 Amit Prakash Ambasta 2024-03-29 15:00:09 UTC
W/ the exception of the size_t patch, all other patches are indeed fresh. Will try to submit to bmo/phabricator, but not sure iirc non-unity builds are a non-goal.
Comment 8 tt_1 2024-03-29 15:07:27 UTC
you should file a bug through the bugzilla first, it will connect you to the mozilla devs who are interested into non-unified builds. your patches will get reviewed much faster, in my experience with them in the past.
Comment 9 Amit Prakash Ambasta 2024-04-02 08:50:08 UTC
Filed upstream issue @ bmo#1889054
Comment 10 Joonas Niilola gentoo-dev 2024-04-05 11:53:37 UTC
Thanks for the patches and an upstream bug! I'll try to test these.
Comment 11 Larry the Git Cow gentoo-dev 2024-04-05 14:18:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcd75e0392bf8a0a14d444be7c6b842d1076597

commit 7bcd75e0392bf8a0a14d444be7c6b842d1076597
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-04-05 14:17:03 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-04-05 14:18:26 +0000

    www-client/firefox: include patch to fix jumbo-build + system-icu woes
    
    Closes: https://bugs.gentoo.org/927958
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest               | 2 +-
 www-client/firefox/firefox-124.0.2.ebuild | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)