NetBSD Problem Report #20993
Received: (qmail 8714 invoked by uid 605); 3 Apr 2003 19:16:19 -0000
Message-Id: <20030403191614.83A9614291@gw2.twosigma.com>
Date: Thu, 3 Apr 2003 14:16:14 -0500 (EST)
From: christos@zoulas.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: christos@zoulas.com
To: gnats-bugs@gnats.netbsd.org
Subject: .USE rules don't mix with .SUFFIXES
X-Send-Pr-Version: 3.95
>Number: 20993
>Category: toolchain
>Synopsis: make: .USE rules don't mix with .SUFFIXES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: christos
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 03 19:17:01 +0000 2003
>Closed-Date:
>Last-Modified: Mon May 09 23:40:23 +0000 2022
>Originator: Christos Zoulas
>Release: NetBSD 1.6Q
>Organization:
Two Fingers Typing, LLC.
>Environment:
System: NetBSD gw2.twosigma.com 1.6Q NetBSD 1.6Q (GENERIC) #186: Thu Apr 3 09:05:57 EST 2003 christos@gw2.twosigma.com:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
defining a suffix rule that uses a .USE rule does not work.
>How-To-Repeat:
__blah: .USE
echo ${.ALLSRCS} > ${.TARGET}
.c.o: __blah
>Fix:
None.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->christos
Responsible-Changed-By: perry
Responsible-Changed-When: Thu Apr 3 12:42:27 PST 2003
Responsible-Changed-Why:
Christos is the make maintainer
From: "Roland Illig" <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/20993 CVS commit: src
Date: Mon, 7 Feb 2022 22:43:51 +0000
Module Name: src
Committed By: rillig
Date: Mon Feb 7 22:43:50 UTC 2022
Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: suff-use.exp suff-use.mk
Log Message:
tests/make: demonstrate combination of .USE with transformation rule
Reported in 2003 in PR toolchain/20993. Linking a transformation rule
with .USE or .USEBEFORE node makes the transformation rule fail.
To generate a diff of this commit:
cvs rdiff -u -r1.1185 -r1.1186 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.302 -r1.303 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/suff-use.exp \
src/usr.bin/make/unit-tests/suff-use.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.