[Test Case]
Check if compiz builds from source on ARM.
[Regression Potential]
No regression potential.
Original description:
Compiz r3431 fails to build on ARM. A simple case of an unused variable.
[ 59%] Building CXX object plugins/scale/CMakeFiles/scale.dir/src/scale.cpp.o
cd /build/buildd/compiz-0.9.8.6+bzr3431/obj-arm-linux-gnueabi/plugins/scale && /usr/bin/c++ -Dscale_EXPORTS -DHAVE_SCANDIR_POSIX -DHAVE_SCANDIR_POSIX -DHAVE_SCANDIR_POSIX -DHAVE_SCANDIR_POSIX -DHAVE_CONFIG_H -DHAVE_SCANDIR_POSIX -DSCALE_DEFSADD -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wl,-zdefs -Wno-deprecated-declarations -Werror -fPIC -Wall -Wl,-zdefs -Wno-deprecated-declarations -Werror -fPIC -Wall -Wl,-zdefs -Wno-deprecated-declarations -Werror -fPIC -Wall -Wl,-zdefs -Wno-deprecated-declarations -Werror -fPIC -Wall -Wl,-zdefs -Wno-deprecated-declarations -Werror -O2 -g -fPIC -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/timer/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/string/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/pluginclasshandler/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/point/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/rect/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/servergrab/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/region/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/window/geometry/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/window/geometry-saver/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/window/extents/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../src/window/constrainment/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/../logmessage/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/scale/src -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/scale/include -I/build/buildd/compiz-0.9.8.6+bzr3431/obj-arm-linux-gnueabi/generated -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/scale/../composite/include -I/build/buildd/compiz-0.9.8.6+bzr3431/plugins/scale/../opengl/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib/arm-linux-gnueabi/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/arm-linux-gnueabi/sigc++-2.0/include -I/usr/include/startup-notification-1.0 -I/build/buildd/compiz-0.9.8.6+bzr3431/include -I/build/buildd/compiz-0.9.8.6+bzr3431/obj-arm-linux-gnueabi -DPREFIX='"/usr"' -DUSE_GLES -o CMakeFiles/scale.dir/src/scale.cpp.o -c /build/buildd/compiz-0.9.8.6+bzr3431/plugins/scale/src/scale.cpp
/build/buildd/compiz-0.9.8.6+bzr3431/plugins/text/src/text.cpp: In member function 'void CompText::draw(const GLMatrix&, float, float, float) const':
/build/buildd/compiz-0.9.8.6+bzr3431/plugins/text/src/text.cpp:495:16: error: unused variable 'wasBlend' [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
This was already fixed upstream a while ago. It would be nice if there was a bug logged back then... ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ----
-------
revno: 3439 [merge]
author: Łukasz 'sil2100' Zemczak <email address hidden>
committer: Tarmac
branch nick: 0.9.9
timestamp: Fri 2012-10-19 11:18:25 +0000
message:
Only declare wasBlend if we're not using GLES (fixes ARM build failures). Approved by Didier Roche.
-------