Is it safe to interrupt (Ctrl + C) while building a port or kernel?

Warren Block wblock at
Thu Nov 3 19:36:24 UTC 2011

On Thu, 3 Nov 2011, ????? ????? wrote:

> Is it clear to interrupt the building process just by pressing Ctrl + <C>?
> If it's so, do I need to run "make clean" before I start "make" one more time?

With ports, a "make clean" before rebuilding is a good idea.  The build 
might not be able to continue cleanly, or might have to build 
differently, depending on what was changed.

For /usr/src, I just remove /usr/obj/usr and build again, but also use 
devel/ccache so there's not much penalty for doing that.

More information about the freebsd-questions mailing list