Compiz FTBFS on armhf + saucy:
[ 2%] Building CXX object gtk/window-decorator/tests/CMakeFiles/gtk_window_decorator_mock_settings_notified.dir/compiz_gwd_mock_settings_notified.cpp.o
cd /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/obj-arm-linux-gnueabihf/gtk/window-decorator/tests && /usr/lib/ccache/c++ -DHAVE_CONFIG_H -DHAVE_SCANDIR_POSIX -DUSE_GSETTINGS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -Werror -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -Werror -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -Werror -O2 -g -DNDEBUG -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/include -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/obj-arm-linux-gnueabihf/gtk -I/usr/include/libwnck-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/startup-notification-1.0 -I/usr/include/metacity-1 -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/.. -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/obj-arm-linux-gnueabihf/gtk/window-decorator/tests -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/tests/shared -I/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/tests/shared/glib -DALL_LINGUAS="af ar bg bn bn_IN bs ca cs cy da de el en_GB en_US es eu et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl or pa pl pt pt_BR ro ru sk sl sr sv ta tr uk vi xh zh_CN zh_TW zu" -DLOCALEDIR=\"/usr/share/locale\" -o CMakeFiles/gtk_window_decorator_mock_settings_notified.dir/compiz_gwd_mock_settings_notified.cpp.o -c /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<int()>::Result GWDMockSettingsNotifiedGMock::updateDecorations()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:62:222: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (updateDecorations, gboolean ());
^
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<int()>::Result GWDMockSettingsNotifiedGMock::updateFrames()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:63:217: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (updateFrames, gboolean ());
^
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<int()>::Result GWDMockSettingsNotifiedGMock::updateMetacityTheme()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:64:224: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (updateMetacityTheme, gboolean ());
^
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<int()>::Result GWDMockSettingsNotifiedGMock::updateMetacityButtonLayout()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:65:231: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (updateMetacityButtonLayout, gboolean ());
^
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<void()>::Result GWDMockSettingsNotifiedGMock::dispose()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:67:204: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (dispose, void ());
^
In file included from /tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.cpp:26:0:
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h: In member function 'virtual testing::internal::Function<void()>::Result GWDMockSettingsNotifiedGMock::finalize()':
/tmp/buildd/compiz-0.9.10bzr3733pkg0saucy1/gtk/window-decorator/tests/compiz_gwd_mock_settings_notified.h:68:205: error: typedef 'this_method_does_not_take_0_arguments' locally defined but not used [-Werror=unused-local-typedefs]
MOCK_METHOD0 (finalize, void ());
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-unused-private-field" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-unused-private-field" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-unused-private-field" [-Werror]
cc1plus: all warnings being treated as errors
Failure was found during jenkins build:
https://jenkins.qa.ubuntu.com/job/compiz-saucy-armhf-autolanding/1/consoleText
And this is why I hate -Werror. We'll just need to disable that warning as gmock is now causing it.