Date: Mon, 02 Dec 2002 19:29:59 -0800 From: Pat@FreeBSD.org, "Lashley <patl+freebsd"@volant.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45951: Bison errors in coldsync port Message-ID: <E18J3l1-0001Qf-00@knight.volant.org>
next in thread | raw e-mail | index | archive | help
>Number: 45951 >Category: ports >Synopsis: Bison errors in coldsync port >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 19:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Pat Lashley >Release: FreeBSD 4.7-RC i386 >Organization: >Environment: System: FreeBSD knight.volant.org 4.7-RC FreeBSD 4.7-RC #0: Thu Oct 10 16:02:40 PDT 2002 root@knight.volant.org:/d2/usr.obj/usr/src/sys/KNIGHT i386 >Description: When attempting to build the coldsync port using the current bison port, bison reports errors in parser.y and the build fails. These errors appear to be caused by missing semicolons. I've recently seen bison errors when rebuilding a few other ports and suspect that it is being more rigorous about syntax checking. >How-To-Repeat: Install or upgrade to the latest bison port. Attempt to build the coldsync port. >Fix: Place the following 'patch-parser' file in /usr/ports/palm/coldsync/files before building. --- patch-parser begins here --- --- src/parser.y~ Tue Feb 20 06:04:15 2001 +++ src/parser.y Mon Dec 2 18:32:28 2002 @@ -1003,6 +1003,7 @@ { $$ = NULL; } + ; /* XXX - Added in 1.1.10, Sat May 20 14:21:43 2000. Make the colon * mandatory at some point. @@ -1028,6 +1029,7 @@ ANOTHER_ERROR; Error(_("\tMissing ':'.")); } + ; open_brace: '{' @@ -1036,6 +1038,7 @@ ANOTHER_ERROR; Error(_("\tMissing '{'.")); } + ; semicolon: ';' | error @@ -1043,6 +1046,7 @@ ANOTHER_ERROR; Error(_("\tMissing ';'.")); } + ; %% --- patch-parser ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18J3l1-0001Qf-00>