When devel/bison is installed and precedes the base system yacc in $PATH (i.e. $LOCALBASE/bin before /usr/bin), the build of print/lilypond fails due to incompatibilities between yacc and bison: ut/lexer.cc:384: error: no 'int yyFlexLexer::yywrap()' member function declared in class 'yyFlexLexer' out/lexer.cc: In member function 'virtual int Lily_lexer::yylex()': out/lexer.cc:3977: error: 'yy_buffer_stack' was not declared in this scope and so on. Fix: Force print/lilypond to use the base system tools (easily done via configure): Regards, Christoph--RKFrUEiIdqKXWWmP42tblMTfrpypIZrP5Nu8CYe1z0e7EqQy Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- print/lilypond/Makefile.orig 2011-04-19 08:05:19.000000000 +0200 +++ print/lilypond/Makefile 2011-04-19 08:20:36.000000000 +0200 @@ -47,6 +47,8 @@ GNU_MAKEFILE= yes CONFIGURE_ARGS+=--with-ncsb-dir=${LOCALBASE}/share/ghostscript/fonts CONFIGURE_ENV+= MAKEINFO="${LOCALBASE}/bin/makeinfo" +CONFIGURE_ENV+= FLEX="/usr/bin/flex" +CONFIGURE_ENV+= YACC="/usr/bin/yacc" ALL_TARGET= all How-To-Repeat: Install bison and flex from ports, try to build lilypond.
Responsible Changed From-To: freebsd-ports-bugs->gahr Over to maintainer (via the GNATS Auto Assign Tool)
gahr 2011-04-20 07:08:25 UTC FreeBSD ports repository Modified files: print/lilypond Makefile Log: - Explicitely use base flex and yacc: the port breaks when bison from ports is used in emutaled yacc mode. PR: 156488 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Revision Changes Path 1.97 +3 -1 ports/print/lilypond/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!