NetBSD Problem Report #20993

Received: (qmail 8714 invoked by uid 605); 3 Apr 2003 19:16:19 -0000
Message-Id: <>
Date: Thu,  3 Apr 2003 14:16:14 -0500 (EST)
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
>Last-Modified:  Mon May 09 23:40:23 +0000 2022
>Originator:     Christos Zoulas
>Release:        NetBSD 1.6Q
	Two Fingers Typing, LLC.
System: NetBSD 1.6Q NetBSD 1.6Q (GENERIC) #186: Thu Apr 3 09:05:57 EST 2003 i386
Architecture: i386
Machine: i386
	defining a suffix rule that uses a .USE rule does not work.
	__blah: .USE
		echo ${.ALLSRCS} > ${.TARGET}

	.c.o: __blah
Responsible-Changed-From-To: bin-bug-people->christos 
Responsible-Changed-By: perry 
Responsible-Changed-When: Thu Apr 3 12:42:27 PST 2003 
Christos is the make maintainer 
From: "Roland Illig" <>
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

 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 \

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.