2012-04-03 14:54:32 |
triplesqaurednine |
bug |
|
|
added bug |
2012-04-03 14:55:30 |
triplesqaurednine |
bug task added |
|
archlinux |
|
2012-04-09 20:36:40 |
rufflove |
bug |
|
|
added subscriber rufflove |
2012-04-12 02:49:34 |
Daniel van Vugt |
compiz-core: status |
New |
Triaged |
|
2012-04-12 02:50:16 |
Daniel van Vugt |
compiz-core: importance |
Undecided |
Medium |
|
2012-04-12 02:50:19 |
Daniel van Vugt |
compiz-core: milestone |
|
0.9.7.8 |
|
2012-04-12 06:39:31 |
Daniel van Vugt |
compiz-core: assignee |
|
Daniel van Vugt (vanvugt) |
|
2012-04-12 06:39:36 |
Daniel van Vugt |
compiz-core: status |
Triaged |
In Progress |
|
2012-04-12 06:52:54 |
Daniel van Vugt |
branch linked |
|
lp:~vanvugt/compiz-core/fix-972519 |
|
2012-04-12 07:55:23 |
Launchpad Janitor |
branch linked |
|
lp:compiz-core |
|
2012-04-12 07:55:29 |
Daniel van Vugt |
compiz-core: status |
In Progress |
Fix Committed |
|
2012-04-20 03:09:15 |
Daniel van Vugt |
nominated for series |
|
compiz-core/0.9.7 |
|
2012-04-20 03:09:15 |
Daniel van Vugt |
bug task added |
|
compiz-core/0.9.7 |
|
2012-04-20 03:09:15 |
Daniel van Vugt |
nominated for series |
|
compiz-core/0.9.8 |
|
2012-04-20 03:09:15 |
Daniel van Vugt |
bug task added |
|
compiz-core/0.9.8 |
|
2012-04-20 03:09:37 |
Daniel van Vugt |
compiz-core/0.9.7: status |
New |
Fix Committed |
|
2012-04-20 03:09:54 |
Daniel van Vugt |
compiz-core/0.9.7: importance |
Undecided |
Medium |
|
2012-04-20 03:10:11 |
Daniel van Vugt |
compiz-core/0.9.7: assignee |
|
Daniel van Vugt (vanvugt) |
|
2012-04-20 03:10:44 |
Daniel van Vugt |
compiz-core/0.9.7: milestone |
|
0.9.7.8 |
|
2012-04-20 03:10:48 |
Daniel van Vugt |
compiz-core/0.9.8: milestone |
0.9.7.8 |
0.9.8.0 |
|
2012-04-26 07:17:15 |
Daniel van Vugt |
compiz-core/0.9.7: status |
Fix Committed |
Fix Released |
|
2012-04-26 07:52:18 |
Launchpad Janitor |
branch linked |
|
lp:compiz |
|
2012-04-26 08:04:51 |
Daniel van Vugt |
description |
this morning after upgrading to GCC-4.7 (Archlinux), i then decided to update compiz, but compiz-core failed to build. It would seem GCC-4.7 is stricter and is treating some warnings as errors (that gcc 4.6.3 didn't);
(tail) output from build failure;
Linking CXX static library libcompiz_pluginclasshandler.a
[ 28%] Built target compiz_pluginclasshandler
Scanning dependencies of target compiz_timer
[ 28%] Building CXX object src/timer/CMakeFiles/compiz_timer.dir/src/timeouthandler.cpp.o
/home/ninez/cOOmpiz/compiz-core/src/timer/src/timeouthandler.cpp: In member function ‘void TimeoutHandler::addTimer(CompTimer*)’:
/home/ninez/cOOmpiz/compiz-core/src/timer/src/timeouthandler.cpp:60:48: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1plus: all warnings being treated as errors
make[2]: *** [src/timer/CMakeFiles/compiz_timer.dir/src/timeouthandler.cpp.o] Error 1
make[1]: *** [src/timer/CMakeFiles/compiz_timer.dir/all] Error 2
make: *** [all] Error 2
[ninez@ninez compiz-core]$
However, fixing the problem (locally) was trivial. I added '-Wno-error=sign-compare' to my build-script's CXXFLAGS and compiz now compiles. I haven't finished compiling the rest of compiz with gcc-4.7 but will file separate reports, if i bump into any issues with it.
cheerz |
[Impact]
compiz-core source code fails to build with gcc-4.7. This presently does not affect ubuntu systems, which all use gcc <= 4.6.
[Development Fix]
Revision 3091 of lp:compiz-core (same for both 0.9.7 and 0.9.8 series). Removed unnecessary typecast causing comparison between signed and unsigned integers.
[Stable Fix]
As above.
[Test Case]
Compile the compiz-core source code. Make sure it doesn't fail.
[Regression Potential]
Low. It was an obvious type mismatch and has worked perfectly for all developers since being fixed.
ORIGINAL DESCRIPTION:
this morning after upgrading to GCC-4.7 (Archlinux), i then decided to update compiz, but compiz-core failed to build. It would seem GCC-4.7 is stricter and is treating some warnings as errors (that gcc 4.6.3 didn't);
(tail) output from build failure;
Linking CXX static library libcompiz_pluginclasshandler.a
[ 28%] Built target compiz_pluginclasshandler
Scanning dependencies of target compiz_timer
[ 28%] Building CXX object src/timer/CMakeFiles/compiz_timer.dir/src/timeouthandler.cpp.o
/home/ninez/cOOmpiz/compiz-core/src/timer/src/timeouthandler.cpp: In member function ‘void TimeoutHandler::addTimer(CompTimer*)’:
/home/ninez/cOOmpiz/compiz-core/src/timer/src/timeouthandler.cpp:60:48: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1plus: all warnings being treated as errors
make[2]: *** [src/timer/CMakeFiles/compiz_timer.dir/src/timeouthandler.cpp.o] Error 1
make[1]: *** [src/timer/CMakeFiles/compiz_timer.dir/all] Error 2
make: *** [all] Error 2
[ninez@ninez compiz-core]$
However, fixing the problem (locally) was trivial. I added '-Wno-error=sign-compare' to my build-script's CXXFLAGS and compiz now compiles. I haven't finished compiling the rest of compiz with gcc-4.7 but will file separate reports, if i bump into any issues with it.
cheerz |
|
2012-04-26 09:08:14 |
Daniel van Vugt |
bug task added |
|
compiz (Ubuntu) |
|
2012-04-26 09:08:26 |
Daniel van Vugt |
nominated for series |
|
Ubuntu Precise |
|
2012-04-26 09:08:45 |
Daniel van Vugt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-04-26 09:13:44 |
Didier Roche-Tolomelli |
bug task added |
|
compiz (Ubuntu Precise) |
|
2012-04-27 11:39:51 |
Martin Pitt |
compiz (Ubuntu Precise): status |
New |
Fix Committed |
|
2012-04-27 11:39:54 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2012-04-27 11:39:56 |
Martin Pitt |
tags |
|
verification-needed |
|
2012-04-28 11:46:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/compiz |
|
2012-05-07 23:18:09 |
Launchpad Janitor |
compiz (Ubuntu): status |
New |
Fix Released |
|
2012-05-07 23:20:14 |
Launchpad Janitor |
compiz (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-05-22 04:04:56 |
Daniel van Vugt |
bug task added |
|
compiz |
|
2012-05-22 04:05:10 |
Daniel van Vugt |
compiz: milestone |
|
0.9.8.0 |
|
2012-05-22 04:05:15 |
Daniel van Vugt |
compiz: status |
New |
Fix Committed |
|
2012-05-22 04:05:18 |
Daniel van Vugt |
compiz: importance |
Undecided |
Medium |
|
2012-05-22 04:05:22 |
Daniel van Vugt |
compiz: assignee |
|
Daniel van Vugt (vanvugt) |
|
2012-05-22 04:05:26 |
Daniel van Vugt |
bug task deleted |
compiz-core/0.9.8 |
|
|
2012-05-22 04:11:59 |
Daniel van Vugt |
compiz-core: milestone |
0.9.8.0 |
|
|
2012-05-22 04:12:03 |
Daniel van Vugt |
compiz-core: status |
Fix Committed |
Fix Released |
|
2012-08-27 08:03:38 |
Daniel van Vugt |
compiz: status |
Fix Committed |
Fix Released |
|