From root@knight.volant.org  Mon Dec  2 19:30:09 2002
Return-Path: <root@knight.volant.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 06E6537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2002 19:30:09 -0800 (PST)
Received: from knight.volant.org (knight.volant.org [207.111.218.254])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BE36C43EBE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2002 19:30:08 -0800 (PST)
	(envelope-from root@knight.volant.org)
Received: from root by knight.volant.org with local (Exim 4.10)
	id 18J3l1-0001Qf-00
	for FreeBSD-gnats-submit@freebsd.org; Mon, 02 Dec 2002 19:29:59 -0800
Message-Id: <E18J3l1-0001Qf-00@knight.volant.org>
Date: Mon, 02 Dec 2002 19:29:59 -0800
From: Pat@FreeBSD.ORG, "Lashley <patl+freebsd"@volant.org
Reply-To: Pat@FreeBSD.ORG, "Lashley <patl+freebsd"@volant.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Bison errors in coldsync port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45951
>Category:       ports
>Synopsis:       Bison errors in coldsync port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 19:40:01 PST 2002
>Closed-Date:    Tue Dec 10 09:49:26 PST 2002
>Last-Modified:  Tue Dec 10 09:49:26 PST 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Tue Dec 10 09:49:20 PST 2002 
State-Changed-Why:  
Committed thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45951 
>Unformatted:
