Artifacts Associated With Ticket 218963
Ticket change [5a5ff12b52] (rid 118133) by nobody on 2000-10-26 01:08:40:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3333 Bug Version: 8.2.1 SubmitDate: '1999-11-05' LastModified: '1999-11-07' Severity: MED Status: Released Submitter: techsupp ChangedBy: hobbs OS: Other FixedDate: '1999-11-07' FixedInVersion: 8.2.2 ClosedDate: '2000-10-25' Name: Don Porter CVS: $Id: Makefile.in,v 1.44.2.2 1999/10/02 01:09:54 hobbs Exp $ Comments: The problem is the interaction between CVS Keyword expansion and other quoting. When the $Id$ keyword is expanded by CVS, the expanded value contains "/". The -e flag to sed sees the "/" as a close of the 's/SCCCID//' command, and the rest of the keyword expansion causes a sed error. The fix is to use a different character ('?') to act as the delimiter for the 's' command of sed. Note: Since Tcl 8.2.1 is not available through the Scriptics NetCVS repository, the diffs are done against my own local CVS repository in which I keep Tcl releases. That explains different revision numbers. The diff is against the Tcl 8.2.1 source code release. ObservedBehavior: $ cd tcl8.2.1/unix $ make gendate yacc -l ./../generic/tclGetDate.y yacc: 8 shift/reduce conflicts. sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' -e 's/SCCSID/RCS: @(#) $Id: Makefile.in,v 1.44.2.2 1999/10/02 01:09:54 hobbs Exp $/' -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' -e '/TclDatenewstate:/d' -e '/#pragma/d' -e '/#include <inttypes.h>/d' <y.tab.c >./../generic/tclDate.c sed: Unknown option to 's' make: *** [gendate] Error 1 DesiredBehavior: 'make gendate' should build generic/tclDate.c from generic/tclGetDate.y Patch: Index: Makefile.in =================================================================== RCS file: /home/cvs/cvsroot/sun/tcl/unix/Makefile.in,v retrieving revision 1.1.1.17 diff -c -r1.1.1.17 Makefile.in *** Makefile.in 1999/10/04 21:07:21 1.1.1.17 --- Makefile.in 1999/10/04 21:57:14 *************** *** 460,466 **** gendate: yacc -l $(GENERIC_DIR)/tclGetDate.y sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' ! -e 's/SCCSID/RCS: @(#) $$Id: Makefile.in,v 1.44.2.2 1999/10/02 01:09:54 hobbs Exp $$/' -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' -e '/TclDatenewstate:/d' -e '/#pragma/d' -e '/#include <inttypes.h>/d' --- 460,466 ---- gendate: yacc -l $(GENERIC_DIR)/tclGetDate.y sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' ! -e 's?SCCSID?RCS: @(#) $$Id$$?' -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' -e '/TclDatenewstate:/d' -e '/#pragma/d' -e '/#include <inttypes.h>/d' PatchFiles: unix/Makefile.in Fixed as specified. -- 11/07/1999 hobbs - foundin initialized to: "obsolete: 8.2.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to: "'make gendate' target broken"
- type initialized to: "Bug"
Ticket change [9013dc25ed] (rid 120380) by welch on 2000-10-26 08:32:16:
- closedate changed to: "2000-10-26T01:32:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Deleted"
Ticket change [d4b62900ff] (rid 123496) by dgp on 2001-04-05 06:52:48:
- closedate changed to: "2001-04-04T23:52:48"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"