[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#167058: FTBFS: Build failure of tetex-bin on i386



Junichi Uekawa writes:

> This build was done using pbuilder package.
> bison is now more strict about syntax

> Build log follows:
> ===========================================
> make[4]: Entering directory `/tmp/buildd/tetex-bin-1.0.7+20011202/texk/web2c/web2c'
> Expect one shift/reduce conflict.
> bison -y -d -v ./web2c.y
> ./web2c.y:139.18: parse error, unexpected ":", expecting ";" or "|"

This is a problem in the original web2c sources, and has been around
for a _long_ time with neither bison nor yacc spotting it before.
It's been fixed in the more recent web2c sources, see the diff below.

It also shows that you cannot blindly assume that old sources will
build with the latest-and-greatest versions of the build tools.

Index: web2c.y
===================================================================
RCS file: /usr/local/cvsroot/texk/texk/web2c/web2c/web2c.y,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- web2c.y     18 Nov 2001 11:22:35 -0000      1.5
+++ web2c.y     6 Oct 2002 14:29:09 -0000       1.6
@@ -135,6 +135,7 @@
 /* program statement.  Ignore any files.  */
 PROGRAM_HEAD:
          program_tok undef_id_tok PROGRAM_FILE_PART ';'
+       ;
 
 PROGRAM_FILE_PART:
          '(' PROGRAM_FILE_LIST ')'

-- 
Olaf Weber

               (This space left blank for technical reasons.)




Reply to: