Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 12:21:36 -0800
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-fs@freebsd.org, Ivan Voras <ivoras@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: another fuse panic
Message-ID:  <AANLkTimtRExk5g9hGhREpPjTGW5azLA=_E6YuoWboxXA@mail.gmail.com>
In-Reply-To: <AANLkTikr0OZef1--ycTyZENbCuLNcQOnYDCWuLiJkWDz@mail.gmail.com>
References:  <4CD7C8FC.900@icyb.net.ua> <ib8nas$9de$1@dough.gmane.org> <4CD7E515.5040209@icyb.net.ua> <4CD7E960.1070200@freebsd.org> <4CDA3CDD.5000404@freebsd.org> <AANLkTi=LcnhXNb%2BPrkvykvWKoFyHU79dH2F=g5vweS4X@mail.gmail.com> <4CDAEDB2.4010704@freebsd.org> <4CDAF5B1.4040501@freebsd.org> <AANLkTikr0OZef1--ycTyZENbCuLNcQOnYDCWuLiJkWDz@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 10, 2010 at 12:18 PM, Garrett Cooper <gcooper@freebsd.org> wrot=
e:
> On Wed, Nov 10, 2010 at 11:42 AM, Andriy Gapon <avg@freebsd.org> wrote:
>> on 10/11/2010 21:08 Andriy Gapon said the following:
>>> on 10/11/2010 20:26 Sergey Kandaurov said the following:
>>>> Hi.
>>>> If I understood you correctly, then you need
>>>> PORTS_MODULES set in /etc/make.conf.
>>>
>>> It was a long time ago when I tried it last time, but I remember having=
 problems
>>> with it during upgrades.
>>
>> I think this is what it was/is.
>> If a port in PORTS_MODULES has dependencies, then buildkernel would try =
to install
>> those dependencies even if they are already installed. =A0And that, obvi=
ously, would
>> fail.
>
> Didn't know about this knob -- cool!
>
> And FWIW, all it does is a:
>
> all
> install: deinstall reinstall (huh?)
> reinstall: deinstall reinstall (huh?)
> clean
>
> Seems like it should be:
>
> clean
> all
> [deinstall]
> install
> clean
>
> or:
>
> clean
> all
> install -DFORCE_PKG_REGISTER
> clean
>
> the first clean is just in case the PORTSWORKDIR is dirty.

And FWIW an even better idea might be to align the port with the
process in use, i.e.

clean (i.e. NO_CLEAN, KERNFAST, etc not specified) ->
[${PORTSDIR}/${PORT}] clean
buildkernel -> [${PORTSDIR}/${PORT}] all
installkernel -> [${PORTSDIR}/${PORT}] deinstall install

*shrugs*
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimtRExk5g9hGhREpPjTGW5azLA=_E6YuoWboxXA>