Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 15:13:02 +0700
From:      Bachilo Dmitry <root@solink.ru>
To:        current@freebsd.org
Subject:   Re: buildworld fails
Message-ID:  <200608301513.02804.root@solink.ru>
In-Reply-To: <20060830080732.GD6089@rambler-co.ru>
References:  <200608301423.39047.root@solink.ru> <20060830080732.GD6089@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

В сообщении от Среда 30 августа 2006 15:07 вы написали:
> On Wed, Aug 30, 2006 at 02:23:37PM +0700, Bachilo Dmitry wrote:
> > I just tried to buildworld to upgrade another server from 5.5 to 6.1, but
> > while it went absolutely fine yet, on this server it told me this:
> >
> > ===> sbin/ipf/ipf (obj)
> > mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
> > *** Error code 1
> >
> > Stop in /usr/src/sbin/ipf/ipf.
> >
> >
> > What do I do wrong this time?
>
> NO_CLEAN builds are NOT guaranteed to work.  They work most of the
> time, but they "rely" on the source tree not being changed a lot,
> in ways that obfuscate make(1).  In this particular case, it may
> even have caused by using a regular (cleaning) build, because the
> type of the file in question has changed from "file" to "directory"
> (or vice versa, I don't recall for sure).  Your action in this
> case is to follow these steps:
>
> 1) Wipe out /usr/obj/usr/src.
> 2) Start a build (it can be a NO_CLEAN to save time, since there
>    will be nothing to clean).
>
>
> Cheers,

Thanks, I've just did rm -rf /usr/obj and make cleandir cleandir.
Now buildworld does not fail and compiles builds fine.

------------------------
С уважением, Бачило Дмитрий
Руководитель отдела системной интеграции
ООО "Компания СоЛинк"



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