Closed
Bug 825568
Opened 12 years ago
Closed 11 years ago
XUL Fennec build fails because Qt defines and headers don't like slots
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 826979
People
(Reporter: shtetldik, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20121128204232 Steps to reproduce: Attempted to build XUL Qt Fennec with Mer SDK for Plasma Active Nexus 7 target. Actual results: Build failed with a following error: ---- c++ -o nsWindow.o -c -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DEXCLUDE_SKIA_DEPENDENCIES -DOS_POSIX=1 -DOS_LINUX=1 -D_IMPL_NS_WIDGET -D_BSD_SOURCE -I/home/user/build/mozilla/mozilla-central/ipc/chromium/src -I/home/user/build/mozilla/mozilla-central/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/home/user/build/mozilla/mozilla-central/widget/xpwidgets -I/home/user/build/mozilla/mozilla-central/widget/qt/faststartupqt -I/home/user/build/mozilla/mozilla-central/widget/qt -I/home/user/build/mozilla/mozilla-central/widget/qt -I. -I../../dist/include -I/home/user/build/mozilla/mozilla-central/obj-build/dist/include/nspr -I/home/user/build/mozilla/mozilla-central/obj-build/dist/include/nss -I/home/user/build/mozilla/mozilla-central/widget/qt/../shared/x11 -I/home/user/build/mozilla/mozilla-central/widget/qt/../shared -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -O3 -Wno-psabi -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -Os -freorder-blocks -fomit-frame-pointer -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/QtMobility -I/usr/include/QtSensors -I/usr/include/QtFeedback -I/usr/include/QtLocation -I/home/user/build/mozilla/mozilla-central/obj-build/dist/include/cairo -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsWindow.o.pp /home/user/build/mozilla/mozilla-central/widget/qt/nsWindow.cpp nsLookAndFeel.cpp In file included from /home/user/build/mozilla/mozilla-central/widget/qt/nsWindow.cpp:108:0: ../../dist/include/GLContextProvider.h:63:0: warning: "GL_CONTEXT_PROVIDER_DEFAULT" redefined [enabled by default] ../../dist/include/GLContextProvider.h:56:0: note: this is the location of the previous definition In file included from ../../dist/include/mozilla/dom/DOMJSClass.h:10:0, from ../../dist/include/mozilla/dom/DocumentBinding.h:8, from ../../dist/include/nsIDocument.h:27, from ../../dist/include/nsIContent.h:10, from /home/user/build/mozilla/mozilla-central/widget/xpwidgets/nsBaseDragService.h:15, from /home/user/build/mozilla/mozilla-central/widget/qt/nsDragService.h:11, from /home/user/build/mozilla/mozilla-central/widget/qt/nsWidgetFactory.cpp:23: ../../dist/include/jsfriendapi.h:336:30: error: expected unqualified-id before ';' token ../../dist/include/jsfriendapi.h: In member function 'JS::Value& js::shadow::Object::slotRef(size_t) const': ../../dist/include/jsfriendapi.h:348:27: error: expected ',' before '-' token ../../dist/include/jsfriendapi.h:348:27: error: expected identifier before '-' token ../../dist/include/jsfriendapi.h: In lambda function: ../../dist/include/jsfriendapi.h:348:36: error: expected '{' before ';' token ../../dist/include/jsfriendapi.h: In member function 'JS::Value& js::shadow::Object::slotRef(size_t) const': ../../dist/include/jsfriendapi.h:348:36: error: invalid initialization of non-const reference of type 'JS::Value&' from an rvalue of type 'js::shadow::Object::slotRef(size_t) const::<lambda()>' In file included from ../../dist/include/xpcpublic.h:12:0, from ../../dist/include/mozilla/dom/DOMJSProxyHandler.h:12, from ../../dist/include/mozilla/dom/DocumentBinding.h:9, from ../../dist/include/nsIDocument.h:27, from ../../dist/include/nsIContent.h:10, from /home/user/build/mozilla/mozilla-central/widget/xpwidgets/nsBaseDragService.h:15, from /home/user/build/mozilla/mozilla-central/widget/qt/nsDragService.h:11, from /home/user/build/mozilla/mozilla-central/widget/qt/nsWidgetFactory.cpp:23: ../../dist/include/js/MemoryMetrics.h: At global scope: ../../dist/include/js/MemoryMetrics.h:39:5: error: declaration does not declare anything [-fpermissive] ../../dist/include/js/MemoryMetrics.h: In member function 'void JS::ObjectsExtraSizes::add(JS::ObjectsExtraSizes&)': ../../dist/include/js/MemoryMetrics.h:51:36: error: expected unqualified-id before '+=' token ../../dist/include/js/MemoryMetrics.h:51:50: error: expected unqualified-id before ';' token make[6]: *** [nsWidgetFactory.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /home/user/build/mozilla/mozilla-central/widget/qt/nsWindow.cpp: In member function 'virtual nsEventStatus nsWindow::OnKeyPressEvent(QKeyEvent*)': /home/user/build/mozilla/mozilla-central/widget/qt/nsWindow.cpp:1704:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[6]: Leaving directory `/home/user/build/mozilla/mozilla-central/obj-build/widget/qt' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/home/user/build/mozilla/mozilla-central/obj-build/widget' make[4]: *** [libs_tier_platform] Error 2 make[4]: Leaving directory `/home/user/build/mozilla/mozilla-central/obj-build' make[3]: *** [tier_platform] Error 2 make[3]: Leaving directory `/home/user/build/mozilla/mozilla-central/obj-build' make[2]: *** [default] Error 2 make[2]: Leaving directory `/home/user/build/mozilla/mozilla-central/obj-build' make[1]: *** [realbuild] Error 2 make[1]: Leaving directory `/home/user/build/mozilla/mozilla-central' make: *** [build] Error 2 Expected results: Build should have succeeded.
Summary: XUL Fennec build fails because of Qt defines and headers don't like slots → XUL Fennec build fails because Qt defines and headers don't like slots
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•