ports/58589: [patch] Fix broken databases/msql

Ryan Thompson ryan at sasknow.com
Mon Oct 27 05:40:20 UTC 2003


>Number:         58589
>Category:       ports
>Synopsis:       [patch] Fix broken databases/msql
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 26 21:40:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Thompson <ryan at saskonw.com>
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD ren.sasknow.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #0: Wed
Aug 20 19:06:09 CST 2003 hutenosa at earl.sasknow.net:/usr/obj/usr/src/sys/REN
i386

FreeBSD h204-134.sasknow.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Tue
Oct  7 02:01:14 CST 2003     root at earl.sasknow.net:/usr/obj/usr/src/sys/I478P4
i386

	
>Description:

Build of msql fails on .y source compilation using bison -y.

Starting make for mSQL-2


--> [common] directory =20
<-- [common] done      =20

--> [msql] directory =20

bison -y -d msql_yacc.y
msql_yacc.y:153.2: parse error, unexpected ":", expecting ";" or "|"
msql_yacc.y:184.3-186.26: invalid $ value
msql_yacc.y:184.3-189.13: invalid $ value
msql_yacc.y:184.3-194.12: invalid $ value
msql_yacc.y:198.3-200.39: invalid $ value
msql_yacc.y:453.3-454.26: invalid $ value
msql_yacc.y:453.3-457.13: invalid $ value
msql_yacc.y:453.3-462.12: invalid $ value
msql_yacc.y:477.3-49: invalid $ value
msql_yacc.y:675.3-676.33: invalid $ value
*** Error code 1

Apparently, this has been broken since at least June:
http://groups.google.ca/groups?selm=bdmcp9%2410e2%241%40FreeBSD.csie.NCTU.edu.tw

>How-To-Repeat:
	
>Fix:

	Explicitly use /usr/bin/yacc in the port Makefile

	--- Makefile.orig       Sun Oct 26 23:29:06 2003
	+++ Makefile    Wed Oct 22 23:47:53 2003
	@@ -15,6 +15,7 @@

	 INSTALLS_SHLIB= YES
	 USE_PERL5=	YES
	 +YACC=		/usr/bin/yacc

	 # Not free for commercial use.
	 RESTRICTED=    "restrictive copyright (no commercial use)"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list