NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60016 (make(1) tests failing since sjg MaybeSubMake changes)



The following reply was made to PR bin/60016; it has been noted by GNATS.

From: "Simon J. Gerraty" <sjg%juniper.net@localhost>
To: Robert Elz <kre%munnari.OZ.AU@localhost>
Cc: Martin Husemann <martin%duskware.de@localhost>, <gnats-bugs%netbsd.org@localhost>,
        <netbsd-bugs%netbsd.org@localhost>, <campbell+netbsd%mumble.net@localhost>,
        <rillig%netbsd.org@localhost>, <sjg%juniper.net@localhost>
Subject: Re: bin/60016 (make(1) tests failing since sjg MaybeSubMake changes)
Date: Mon, 9 Mar 2026 21:12:20 -0700

 Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
 >   | That test failed because .make was missing.
 > 
 > Are you sure?
 
 That's a very good question actually.
 
 Normally these tests are run 'make test' in usr.bin/make, that makefile
 passes an absolute path for TEST_MAKE which is what all these tests will
 see as ${MAKE}
 
 But when run via atf-run, I suspect MAKE will be just make
 which will not do anything useful in the symlink below.
 
 > 
 > When make does:
 > 
 >         .make:
 >                  @ln -sf ${MAKE} ${.TARGET}
 > 
 > no file named ".make" in "." (the normal, common, case) or if .make is
 > a symlink, and the target of the symlink doesn't exist (or sometimes other
 > errors based upon the lookup of the target).
 
 That is the more likely case.
 
 Let me check I can reproduce the issue...
 
 Thanks
 --sjg
 


Home | Main Index | Thread Index | Old Index