[--disable-skia] fatal error: skia/include/core/SkCanvas.h: No such file or directory

RESOLVED FIXED in Firefox 52

Status

()

Core
Graphics
RESOLVED FIXED
a year ago
11 months ago

People

(Reporter: glandium, Assigned: mchang)

Tracking

unspecified
mozilla53
Points:
---

Firefox Tracking Flags

(firefox50 unaffected, firefox51 wontfix, firefox52 fixed, firefox53 fixed)

Details

Attachments

(2 attachments)

(Reporter)

Description

a year ago
Building with --disable-skia (which is the default when you build on a big-endian architecture (skia doesn't support big-endian)) fails with:

 0:00.64 In file included from gfx/layers/composite/LayerManagerComposite.cpp:14:0,
 0:00.64                  from obj-x86_64-pc-linux-gnu/gfx/layers/Unified_cpp_gfx_layers5.cpp:65:
 0:00.64 gfx/layers/composite/PaintCounter.h:12:40: fatal error: skia/include/core/SkCanvas.h: No such file or directory

Comment 1

a year ago
This build break relatives to the feature of Bug 1294121. ni? Mason to figure out the better solution.
Flags: needinfo?(mchang)
(Reporter)

Updated

a year ago
status-firefox50: --- → unaffected
status-firefox51: --- → affected
status-firefox52: --- → affected
status-firefox53: --- → affected
(Assignee)

Updated

a year ago
Flags: needinfo?(mchang)
(Assignee)

Comment 2

a year ago
Probably just have to add MOZ_ENABLE_SKIA around some things. Do we even support big endian architectures?
Assignee: nobody → mchang
(Assignee)

Comment 3

a year ago
Should be USE_SKIA
(Assignee)

Comment 4

a year ago
Created attachment 8815112 [details] [diff] [review]
Wrap PaintCounter with ifdef USE_SKIA

It should build w/o disable-skia now, but it won't work on mac. 

Do we have any options on when we're going to stop enabling gecko builds without skia?
Attachment #8815112 - Flags: review?(lsalzman)
Attachment #8815112 - Flags: review?(lsalzman) → review+

Comment 6

a year ago
Pushed by mchang@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1e18cb7926e
Fix --disable-skia builds. r=lsalzman

Comment 7

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/c1e18cb7926e
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox53: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
See Also: → bug 1323303
Too late for 51. Mark 51 won't fix.
status-firefox51: affected → wontfix
Hi :mchang,
Do you think this is worth uplifting to Aurora52?
Flags: needinfo?(mchang)
(Assignee)

Comment 10

a year ago
(In reply to Gerry Chang [:gchang] from comment #9)
> Hi :mchang,
> Do you think this is worth uplifting to Aurora52?

Not really. We don't officially support any builds without skia. Some platforms won't even work without skia such as OS X.
Flags: needinfo?(mchang)
(In reply to Mason Chang [:mchang] from comment #10)
> (In reply to Gerry Chang [:gchang] from comment #9)
> > Hi :mchang,
> > Do you think this is worth uplifting to Aurora52?
> 
> Not really. We don't officially support any builds without skia. Some
> platforms won't even work without skia such as OS X.

The cutoff for officially retiring non-Skia builds is currently 53 (see bug 1323303). I would at least recommend keeping 52 (for ESR) in whatever quasi-unknown-working state we can. So as annoying as it is, if this breaks the non-Skia builds in 52, I would recommend uplifting this already. That way we can always point people to the ESR if they complain about Skia requirements in 53 onward.
Created attachment 8828461 [details] [diff] [review]
Wrap PaintCounter with ifdef USE_SKIA (52)

The original patch bitrotted a bit against 52. I merely cleaned this up to apply to 52 but made no other changes.
Attachment #8828461 - Flags: review?(mchang)
(Assignee)

Updated

a year ago
Attachment #8828461 - Flags: review?(mchang) → review+
Comment on attachment 8828461 [details] [diff] [review]
Wrap PaintCounter with ifdef USE_SKIA (52)

Approval Request Comment
[Feature/Bug causing the regression]: bug 1294121
[User impact if declined]: Builds with Skia disabled will fail. This is mainly used for tier-3 platforms which we'd like to keep supporting up to the 52 ESR cutoff. With 53 onward we're no longer supporting building without Skia, but part of that plan is to point such users back to 52.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no 
[List of other uplifts needed for the feature/fix]: aurora (52)
[Is the change risky?]: no
[Why is the change risky/not risky?]: Doesn't affect any of our normal builds which always use Skia, and we've already tested this in 52.
[String changes made/needed]: None
Attachment #8828461 - Flags: approval-mozilla-aurora?
Comment on attachment 8828461 [details] [diff] [review]
Wrap PaintCounter with ifdef USE_SKIA (52)

fix builds without skia, aurora52+
Attachment #8828461 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+

Comment 15

a year ago
bugherderuplift
https://hg.mozilla.org/releases/mozilla-aurora/rev/42afdb8f7e6b
status-firefox52: affected → fixed
You need to log in before you can comment on or make changes to this bug.