buildworld fails

Ruslan Ermilov ru at freebsd.org
Wed Aug 30 08:07:11 UTC 2006


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,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060830/652d65d0/attachment.pgp


More information about the freebsd-current mailing list