Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2018 12:42:58 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: why does buildworld fail on stable/11 ?
Message-ID:  <1440c3d4-ee8b-76a7-6727-d18641da7c2d@zyxst.net>
In-Reply-To: <201801220917.w0M9HnB5002106@sdf.org>
References:  <201801220917.w0M9HnB5002106@sdf.org>

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

On 22/01/2018 09:17, Scott Bennett wrote:
>     Anyway, I'm stuck.  Can someone please tell me what is going wrong and
> how to fix it?  I'd really like to be able to update my system, not only to
> keep it reasonably current, but also to be able to customize a kernel.  Thanks
> in advance for any suggestions/solutions.

Hi,

What I'd do is firstly to make things as simple as possible. First do
the upgrade simply. Either delete or call make.conf & src.conf something
else. Then get a fresh src  and ports tree via svnlite. Then do

rm -rf /buildwork/ccache.freebsd
mkdir /buildwork/ccache.freebsd

then

[/usr/src #] make cleandir && make clean && make buildworld && make
buildkernel && make installkernel && mergemaster -p

[make changes if needed]

[/usr/src #] make installworld && mergemaster

[make more changes if needed]

reboot

then cd into /usr/src as root, then do

yes | make delete-old
yes | make delete-old-libs

reboot again

then re-enable your extra lines in make.conf and src.conf, if you need them.

It may be down to something in the ccache dir, I guess.

-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1440c3d4-ee8b-76a7-6727-d18641da7c2d>