Bug 45599 - palm/prc-tools-binutils fails to build
Summary: palm/prc-tools-binutils fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-22 20:30 UTC by Jonathan Chen
Modified: 2003-01-31 22:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2002-11-22 20:30:01 UTC
On a recent cvsup (Sat Nov 23 09:17:09 NZDT 2002), and an up to date
installed ports system, palm/prc-tools-binutils fails with:

	[...]
	bison -y -dv .././../prc-tools-2.0/tools/def.y \
	  && mv y.tab.c def.tab.c && mv y.tab.h def.tab.h \
	  && mv y.output def.output
	.././../prc-tools-2.0/tools/def.y:142.10: parse error, unexpected ":", expecting ";" or "|"
	.././../prc-tools-2.0/tools/def.y:143.17-20: $$ of `trap_def' has no declared type
	.././../prc-tools-2.0/tools/def.y:144.19-34: $1 of `trap_def' has no declared type
	.././../prc-tools-2.0/tools/def.y:144.19-38: $2 of `trap_def' has no declared type
	.././../prc-tools-2.0/tools/def.y:144.19-49: $2 of `trap_def' has no declared type
	.././../prc-tools-2.0/tools/def.y:144.19-145.8: $$ of `trap_def' has no declared type
	.././../prc-tools-2.0/tools/def.y:144.19-145.13: $1 of `trap_def' has no declared type
	gmake[1]: *** [def.tab.c] Error 1
	gmake[1]: Leaving directory `/usr/ports/palm/prc-tools-binutils/work/build/tools'
	gmake: *** [all-host] Error 1


Installed version of bison is bison-1.75.

How-To-Repeat: 	# cd /usr/ports/palm/prc-tools-binutils
	# make
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-11-23 15:18:56 UTC
Responsible Changed
From-To: freebsd-ports->kuriyama

over to maintainer
Comment 2 Jonathan Chen 2002-11-27 21:39:35 UTC
Hi,

Had a look, and the fix is the following simple patch. However, it would be
better if someone could commit:

    http://www.freebsd.org/cgi/query-pr.cgi?pr=38689 

as this is upgrades the prc-tools to 2.1. The PR has been languishing
in the tree since May 2002!

Cheers.
--
Jonathan Chen <jonc@chen.org.nz>

patch-tools::def.y

--- ../prc-tools-2.0/tools/def.y.orig	Tue Jan 25 12:10:57 2000
+++ ../prc-tools-2.0/tools/def.y	Thu Nov 28 10:17:15 2002
@@ -138,6 +138,7 @@
 
 trap_def:
 	  TRAP '{' trap_list '}'
+	;
 
 trap_list:
 	  /* empty */		{ $$ = 1000; }
Comment 3 Oliver Braun freebsd_committer freebsd_triage 2003-01-31 22:40:01 UTC
State Changed
From-To: open->closed

Committed, thanks! 


Comment 4 Oliver Braun freebsd_committer freebsd_triage 2003-01-31 22:40:01 UTC
Responsible Changed
From-To: kuriyama->freebsd-ports

Committed, thanks!