NetBSD Problem Report #9995

Received: (qmail 6267 invoked from network); 27 Apr 2000 19:44:59 -0000
Message-Id: <20000427194427.25B13D204@dr-evil.shagadelic.org>
Date: Thu, 27 Apr 2000 12:44:27 -0700 (PDT)
From: thorpej@zembu.com
Reply-To: thorpej@zembu.com
To: gnats-bugs@gnats.netbsd.org
Subject: `make package' not recursive
X-Send-Pr-Version: 3.95

>Number:         9995
>Category:       pkg
>Synopsis:       `make package' not recursive
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 27 19:45:00 +0000 2000
>Closed-Date:    Fri Apr 28 17:23:06 +0000 2000
>Last-Modified:  Fri Apr 28 17:23:06 +0000 2000
>Originator:     Jason R. Thorpe
>Release:        April 27, 2000
>Organization:
Zembu Labs, Inc.
>Environment:

System: NetBSD dr-evil 1.4X NetBSD 1.4X (DR-EVIL) #17: Thu Apr 27 09:25:45 PDT 2000 thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL i386


>Description:
	When doing a `make package' of a specific package, if a dependency
	is also build, a package is not created for that, requiring
	manual intervention to make the package (hopefully before you
	have done a `make clean').

	This is counter-intuitive, and fairly annoying for automated
	build environments.  In order to properly automate, the automation
	system must first determine the dependency graph, and then build
	the packages in that order.  There is no need to require this
	if it can be handled by the package system itself.

>How-To-Repeat:
	cd pkgsrc/x11/windowmaker; make package

	Notice that only the windowmaker package is created, even though
	all the dependencies are build and installed.
>Fix:
	Not supplied.
>Release-Note:
>Audit-Trail:

From: mcmahill@mtl.mit.edu
To: thorpej@zembu.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 15:49:09 -0400 (EDT)

 huberts bulk stuff (bsd.hf-pkg.mk) (not committed yet) does this and would
 be the starting place.



 On Thu, 27 Apr 2000 thorpej@zembu.com wrote:

 > 
 > >Number:         9995
 > >Category:       pkg
 > >Synopsis:       `make package' not recursive
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Apr 27 12:45:00 PDT 2000
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Jason R. Thorpe
 > >Release:        April 27, 2000
 > >Organization:
 > Zembu Labs, Inc.
 > >Environment:
 > 	
 > System: NetBSD dr-evil 1.4X NetBSD 1.4X (DR-EVIL) #17: Thu Apr 27 09:25:45 PDT 2000 thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL i386
 > 
 > 
 > >Description:
 > 	When doing a `make package' of a specific package, if a dependency
 > 	is also build, a package is not created for that, requiring
 > 	manual intervention to make the package (hopefully before you
 > 	have done a `make clean').
 > 
 > 	This is counter-intuitive, and fairly annoying for automated
 > 	build environments.  In order to properly automate, the automation
 > 	system must first determine the dependency graph, and then build
 > 	the packages in that order.  There is no need to require this
 > 	if it can be handled by the package system itself.
 > 
 > >How-To-Repeat:
 > 	cd pkgsrc/x11/windowmaker; make package
 > 
 > 	Notice that only the windowmaker package is created, even though
 > 	all the dependencies are build and installed.
 > >Fix:
 > 	Not supplied.
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 


From: Andrew Brown <atatat@atatdot.net>
To: thorpej@zembu.com
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 16:05:08 -0400

 >	When doing a `make package' of a specific package, if a dependency
 >	is also build, a package is not created for that, requiring
 >	manual intervention to make the package (hopefully before you
 >	have done a `make clean').

 should "make clean" also recurse?  i've noticed that it doesn't...

 -- 
 |-----< "CODE WARRIOR" >-----|
 codewarrior@daemon.org             * "ah!  i see you have the internet
 twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
 andrew@crossbar.com       * "information is power -- share the wealth."

From: mcmahill@mtl.mit.edu
To: Andrew Brown <atatat@atatdot.net>
Cc: thorpej@zembu.com, gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 16:07:42 -0400 (EDT)

 On Thu, 27 Apr 2000, Andrew Brown wrote:

 > >	When doing a `make package' of a specific package, if a dependency
 > >	is also build, a package is not created for that, requiring
 > >	manual intervention to make the package (hopefully before you
 > >	have done a `make clean').
 > 
 > should "make clean" also recurse?  i've noticed that it doesn't...
 > 

 I think:

 make  clean CLEANDEPENDS=YES

 does that.

 -Dan


From: mcmahill@mtl.mit.edu
To: thorpej@zembu.com
Cc: gnats-bugs@gnats.netbsd.org, Andrew Brown <atatat@atatdot.net>
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 16:10:03 -0400 (EDT)

 oh I think,

 make package DEPENDS_TARGET=package

 will be recursive.

 On Thu, 27 Apr 2000 thorpej@zembu.com wrote:

 > 
 > >Number:         9995
 > >Category:       pkg
 > >Synopsis:       `make package' not recursive
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Apr 27 12:45:00 PDT 2000
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Jason R. Thorpe
 > >Release:        April 27, 2000
 > >Organization:
 > Zembu Labs, Inc.
 > >Environment:
 > 	
 > System: NetBSD dr-evil 1.4X NetBSD 1.4X (DR-EVIL) #17: Thu Apr 27 09:25:45 PDT 2000 thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL i386
 > 
 > 
 > >Description:
 > 	When doing a `make package' of a specific package, if a dependency
 > 	is also build, a package is not created for that, requiring
 > 	manual intervention to make the package (hopefully before you
 > 	have done a `make clean').
 > 
 > 	This is counter-intuitive, and fairly annoying for automated
 > 	build environments.  In order to properly automate, the automation
 > 	system must first determine the dependency graph, and then build
 > 	the packages in that order.  There is no need to require this
 > 	if it can be handled by the package system itself.
 > 
 > >How-To-Repeat:
 > 	cd pkgsrc/x11/windowmaker; make package
 > 
 > 	Notice that only the windowmaker package is created, even though
 > 	all the dependencies are build and installed.
 > >Fix:
 > 	Not supplied.
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 



From: Bjoern Labitzke <hermit@hermit.home.cs.tu-berlin.de>
To: Andrew Brown <atatat@atatdot.net>
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 22:23:15 +0200

 * Andrew Brown (atatat@atatdot.net) [000427 22:13]:
 | should "make clean" also recurse?  i've noticed that it doesn't...

 make CLEANDEPENDS=YES clean

 does recurse.

 Bye,
 Bjoern

 -- 
 Bjoern Labitzke  <hermit@cs.tu-berlin.de>
    Use PGP! (Don't you use envelopes for your letters?)

From: Andrew Brown <atatat@atatdot.net>
To: Bjoern Labitzke <hermit@cs.tu-berlin.de>
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/9995: `make package' not recursive
Date: Thu, 27 Apr 2000 16:42:00 -0400

 >| should "make clean" also recurse?  i've noticed that it doesn't...
 >
 >make CLEANDEPENDS=YES clean
 >
 >does recurse.

 okay, that's good to know.  of course, it would probably be "better"
 if it only recursed into (and cleaned) things that it built in order
 to build the given pkg, rather than recursing (and cleaning) into
 everything it depends on.  :)

 i might have a few things lying around built that i didn't want to get
 rid of...

 -- 
 |-----< "CODE WARRIOR" >-----|
 codewarrior@daemon.org             * "ah!  i see you have the internet
 twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
 andrew@crossbar.com       * "information is power -- share the wealth."
State-Changed-From-To: open->analyzed 
State-Changed-By: tron 
State-Changed-When: Fri Apr 28 00:29:04 PDT 2000 
State-Changed-Why:  
'make DEPENDS_TARGET=package' does what you desire. Is that enough or should 
be the default for "make package" perhaps? 
State-Changed-From-To: analyzed->closed 
State-Changed-By: kim 
State-Changed-When: Fri Apr 28 10:18:56 PDT 2000 
State-Changed-Why:  
I implemented this behaviour in pkgsrc/mk/bsd.pkg.mk revision 1.426. 
>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.