Closed Bug 1128152 Opened 9 years ago Closed 9 years ago

Nightly build error

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: hidenosuke, Unassigned)

Details

Nightly build error.

/usr/bin/ccache c++ -o Unified_cpp_gfx_layers4.i_o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/hideo/develop/mozilla-central/config/gcc_hidden.h -DGOOGLE_PROTOBUF_NO_RTTI -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/home/hideo/develop/mozilla-central/gfx/layers -I. -I/home/hideo/develop/mozilla-central/fx-opt/ipc/ipdl/_ipdlheaders -I/home/hideo/develop/mozilla-central/ipc/chromium/src -I/home/hideo/develop/mozilla-central/ipc/glue -I../../dist/include   -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nspr -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nss    -I/usr/include/pixman-1    -fPIC   -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_gfx_layers4.i_o.pp  -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fno-omit-frame-pointer   -I/frameworks/base/include/media/stagefright -I/frameworks/base/include/media/stagefright/openmax -I/frameworks/av/include/media/stagefright -I/frameworks/native/include/media/openmax -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/home/hideo/develop/mozilla-central/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0/unix-print -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/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    /home/hideo/develop/mozilla-central/fx-opt/gfx/layers/Unified_cpp_gfx_layers4.cpp
Unified_cpp_gfx_layers5.i_o
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base0.cpp:83:0:
/home/hideo/develop/mozilla-central/layout/base/RestyleManager.cpp: In member function ‘void mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)’:
/home/hideo/develop/mozilla-central/layout/base/RestyleManager.cpp:3429:13: warning: ‘lastContinuation’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   nsIFrame *lastContinuation;
             ^
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base2.cpp:29:0:
/home/hideo/develop/mozilla-central/layout/base/nsStyleSheetService.cpp: In member function ‘virtual nsresult nsStyleSheetService::UnregisterSheet(nsIURI*, uint32_t)’:
/home/hideo/develop/mozilla-central/layout/base/nsStyleSheetService.cpp:266:51: warning: ‘message’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     serv->NotifyObservers(sheet, message, nullptr);
                                                   ^
/usr/bin/ccache c++ -o Unified_cpp_gfx_layers5.i_o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/hideo/develop/mozilla-central/config/gcc_hidden.h -DGOOGLE_PROTOBUF_NO_RTTI -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/home/hideo/develop/mozilla-central/gfx/layers -I. -I/home/hideo/develop/mozilla-central/fx-opt/ipc/ipdl/_ipdlheaders -I/home/hideo/develop/mozilla-central/ipc/chromium/src -I/home/hideo/develop/mozilla-central/ipc/glue -I../../dist/include   -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nspr -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nss    -I/usr/include/pixman-1    -fPIC   -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_gfx_layers5.i_o.pp  -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fno-omit-frame-pointer   -I/frameworks/base/include/media/stagefright -I/frameworks/base/include/media/stagefright/openmax -I/frameworks/av/include/media/stagefright -I/frameworks/native/include/media/openmax -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/home/hideo/develop/mozilla-central/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0/unix-print -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/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    /home/hideo/develop/mozilla-central/fx-opt/gfx/layers/Unified_cpp_gfx_layers5.cpp
libdom_ipc.a.desc
rm -f libdom_ipc.a
/home/hideo/develop/mozilla-central/fx-opt/_virtualenv/bin/python /home/hideo/develop/mozilla-central/config/expandlibs_gen.py -o libdom_ipc.a.desc Blob.i_o ContentChild.i_o CrashReporterChild.i_o ProcessHangMonitor.i_o Unified_cpp_dom_ipc0.i_o Unified_cpp_dom_ipc1.i_o  
make[5]: Leaving directory '/home/hideo/develop/mozilla-central/fx-opt/dom/ipc'
In file included from ../../dist/include/nsAString.h:23:0,
                 from ../../dist/include/nsSubstring.h:10,
                 from ../../dist/include/nsString.h:12,
                 from ../../dist/include/nsStringGlue.h:18,
                 from ../../dist/include/nsHashKeys.h:18,
                 from /home/hideo/develop/mozilla-central/layout/base/nsIPresShell.h:28,
                 from /home/hideo/develop/mozilla-central/layout/base/nsPresContext.h:16,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsRuleNode.h:14,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsStyleContext.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/../generic/nsIFrame.h:25,
                 from /home/hideo/develop/mozilla-central/layout/base/nsGenConList.h:11,
                 from /home/hideo/develop/mozilla-central/layout/base/nsQuoteList.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.h:18,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.cpp:12,
                 from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:11:
../../dist/include/nsTSubstring.h: In member function ‘void nsCounterUseNode::GetText(nsString&)’:
../../dist/include/nsTSubstring.h:526:40: warning: ‘separator’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     Replace(mLength, 0, aData, aLength);
                                        ^
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:47:0:
/home/hideo/develop/mozilla-central/layout/base/nsCounterManager.cpp:103:21: note: ‘separator’ was declared here
     const char16_t* separator;
                     ^
In file included from /home/hideo/develop/mozilla-central/layout/base/nsCSSColorUtils.h:11:0,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSColorUtils.cpp:8,
                 from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:2:
../../dist/include/nsColor.h: In static member function ‘static void nsCSSRendering::GetBackgroundClip(const nsStyleBackground::Layer&, nsIFrame*, const nsStyleBorder&, const nsRect&, const nsRect&, bool, nscoord, nsCSSRendering::BackgroundClipState*)’:
../../dist/include/nsColor.h:40:53: warning: ‘color’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define NS_GET_A(_rgba) ((uint8_t) (((_rgba) >> 24) & 0xff))
                                                     ^
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:20:0:
/home/hideo/develop/mozilla-central/layout/base/nsCSSRendering.cpp:1686:11: note: ‘color’ was declared here
   nscolor color;
           ^
