Logger 0.4.1 fails to build with: [ 2%] Building CXX object codegen/CMakeFiles/codegen.dir/analyzer.cpp.o In file included from /build/src/telepathy-logger-qt-0.4.1/codegen/yystype.h:29:0, from analyzer.l:20: /build/src/build/codegen/parser.hpp:87:14: error: ‘CodeGen’ was not declared in this scope /build/src/build/codegen/parser.hpp:87:23: error: ‘codegen’ was not declared in this scope /build/src/build/codegen/analyzer.cpp: In function ‘int yylex(CodeGen*)’: /build/src/build/codegen/analyzer.cpp:1044:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /build/src/build/codegen/analyzer.cpp: In function ‘yy_buffer_state* yy_scan_bytes(const char*, yy_size_t)’: /build/src/build/codegen/analyzer.cpp:2187:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /build/src/build/codegen/analyzer.cpp: At global scope: /build/src/build/codegen/analyzer.cpp:2236:16: warning: ‘int yy_top_state()’ defined but not used [-Wunused-function] make[2]: *** [codegen/CMakeFiles/codegen.dir/analyzer.cpp.o] Error 1 make[1]: *** [codegen/CMakeFiles/codegen.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Download sources 2. try to build it Actual Results: the build fails Expected Results: it builds telepathy-qt 0.9.3 telepathy-logger 0.4.0 qt-gstreamer 0.10.2 gcc 4.7.1
Sounds like something changed in flex. What is your flex version?
(In reply to comment #1) > Sounds like something changed in flex. What is your flex version? flex 2.5.36 bison 2.6
downstream reporter confirmed that compile succeeded with bison-2.5.1, so its related to bison-2.6 https://bugs.gentoo.org/show_bug.cgi?id=428202
Fixed in 0.5