From owner-freebsd-ports Sat Mar 18 10:30: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7DA8B37B9FD for ; Sat, 18 Mar 2000 10:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA70516; Sat, 18 Mar 2000 10:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 0777037B989 for ; Sat, 18 Mar 2000 10:22:31 -0800 (PST) (envelope-from david@catwhisker.org) Received: from dhw-laptop.catwhisker.org (dhcp-130.catwhisker.org [172.16.8.130]) by bunrab.catwhisker.org (8.9.3/8.9.3) with ESMTP id KAA62319 for ; Sat, 18 Mar 2000 10:22:30 -0800 (PST) (envelope-from david@mailhost.catwhisker.org) Received: (from david@localhost) by dhw-laptop.catwhisker.org (8.10.0/8.10.0) id e2IIMPx25429; Sat, 18 Mar 2000 10:22:25 -0800 (PST) Message-Id: <200003181822.e2IIMPx25429@dhw-laptop.catwhisker.org> Date: Sat, 18 Mar 2000 10:22:25 -0800 (PST) From: David Wolfskill Reply-To: david@catwhisker.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17473: YACC error in wine-99.11.14 port (tools/wrc/parser.y) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17473 >Category: ports >Synopsis: YACC error in wine-99.11.14 port (tools/wrc/parser.y) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 18 10:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: David Wolfskill >Release: FreeBSD 4.0-RELEASE i386 >Organization: Whistle Communications (writing from home) >Environment: Building wine-99.11.14 port; it doesn't appear that the version of FReeBSD is at issue, but as noted, it's 4.0-R. >Description: In building the port for wine-99.11.14, the file /usr/ports/emulators/wine/work/wine-99.11.14/tools/wrc/parser.y is detected as having a parse error on line 1624. (Sorry; I didn't manage to keep the messages in the scroll buffer, but I've attached a patch.) The problem appears to have been a missing semicolon. (Note: I have, at this point, merely got the port to build, which is where it had been failing. I have yet to actually try to use it, and I'm not all that sure how to tell if it works: I'm building it to see if some software my spouse wants to use will run under it.) >How-To-Repeat: cd /usr/ports/emulators/wine; sudo make >Fix: =================================================================== RCS file: emulators/wine/work/wine-991114/tools/wrc/RCS/parser.y,v retrieving revision 1.1 diff -u -r1.1 emulators/wine/work/wine-991114/tools/wrc/parser.y --- emulators/wine/work/wine-991114/tools/wrc/parser.y 2000/03/18 15:15:26 1.1 +++ emulators/wine/work/wine-991114/tools/wrc/parser.y 2000/03/18 15:16:06 @@ -1621,7 +1621,7 @@ e_expr : /* Empty */ { $$ = 0; } | expr { $$ = new_int($1); } ; -expr : xpr { $$ = ($1) } +expr : xpr { $$ = ($1); } ; xpr : xpr '+' xpr { $$ = ($1) + ($3); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message