NetBSD Problem Report #9559

Received: (qmail 27880 invoked from network); 7 Mar 2000 06:43:56 -0000
Message-Id: <20000307064342.AA011241A@towers-of-dub.eterna.com.au>
Date: Tue,  7 Mar 2000 17:43:42 +1100 (EST)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: xsrc "make cleandir" leaves .depend and other turds.
X-Send-Pr-Version: 3.95

>Number:         9559
>Category:       xsrc
>Synopsis:       xsrc "make cleandir" leaves .depend turds.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 06 22:45:01 +0000 2000
>Closed-Date:    Thu Apr 06 02:41:22 +0000 2000
>Last-Modified:  Thu Apr 06 02:41:22 +0000 2000
>Originator:     matthew green
>Release:        <NetBSD-current source date>today
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:

System: NetBSD towers-of-dub.eterna.com.au 1.4P NetBSD 1.4P (_towers_) #38: Fri Jan 7 10:01:59 EST 2000 mrg@towers-of-dub.eterna.com.au:/orb/y/_towers_ alpha


>Description:

	the "make cleandir" target for NetBSD's xsrc distribution fails to do
	two things (at least) when cleaning:

		- xsrc/xmakefile remains

		- all the .depend files are still there

>How-To-Repeat:

	build NetBSD xsrc on one platform, run "make clean" or "make cleandir"
	on another platform (from the same xsrc tree) and attempt to build on
	this other platform.  i had .depend lossage (ie, /usr/include/<arch>
	files) and also laving the xsrc/xmakefile file causes the NetBSD
	xsrc/Makefile to fail to build the Makefile necessary to build xsrc.

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Tue Mar 7 15:12:58 PST 2000 
State-Changed-Why:  
It looks like your "xsrc" sources aren't up to date. The "cleandir" target 
in "xsrc/Makefile" looks this: 

cleandir distclean: clean 
find xc contrib -name .depend | xargs rm 
find xc contrib -name 'Makefile*' |  
xargs grep -l "Makefile generated by imake" | xargs rm 
-rmdir xc/exports 
rm -f xc/xmakefile 

As you can see the files left over on your system are definitely removed. 
Please update your "xsrc" sources and retry. 
State-Changed-From-To: feedback->closed 
State-Changed-By: mrg 
State-Changed-When: Wed Apr 5 19:40:59 PDT 2000 
State-Changed-Why:  
this is fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.