Closed
Bug 941595
Opened 11 years ago
Closed 11 years ago
Build with system-cairo is broken
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla29
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(1 file, 6 obsolete files)
11.97 KB,
patch
|
Details | Diff | Splinter Review |
The recent trunk can't be build with system cairo (I testes gtk2 and gtk3 builds). There are missing pixman build flags in some directories, so pixman.h can't be found.
Assignee | ||
Comment 1•11 years ago
|
||
One (among the others) culprint is Bug 931404.
Comment 2•11 years ago
|
||
... which should not have changed which directories have those flags. Can you point to the change that did?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to :Ms2ger from comment #2) > ... which should not have changed which directories have those flags. Can > you point to the change that did? The pixman (cairo) flags we included indirectly here, via. chromium-config.mk. But it's difficult to point a single changeset which breaks it, because its broken all over the tree and it fails before it hits the content/events/src dir. I'm just working on a patch which brigs it back. Anyway, do you mind if I add the content/events/src/Makefile.in back?
Comment 4•11 years ago
|
||
Where? chromium-config.mk doesn't seem to have done that when it was removed in <https://hg.mozilla.org/mozilla-central/diff/c031747aac8a/ipc/chromium/chromium-config.mk>.
Comment 5•11 years ago
|
||
This seems to be the same issue as bug 940373
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → stransky
Assignee | ||
Comment 6•11 years ago
|
||
Actually the culprint is Bug 845874 which adds pixman.h to nsRegion.h file. Sorry for the confusion.
No longer blocks: 931404
Comment 7•11 years ago
|
||
I wonder if we could just add the right flags tree-wide.
Assignee | ||
Comment 8•11 years ago
|
||
There's the patch. But I wonder if there's some better way how to add the pixman flags there. Mike?
Attachment #8336787 -
Flags: feedback?(mh+mozilla)
Comment 9•11 years ago
|
||
Adding pixman flags in more places is needed for Maemo 5 build to succeed. Not sure whether it is because of OMTC enabled or because of system-pixman is enabled in the build.
Comment 10•11 years ago
|
||
Yeah, considering this is going to break any time something ends up including nsRegion.h, you might as well add the pixman flags to CXXFLAGS globally.
Updated•11 years ago
|
Attachment #8336787 -
Flags: feedback?(mh+mozilla) → feedback-
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #8338480 -
Flags: review?(mh+mozilla)
Comment 12•11 years ago
|
||
https://mxr.mozilla.org/mozilla-central/search?string=MOZ_PIXMAN_CFLAGS shows that there's more cases in makefiles; would you feel like removing those?
Assignee | ||
Comment 13•11 years ago
|
||
Pixman remove patch. Try build for those two patches: https://tbpl.mozilla.org/?tree=Try&rev=fa2db9e19f3d
Attachment #8336787 -
Attachment is obsolete: true
Attachment #8337708 -
Attachment is obsolete: true
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 8338548 [details] [diff] [review] removes pixman from local includes The try build looks okay. Mike can you check the patches?
Attachment #8338548 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #8338548 -
Attachment description: pixman-remove.patch → removes pixman from local includes
Comment 15•11 years ago
|
||
Comment on attachment 8338548 [details] [diff] [review] removes pixman from local includes Review of attachment 8338548 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/tests/gtest/Makefile.in @@ +13,5 @@ > $(NULL) > > include $(topsrcdir)/config/rules.mk > > +CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) Please remove the trailing whitespace while you're here.
Attachment #8338548 -
Flags: review?(mh+mozilla) → review+
Comment 16•11 years ago
|
||
Comment on attachment 8338480 [details] [diff] [review] system wide build flags Review of attachment 8338480 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/tests/gtest/Makefile.in @@ +13,5 @@ > $(NULL) > > include $(topsrcdir)/config/rules.mk > + > +CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) That should go in the other patch. Or fold both. ::: media/webrtc/signaling/signaling.gyp @@ +181,5 @@ > > 'cflags_mozilla': [ > '$(NSPR_CFLAGS)', > '$(NSS_CFLAGS)', > + '$(PIXMAN_CFLAGS)', I don't think this is needed, and PIXMAN_CFLAGS is unlikely to match an existing variable.
Attachment #8338480 -
Flags: review?(mh+mozilla) → feedback+
Assignee | ||
Comment 17•11 years ago
|
||
Attachment #8339874 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #8338480 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8338548 -
Attachment is obsolete: true
Assignee | ||
Comment 18•11 years ago
|
||
> Review of attachment 8338480 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: gfx/tests/gtest/Makefile.in > @@ +13,5 @@ > > $(NULL) > > > > include $(topsrcdir)/config/rules.mk > > + > > +CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) > > That should go in the other patch. Or fold both. Fixed by the complete one. > ::: media/webrtc/signaling/signaling.gyp > @@ +181,5 @@ > > > > 'cflags_mozilla': [ > > '$(NSPR_CFLAGS)', > > '$(NSS_CFLAGS)', > > + '$(PIXMAN_CFLAGS)', > > I don't think this is needed, and PIXMAN_CFLAGS is unlikely to match an > existing variable. I was surprised too but it is really needed and it works.
Comment 19•11 years ago
|
||
Comment on attachment 8339874 [details] [diff] [review] complete patch, v2 Review of attachment 8339874 [details] [diff] [review]: ----------------------------------------------------------------- ::: media/webrtc/signaling/signaling.gyp @@ +181,5 @@ > > 'cflags_mozilla': [ > '$(NSPR_CFLAGS)', > '$(NSS_CFLAGS)', > + '$(PIXMAN_CFLAGS)', Well, that works because PKG_CHECK_MODULES exports it, but it's also something that only happens when building with system pixman. While the setup with the in-tree pixman has the value empty, it's still more correct to use MOZ_PIXMAN_CFLAGS.
Attachment #8339874 -
Flags: review?(mh+mozilla) → feedback+
Assignee | ||
Comment 20•11 years ago
|
||
Thanks, there's the one with MOZ_PIXMAN_CFLAGS.
Attachment #8339874 -
Attachment is obsolete: true
Attachment #8341042 -
Flags: review?(mh+mozilla)
Updated•11 years ago
|
Attachment #8341042 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 23•11 years ago
|
||
unbitrotten patch, try run - https://tbpl.mozilla.org/?tree=Try&rev=9d03d1e74e2c
Assignee | ||
Updated•11 years ago
|
Attachment #8344635 -
Attachment description: system pixman, updated → system pixman, for check-in
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Attachment #8341042 -
Attachment is obsolete: true
Comment 24•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4db1dae48435
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4db1dae48435
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•