Closed Bug 1353926 Opened 7 years ago Closed 7 years ago

nightly 20170405 fails to compile, error is 'gfxplatform' has not been declared

Categories

(Firefox :: Untriaged, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: u532768, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170404135243

Steps to reproduce:

Updated hg repository, ran mach to compile


Actual results:

12:18.79 libxpcom_build.a.desc
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp: In function ‘{anonymous}::ReturnAbortOnError ProfileLockedDialog(nsIFile*, nsIFile*, nsIProfileUnlocker*, nsINativeAppSupport*, nsIProfileLock**)’:
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:1947:9: error: ‘gfxPlatform’ has not been declared
12:20.03      if (gfxPlatform::IsHeadless()) {
12:20.03          ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp: In member function ‘int XREMain::XRE_mainInit(bool*)’:
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:3129:7: error: ‘gfxPlatform’ has not been declared
12:20.03    if (gfxPlatform::IsHeadless()) {
12:20.03        ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp: In member function ‘int XREMain::XRE_mainStartup(bool*)’:
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:3804:8: error: ‘gfxPlatform’ has not been declared
12:20.03    if (!gfxPlatform::IsHeadless()) {
12:20.03         ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:3819:8: error: ‘gfxPlatform’ has not been declared
12:20.03    if (!gfxPlatform::IsHeadless()) {
12:20.03         ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:3824:8: error: ‘gfxPlatform’ has not been declared
12:20.03    if (!gfxPlatform::IsHeadless()) {
12:20.03         ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:3833:8: error: ‘gfxPlatform’ has not been declared
12:20.03    if (!gfxPlatform::IsHeadless() && GDK_IS_X11_DISPLAY(mGdkDisplay)) {
12:20.03         ^~~~~~~~~~~
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp: In member function ‘int XREMain::XRE_main(int, char**, const mozilla::BootstrapConfig&)’:
12:20.03 /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp:4785:8: error: ‘gfxPlatform’ has not been declared
12:20.03    if (!gfxPlatform::IsHeadless()) {
12:20.03         ^~~~~~~~~~~
12:20.03 
12:20.03 In the directory  /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/toolkit/xre
12:20.03 The following command failed to execute properly:
12:20.03 /usr/bin/ccache /usr/lib64/ccache/g++ -std=gnu++11 -o nsAppRunner.o -c -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /mnt/to_archive/accum/src/mozilla-central/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DPROXY_PRINTING=1 -DOS_POSIX=1 -DOS_LINUX=1 -DUSE_GLX_TEST -DMOZ_APP_NAME="firefox" -DMOZ_APP_BASENAME="Firefox" -DMOZ_APP_VERSION="55.0a1" -DOS_TARGET="Linux" -DMOZ_WIDGET_TOOLKIT="gtk3" -DTARGET_OS_ABI="Linux_x86_64-gcc3" -DHAVE_USR_LIB64_DIR -DGRE_MILESTONE=55.0a1 -DAPP_VERSION=55.0a1 -DAPP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384} -DMOZ_BUILD_APP_IS_BROWSER -DTOPOBJDIR=/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_BUILDID=20170405152404 -I/mnt/to_archive/accum/src/mozilla-central/toolkit/xre -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/toolkit/xre -I/mnt/to_archive/accum/src/mozilla-central/toolkit/components/printingui/unixshared -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src -I/mnt/to_archive/accum/src/mozilla-central/ipc/glue -I/mnt/to_archive/accum/src/mozilla-central/toolkit/components/find -I/mnt/to_archive/accum/src/mozilla-central/toolkit/components/printingui/ipc -I/mnt/to_archive/accum/src/mozilla-central/toolkit/components/windowwatcher -I/mnt/to_archive/accum/src/mozilla-central/toolkit/profile -I/mnt/to_archive/accum/src/mozilla-central/config -I/mnt/to_archive/accum/src/mozilla-central/dom/base -I/mnt/to_archive/accum/src/mozilla-central/dom/commandhandler -I/mnt/to_archive/accum/src/mozilla-central/dom/ipc -I/mnt/to_archive/accum/src/mozilla-central/dom/webbrowserpersist -I/mnt/to_archive/accum/src/mozilla-central/testing/gtest/mozilla -I/mnt/to_archive/accum/src/mozilla-central/toolkit/crashreporter -I/mnt/to_archive/accum/src/mozilla-central/xpcom/build -I/mnt/to_archive/accum/src/mozilla-central/widget/xremoteclient -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nspr -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF .deps/nsAppRunner.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -Wall -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -O3 -fno-omit-frame-pointer -I/mnt/to_archive/accum/src/mozilla-central/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -Wno-error=shadow /mnt/to_archive/accum/src/mozilla-central/toolkit/xre/nsAppRunner.cpp
12:20.03 /mnt/to_archive/accum/src/mozilla-central/config/rules.mk:986: recipe for target 'nsAppRunner.o' failed



Expected results:

Successful compilation
I did a bisect on this, and the bisect said that this changeset caused the error:

$ hg log -v -r 351264:d28d4ab5091b
changeset:   351264:d28d4ab5091b
user:        Bill McCloskey <billm@mozilla.com>
date:        Mon Mar 20 15:29:05 2017 -0700
files:       ipc/glue/MessageChannel.cpp
description:
Bug 1349699 - Assert that the Chromium channel is closed when MessageLoop is destroyed (r=dvander)

MozReview-Commit-ID: I7HyjVanlxJ

But, the error isn't the same as above.  At first it was, but when the bisect got closer the the bad changeset, the error changed to 

0:36.83 In file included from /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/glue/Unified_cpp_ipc_glue1.cpp:11:0:
 0:36.83 /mnt/to_archive/accum/src/mozilla-central/ipc/glue/MessageChannel.cpp: In member function ‘void mozilla::ipc::MessageChannel::Clear()’:
 0:36.83 /mnt/to_archive/accum/src/mozilla-central/ipc/glue/MessageChannel.cpp:647:63: error: ‘mName’ was not declared in this scope
 0:36.83                                             nsDependentCString(mName));
 0:36.83                                                                ^~~~~
 0:36.83 
 0:36.83 In the directory  /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/glue
 0:36.83 The following command failed to execute properly:
 0:36.84 /usr/bin/ccache /usr/lib64/ccache/g++ -std=gnu++11 -o Unified_cpp_ipc_glue1.o -c -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /mnt/to_archive/accum/src/mozilla-central/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DWEBRTC_POSIX -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_CHILD_PROCESS_NAME="plugin-container" -DMOZ_CHILD_PROCESS_NAME_PIE="" -DMOZ_CHILD_PROCESS_BUNDLE="plugin-container.app/Contents/MacOS/" -DDLL_PREFIX="lib" -DDLL_SUFFIX=".so" -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/mnt/to_archive/accum/src/mozilla-central/ipc/glue -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/glue -I/mnt/to_archive/accum/src/mozilla-central/caps -I/mnt/to_archive/accum/src/mozilla-central/dom/broadcastchannel -I/mnt/to_archive/accum/src/mozilla-central/dom/indexedDB -I/mnt/to_archive/accum/src/mozilla-central/dom/workers -I/mnt/to_archive/accum/src/mozilla-central/media/webrtc/trunk -I/mnt/to_archive/accum/src/mozilla-central/xpcom/build -I/mnt/to_archive/accum/src/mozilla-central/dom/ipc -I/mnt/to_archive/accum/src/mozilla-central/toolkit/crashreporter -I/mnt/to_archive/accum/src/mozilla-central/toolkit/xre -I/mnt/to_archive/accum/src/mozilla-central/xpcom/threads -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/mnt/to_archive/accum/src/mozilla-central/ipc/chromium/src -I/mnt/to_archive/accum/src/mozilla-central/ipc/glue -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nspr -I/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_ipc_glue1.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -Wall -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks -O3 -fno-omit-frame-pointer -Wno-shadow /mnt/to_archive/accum/src/mozilla-central/obj-x86_64-pc-linux-gnu/ipc/glue/Unified_cpp_ipc_glue1.cpp
 0:36.84 /mnt/to_archive/accum/src/mozilla-central/config/rules.mk:1011: recipe for target 'Unified_cpp_ipc_glue1.o' failed


So, I'm not sure that this is the right changeset, though it is the one that the bisect found.
This compile error is still occurring with the latest updates to hg on 20170407.

That is, I am getting the gfxplatform error, not the mname error that the bisect found.
Today's updates, 20170408, fixed both of the errors.  I got a successful compile, so will close this ticket.  Thank you.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: