Closed Bug 1773217 Opened 2 years ago Closed 2 years ago

Build failure with "ac_add_options --enable-bundled-fonts" on macOS

Categories

(Core :: Graphics: Text, defect, P3)

Firefox 103
x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: ti8bpxk2y, Assigned: nical)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

  • Bootstrapped the source code
  • Added ac_add_options --enable-bundled-fonts to my mozconfig
  • Run ./mach build

Actual results:

The build fails with the following output

53:32.12 ~/mozilla-unified/gfx/thebes/gfxPlatformMac.cpp:203:22: error: no member named 'gfx_bundled_fonts_activate_AtStartup' in namespace 'mozilla::StaticPrefs'
53:32.12     if (StaticPrefs::gfx_bundled_fonts_activate_AtStartup() != 0) {
53:32.12         ~~~~~~~~~~~~~^
53:32.74 1 error generated.
53:32.77 make[4]: *** [gfxPlatformMac.o] Error 1
53:32.77 make[4]: *** Waiting for unfinished jobs....
53:52.79 make[3]: *** [gfx/thebes/target-objects] Error 2
53:52.79 make[2]: *** [compile] Error 2
53:52.79 make[1]: *** [default] Error 2
53:52.79 make: *** [build] Error 2
53:52.82 1078 compiler warnings present.
53:53.07 /usr/local/bin/terminal-notifier -title Mozilla Build System -group mozbuild -message Build failed

Expected results:

The build runs till the end.

OS: Unspecified → macOS
Hardware: Unspecified → x86_64
Assignee: nobody → nical.bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S4
Priority: -- → P3
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1c79f96a721
Fix bundled fonts build on mac. r=gfx-reviewers,jrmuizel,aosmond
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: