Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 14:32:45 +0100
From:      h v <henry.vogt@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Buildworld error: [_cleanworldtmp] Error code 6
Message-ID:  <d0ec3c5f-99c2-4e1f-97da-35532a58f595@gmail.com>
In-Reply-To: <e86e75d6-eb15-4db2-ad18-c3854eaaa111@FreeBSD.org>
References:  <e86e75d6-eb15-4db2-ad18-c3854eaaa111@FreeBSD.org>

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

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 ?

Regards

Henry

>
> current system is running main-n273133-419249c1cac
>
> 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 09:45:27 -03 2024
> --------------------------------------------------------------
> >>> Deleting stale files in build tree...
>         0.60 real         0.46 user         0.73 sys
> *** [_cleanworldtmp] Error code 6
>
> make[1]: stopped making "buildworld" in /usr/src
> .ERROR_TARGET='_cleanworldtmp'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='1'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes'
> _ERROR_CMD='.PHONY'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src/amd64.amd64'
> .TARGETS='buildworld'
> CPUTYPE=''
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MACHINE_CPUARCH='amd64'
> MAKEOBJDIRPREFIX=''
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20240711'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src/amd64.amd64'
> .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk 
> /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk 
> /etc/src-env.conf
>  /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk 
> /usr/src/share/mk/local.sys.machine.mk /usr/src/share/mk/meta.
> sys.mk /usr/src/share/mk/local.meta.sys.env.mk 
> /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk 
> /etc/make.conf /
> usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk 
> /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk
> /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk 
> /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.endian.mk /u
> sr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk 
> /usr/src/share/mk/bsd.linker.mk /usr/src/share/mk/bsd.compat.pre.mk /u
> sr/src/Makefile.libcompat /usr/src/share/mk/bsd.compat.mk 
> /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/sr
> c/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
> .PATH='. /usr/src'
> make[1]: 1 error
>
> make[1]: stopped making "buildworld" in /usr/src
> .ERROR_TARGET='_cleanworldtmp'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='1'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes'
> _ERROR_CMD='.PHONY'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src/amd64.amd64'
> .TARGETS='buildworld'
> CPUTYPE=''
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MACHINE_CPUARCH='amd64'
> MAKEOBJDIRPREFIX=''
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20240711'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src/amd64.amd64'
> .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk 
> /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk 
> /etc/src-env.conf
>  /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk 
> /usr/src/share/mk/local.sys.machine.mk /usr/src/share/mk/meta.
> sys.mk /usr/src/share/mk/local.meta.sys.env.mk 
> /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk 
> /etc/make.conf /
> usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk 
> /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk
> /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk 
> /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.endian.mk /u
> sr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk 
> /usr/src/share/mk/bsd.linker.mk /usr/src/share/mk/bsd.compat.pre.mk /u
> sr/src/Makefile.libcompat /usr/src/share/mk/bsd.compat.mk 
> /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/sr
> c/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
> .PATH='. /usr/src'
> --- buildworld ---
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0ec3c5f-99c2-4e1f-97da-35532a58f595>