Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 10:41:42 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        h v <henry.vogt@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Buildworld error: [_cleanworldtmp] Error code 6
Message-ID:  <83602c74-73a9-4090-a2ff-f83e33bf3fb4@FreeBSD.org>
In-Reply-To: <d0ec3c5f-99c2-4e1f-97da-35532a58f595@gmail.com>
References:  <e86e75d6-eb15-4db2-ad18-c3854eaaa111@FreeBSD.org> <d0ec3c5f-99c2-4e1f-97da-35532a58f595@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31/10/24 10:32, h v wrote:
> 
> On 31.10.24 13:50, Renato Botelho wrote:
>> I do incremental builds using META_MODE on this system every ~ 2 weeks 
>> and today I got an error when I tried to build world.  I considered to 
>> just clean /usr/obj and move on but decided to report it here first 
>> for the case anyone is interested.
> 
> For me,  it was sufficient to rm -rf $OBJTOP/tmp  manually before 
> buildworld.. omitting  -j XX when doing buildworld. also seems to help, 
> but slows down the build considerably.
> 
> Timing issue ?

I ran `make _cleanworldtmp` and after that problem is not reproducible 
anymore

# make _cleanworldtmp
 >>> Deleting stale files in build tree...
         2.85 real         1.14 user         1.96 sys
rm -rf /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include

# make -s -j16 buildworld
make[1]: "/usr/src/Makefile.inc1" line 364: SYSTEM_COMPILER: libclang 
will be built for bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 369: SYSTEM_LINKER: libclang will 
be built for bootstrapping a cross-linker.
--------------------------------------------------------------
 >>> World build started on Thu Oct 31 10:39:13 -03 2024
--------------------------------------------------------------
 >>> Deleting stale files in build tree...
         1.74 real         1.23 user         1.44 sys

--------------------------------------------------------------
 >>> Rebuilding the temporary build tree
--------------------------------------------------------------
Linking host tools into /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin

If it happens again I'll report it in this thread.

Thanks!

-- 
Renato Botelho




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83602c74-73a9-4090-a2ff-f83e33bf3fb4>