Re: Buildworld error: [_cleanworldtmp] Error code 6
- In reply to: h v : "Re: Buildworld error: [_cleanworldtmp] Error code 6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Oct 2024 13:41:42 UTC
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