🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1487

bug in gnu make version 3.27

#1487
From: W. Wilson Ho
Date: Wed, 15 Feb 1989 00:29
38 lines
1551 bytes
I found the following bug in the Gnu make version 3.27.  The same bug
appears when running under both the Sun Workstation and the Vax.
Consider the following script:

---------------
Script started on Tue Feb 14 16:19:48 1989
how@iris:51> cat makefile
all: a a

a:
	@echo a
how@iris:52> /usr/gnu/make -n
how@iris:53> /usr/gnu/make
how@iris:54> /bin/make -n
echo a
how@iris:55> /bin/make 
a
how@iris:56> exit
how@iris:57> 
script done on Tue Feb 14 16:20:06 1989

---------------

The target "all" of the makefile (incorrectly) depends on "a" twice.
And the gnu make does not give an error message nor does it proceed to
work on creating "a".  The standard unix make does not have this bug.

Thank you for your attention!

Wilson Ho
-------------------------------------------------------------------------------
  W. Wilson Ho		        |  INTERNET: how@iris.ucdavis.edu
  Division of Computer Science	|  UUCP:     {lll-crg, ucbvax}!ucdavis!iris!how
  EECS Department		|
  University of California	|  Phone:    (916)752-7109
  Davis, CA 95616		|
-------------------------------------------------------------------------------
Technical Details
Message-ID: <8902150029.AA22191@iris.ucdavis.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!IRIS.UCDAVIS.EDU!how

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!IRIS.UCDAVIS.EDU!how
From: how@IRIS.UCDAVIS.EDU (W. Wilson Ho)
Newsgroups: gnu.utils.bug
Subject: bug in gnu make version 3.27
Message-ID: <8902150029.AA22191@iris.ucdavis.edu>
Date: 15 Feb 89 00:29:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 38