| Summary: | kdevelop-3.4.0-r2 compile error, qmake_lex.cpp | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dorin Scutarasu <dorin.scutarasu> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dorin.scutarasu |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ebuild depending on >=sys-devel/flex-2.5.33-r1 | ||
|
Description
Dorin Scutarasu
2007-02-15 23:30:02 UTC
My emerge log got messed up. Here's another one: # emerge -av kdevelop These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] dev-util/kdevelop-3.4.0-r2 [3.4.0] USE="-ada -arts* -clearcase -cvs -debug -fortran -graphviz* -haskell* -java* -pascal -perforce -perl* -php* -python* -ruby* -sql* -subversion -xinerama" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB [snip] make[2]: Entering directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools' Making all in lib make[3]: Entering directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib' Making all in parsers make[4]: Entering directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib/parsers' Making all in qmake make[5]: Entering directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib/parsers/qmake' /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../lib/interfaces -I../../../../lib/interfaces/extensions -I../../../../lib/util -I../../../../lib/widgets/propeditor -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o qmake_lex.lo qmake_lex.cpp qmake_lex.cpp:38:5: warning: "__STDC_VERSION__" is not defined qmake_lex.cpp: In member function 'virtual int QMake::Lexer::yylex()': qmake_lex.cpp:694: error: 'yy_buffer_stack' was not declared in this scope qmake_lex.cpp:694: error: 'yy_buffer_stack_top' was not declared in this scope qmake_lex.cpp:695: error: 'yyensure_buffer_stack' was not declared in this scope qmake_lex.cpp:716: error: 'yy_buffer_stack' was not declared in this scope qmake_lex.cpp:716: error: 'yy_buffer_stack_top' was not declared in this scope qmake_lex.cpp: In constructor 'yyFlexLexer::yyFlexLexer(std::istream*, std::ostream*)': qmake_lex.cpp:1125: error: 'yy_buffer_stack' was not declared in this scope qmake_lex.cpp:1126: error: 'yy_buffer_stack_top' was not declared in this scope qmake_lex.cpp:1127: error: 'yy_buffer_stack_max' was not declared in this scope qmake_lex.cpp: In member function 'virtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*)': qmake_lex.cpp:1137: error: 'yy_buffer_stack' was not declared in this scope qmake_lex.cpp:1137: error: 'yy_buffer_stack_top' was not declared in this scope [snip] qmake_lex.cpp:1814: error: 'yy_buffer_stack_top' was not declared in this scope qmake_lex.cpp:1821: error: 'yy_buffer_stack' was not declared in this scope make[5]: *** [qmake_lex.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib/parsers/qmake' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib/parsers' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0/buildtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.4.0-r2/work/kdevelop-3.4.0' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.4.0-r2 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 4851: Called src_compile kdevelop-3.4.0-r2.ebuild, line 63: Called kde_src_compile kde.eclass, line 170: Called kde_src_compile 'all' kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 336: Called die The problem was related to the new qmake parser patch added in kdevelop-3.4.0-r1 which doesn't work with flex-2.5.4a-r6. I had flex-2.5.33-r1 package.mask-ed some time ago as it broke and old wine compile. After I unmasked it kdevelop compiled fine. flex-2.5.33-r1 is currently marked stable and is the oldest version that works for kdevelop-3.4.0. IMHO the kdevelop ebuild should have >=sys-devel/flex2.5.33-r1 as a build-time dependency. Created attachment 110381 [details]
ebuild depending on >=sys-devel/flex-2.5.33-r1
Fixed now, thanks for reporting. |