Compiz 0.9.8 trunk FTBFS on ARM due to an unused variable

Bug #1098148 reported by Łukasz Zemczak on 2013-01-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Łukasz Zemczak
Łukasz Zemczak
compiz (Ubuntu)
Łukasz Zemczak

Bug Description

[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- && /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- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -I/build/buildd/compiz- -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- -I/build/buildd/compiz- -DPREFIX='"/usr"' -DUSE_GLES -o CMakeFiles/scale.dir/src/scale.cpp.o -c /build/buildd/compiz-
/build/buildd/compiz- In member function 'void CompText::draw(const GLMatrix&, float, float, float) const':
/build/buildd/compiz- error: unused variable 'wasBlend' [-Werror=unused-variable]
cc1plus: all warnings being treated as errors

Related branches

Daniel van Vugt (vanvugt) wrote :

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
  Only declare wasBlend if we're not using GLES (fixes ARM build failures). Approved by Didier Roche.

Changed in compiz:
status: In Progress → Fix Committed
milestone: →
Changed in compiz (Ubuntu):
status: New → Fix Committed
assignee: nobody → Łukasz Zemczak (sil2100)
description: updated
Changed in compiz:
status: Fix Committed → Fix Released
Didier Roche (didrocks) wrote :

I remove this one from the changelog, as it didn't impact quantal.

Changed in compiz (Ubuntu Quantal):
status: New → Fix Released
Stephen M. Webb (bregma) wrote :

marking as closed (0.9.8 series is obsolete)

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers