issues with PSEUDO_FLAVORS during "make clean=depends" or when CLEANDEPENDS=Yes in /etc/mk.conf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

issues with PSEUDO_FLAVORS during "make clean=depends" or when CLEANDEPENDS=Yes in /etc/mk.conf

Moritz Grimm
Hi,


the ports infrastructure appears to have issues cleaning up working
directories with PSEUDO_FLAVORS properly, if CLEANDEPENDS is set to Yes
in /etc/mk.conf or the 'clean=depends' target is used. This can be seen,
for example, in devel/subversion:

--- snip ---
# pwd && ls
/usr/ports/devel/subversion
CVS      Makefile distinfo patches  pkg
# FLAVOR=no_bindings make extract
===>  Checking files for subversion-1.2.3p0
[...snipped]
===>  Extracting for subversion-1.2.3p0
# ls
CVS                                     patches
Makefile                                pkg
distinfo                                w-subversion-1.2.3p0-no_bindings
# FLAVOR=no_bindings make clean=depends
===>  Cleaning for subversion-1.2.3p0
# ls
CVS                                     patches
Makefile                                pkg
distinfo                                w-subversion-1.2.3p0-no_bindings
#
--- snap ---

This behavior is specific to PSEUDO_FLAVORS -- with regular FLAVORs or
unflavored ports, "make clean=depends" (or simply "make clean" with
CLEANDEPENDS set to Yes) cleans up everything, both dependencies and the
actual port itself.


Moritz

Reply | Threaded
Open this post in threaded view
|

Re: issues with PSEUDO_FLAVORS during "make clean=depends" or when

Moritz Grimm
Moritz Grimm wrote:
> # FLAVOR=no_bindings make clean=depends
> ===>  Cleaning for subversion-1.2.3p0

I've been snipping the output there, too. Sorry, I forgot to mark it
that way. Traversing through the dependencies works okay from what I can
tell.


Moritz

Reply | Threaded
Open this post in threaded view
|

Re: issues with PSEUDO_FLAVORS during "make clean=depends" or when CLEANDEPENDS=Yes in /etc/mk.conf

Marc Espie-2
In reply to this post by Moritz Grimm
On Fri, Nov 11, 2005 at 10:29:58AM +0100, Moritz Grimm wrote:
> Hi,
>
>
> the ports infrastructure appears to have issues cleaning up working
> directories with PSEUDO_FLAVORS properly, if CLEANDEPENDS is set to Yes
> in /etc/mk.conf or the 'clean=depends' target is used. This can be seen,
> for example, in devel/subversion:

This specific case has just been fixed, thanks !