[kde-freebsd] kdesdk3 compile failure on upgrading amd64 system

Max Brazhnikov makc at issp.ac.ru
Tue Aug 19 20:34:58 CEST 2008


On Tue, 19 Aug 2008 11:09:07 -0700, David Southwell wrote:
> FreeBSD xxxxx.vizion2000.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul 16
> 09:27:38 PDT 2008     xxxx at xxxx.vizion2000.net:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> pofiles.cc:450:5: warning: "YY_STACK_USED" is not defined
> pofiles.cc:1518:5: warning: "YY_MAIN" is not defined
> In file included from pofiles.cc:249:
> /usr/local/include/FlexLexer.h:130: error: expected unqualified-id before
> numeric constant
> pofiles.cc: In member function 'virtual int GettextBaseFlexLexer::yylex()':
> pofiles.cc:575: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc:731: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc:754: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In
> constructor 'GettextBaseFlexLexer::GettextBaseFlexLexer(std::istream*,
> std::ostream*)':
> pofiles.cc:871: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In destructor 'virtual
> GettextBaseFlexLexer::~GettextBaseFlexLexer()':
> pofiles.cc:883: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'virtual void
> GettextBaseFlexLexer::switch_streams(std::istream*, std::ostream*)':
> pofiles.cc:890: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'int
> GettextBaseFlexLexer::yy_get_next_buffer()':
> pofiles.cc:943: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'void GettextBaseFlexLexer::yyunput(int,
> char*)':
> pofiles.cc:1138: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'int GettextBaseFlexLexer::yyinput()':
> pofiles.cc:1180: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'virtual void
> GettextBaseFlexLexer::yyrestart(std::istream*)':
> pofiles.cc:1239: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc:1242: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'virtual void
> GettextBaseFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
> pofiles.cc:1249: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc:1252: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc:1260: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'void
> GettextBaseFlexLexer::yy_load_buffer_state()':
> pofiles.cc:1274: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'virtual void
> GettextBaseFlexLexer::yy_delete_buffer(yy_buffer_state*)':
> pofiles.cc:1311: error: 'yy_current_buffer' was not declared in this scope
> pofiles.cc: In member function 'void
> GettextBaseFlexLexer::yy_flush_buffer(yy_buffer_state*)':
> pofiles.cc:1353: error: 'yy_current_buffer' was not declared in this scope
> gmake[4]: *** [pofiles.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.9/kbabel/common/libgettext'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.9/kbabel/common'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.9/kbabel'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.9'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/devel/kdesdk3.Advice appreciated
>
> Should this be reported as a bug or have I missed something?
> Thanks in advance
>
> David

textproc/flex causes the problem, see
http://mail.kde.org/pipermail/kde-freebsd/2008-August/003470.html


More information about the kde-freebsd mailing list