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
Responsible Changed From-To: freebsd-ports->kuriyama over to maintainer
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; }
State Changed From-To: open->closed Committed, thanks!
Responsible Changed From-To: kuriyama->freebsd-ports Committed, thanks!