In file included from /home/hideo/develop/mozilla-central/layout/base/nsPresContext.h:14:0,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsRuleNode.h:14,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsStyleContext.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/../generic/nsIFrame.h:25,
                 from /home/hideo/develop/mozilla-central/layout/base/nsGenConList.h:11,
                 from /home/hideo/develop/mozilla-central/layout/base/nsQuoteList.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.h:18,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.cpp:12,
                 from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:11:
../../dist/include/nsCoord.h: In static member function ‘static nsRect nsLayoutUtils::ComputeObjectDestRect(const nsRect&, const IntrinsicSize&, const nsSize&, const nsStylePosition*, nsPoint*)’:
../../dist/include/nsCoord.h:130:57: warning: ‘*((void*)& specifiedWidth +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return _nscoordSaturatingMultiply(aCoord, aScale, true);
                                                         ^
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:128:0:
/home/hideo/develop/mozilla-central/layout/base/nsLayoutUtils.cpp:3597:18: note: ‘*((void*)& specifiedWidth +8)’ was declared here
   Maybe<nscoord> specifiedWidth;
                  ^
libgfx_layers.a.desc
rm -f libgfx_layers.a
/home/hideo/develop/mozilla-central/fx-opt/_virtualenv/bin/python /home/hideo/develop/mozilla-central/config/expandlibs_gen.py -o libgfx_layers.a.desc ImageContainer.i_o LayerTreeInvalidation.i_o Layers.i_o BasicImageLayer.i_o TextureClientX11.i_o X11BasicCompositor.i_o X11TextureSourceBasic.i_o X11TextureHost.i_o ShadowLayerUtilsX11.i_o X11TextureSourceOGL.i_o Unified_cpp_gfx_layers0.i_o Unified_cpp_gfx_layers1.i_o Unified_cpp_gfx_layers2.i_o Unified_cpp_gfx_layers3.i_o Unified_cpp_gfx_layers4.i_o Unified_cpp_gfx_layers5.i_o  
make[5]: Leaving directory '/home/hideo/develop/mozilla-central/fx-opt/gfx/layers'
In file included from ../../dist/include/nsRect.h:16:0,
                 from ../../dist/include/imgINotificationObserver.h:19,
                 from ../../dist/include/nsIImageLoadingContent.h:10,
                 from /home/hideo/develop/mozilla-central/layout/base/nsIPresShell.h:43,
                 from /home/hideo/develop/mozilla-central/layout/base/nsPresContext.h:16,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsRuleNode.h:14,
                 from /home/hideo/develop/mozilla-central/layout/base/../style/nsStyleContext.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/../generic/nsIFrame.h:25,
                 from /home/hideo/develop/mozilla-central/layout/base/nsGenConList.h:11,
                 from /home/hideo/develop/mozilla-central/layout/base/nsQuoteList.h:12,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.h:18,
                 from /home/hideo/develop/mozilla-central/layout/base/nsCSSFrameConstructor.cpp:12,
                 from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:11:
../../dist/include/mozilla/gfx/BaseRect.h: In static member function ‘static void nsCSSRendering::PaintOutline(nsPresContext*, nsRenderingContext&, nsIFrame*, const nsRect&, const nsRect&, nsStyleContext*)’:
../../dist/include/mozilla/gfx/BaseRect.h:217:5: warning: ‘width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     width += 2 * aDx;
     ^
In file included from /home/hideo/develop/mozilla-central/fx-opt/layout/base/Unified_cpp_layout_base1.cpp:20:0:
/home/hideo/develop/mozilla-central/layout/base/nsCSSRendering.cpp:822:11: note: ‘width’ was declared here
   nscoord width;
           ^
liblayout_base.a.desc
rm -f liblayout_base.a
/home/hideo/develop/mozilla-central/fx-opt/_virtualenv/bin/python /home/hideo/develop/mozilla-central/config/expandlibs_gen.py -o liblayout_base.a.desc nsPresArena.i_o nsRefreshDriver.i_o Unified_cpp_layout_base0.i_o Unified_cpp_layout_base1.i_o Unified_cpp_layout_base2.i_o  
make[5]: Leaving directory '/home/hideo/develop/mozilla-central/fx-opt/layout/base'
make[4]: Leaving directory '/home/hideo/develop/mozilla-central/fx-opt'
/home/hideo/develop/mozilla-central/config/recurse.mk:36: recipe for target 'compile' failed
make[3]: *** [compile] Error 2

.mozconfig:
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/fx-opt
mk_add_options AUTOCONF=autoconf2.13
# Options for 'configure' (same as command-line options).
# Enable parallel compiling
#mk_add_options MOZ_MAKE_FLAGS="-j4"

# Avoid dependency on libstdc++ 4.5
ac_add_options --enable-stdcxx-compat

# Use ccache
ac_add_options --with-ccache=/usr/bin/ccache

# Enable Profile-guided Optimization
mk_add_options PROFILE_GEN_SCRIPT='$(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run'
ac_add_options --enable-profiling

# Use gtk3 for default toolkit
ac_add_options --enable-default-toolkit=cairo-gtk3
#ac_add_options --disable-crashreporter
ac_add_options --without-system-nspr
ac_add_options --without-system-nss

#ac_add_options --disable-optimize
#ac_add_options --enable-debug

mk_add_options AUTOCLOBBER=1

My environment:
OS: Debian unstable
gcc: 4.9.2-10
gtk: 3.14.5-1
I pull sources from mozilla-central today and can build them.
So I will close this bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.