Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!bu-cs!bloom-beacon!eru!luth!sunic!mcsun!ukc!tcdcs!tcdmath!ajudge From: ajudge@maths.tcd.ie (Alan Judge) Newsgroups: gnu.utils.bug Subject: BUG in GNU Make 3.57 Message-ID: <1277@hamilton.maths.tcd.ie> Date: 11 Dec 89 12:34:07 GMT Reply-To: ajudge@maths.tcd.ie (Alan Judge) Distribution: gnu Organization: Maths Dept., Trinity College, Dublin Lines: 64 I have just obtained GNU Make V3.57, having been using V3.27 up to now, and there would appear to be a new bug in the handling of chained rules. The following script illustrates the problem. The first make works OK, but the second make, which should do nothing, screws up. The makefile works fine with gmake 3.27. If you have a fix for this, I would be very grateful if you would mail it to me. (Note: I am running make on a VAX, and the bug appears with both cc and gcc.) -- Thanks, Alan SysAdmin, Dept. of Maths, Trinity College, Dublin, Ireland. Script started on Sun Dec 10 16:16:47 1989 csaran 1% cat > Makefile t: t.o cc -o t t.o csaran 2% mkdir RCS csaran 3% cat > t.c main(){} csaran 4% ci -u t.c RCS/t.c,v <-- t.c initial revision: 1.1 enter description, terminated with ^D or '.': NOTE: This is NOT the log message! >> done csaran 5% ls Makefile RCS t.c csaran 6% rm t.c rm: override protection 444 for t.c? y csaran 7% /bofin/src/gnu/make-3.57/make -v GNU Make version 3.57, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. test -f t.c || co RCS/t.c,v t.c RCS/t.c,v --> t.c revision 1.1 done cc -c t.c cc -o t t.o rm t.c csaran 8% !! /bofin/src/gnu/make-3.57/make -v GNU Make version 3.57, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cc -c t.c 0: No source file t.c make: *** [t.o] Error 1 csaran 8% script done on Sun Dec 10 16:18:14 1989