Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 13:04:56 -0700
From:      Peter Wemm <peter@wemm.org>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r251058 - head
Message-ID:  <CAGE5yCpr17OANx-buUV==Po2RKArjMJsvfOpj4_s8zqzQO-=6w@mail.gmail.com>
In-Reply-To: <201305280952.r4S9qShX012991@svn.freebsd.org>
References:  <201305280952.r4S9qShX012991@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 28, 2013 at 2:52 AM, Dag-Erling Sm=F8rgrav <des@freebsd.org> wr=
ote:
> Author: des
> Date: Tue May 28 09:52:28 2013
> New Revision: 251058
> URL: http://svnweb.freebsd.org/changeset/base/251058
>
> Log:
>   During buildkernel, print a banner before building modules.
>
> Modified:
>   head/Makefile.inc1
>
> Modified: head/Makefile.inc1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/Makefile.inc1  Tue May 28 09:51:27 2013        (r251057)
> +++ head/Makefile.inc1  Tue May 28 09:52:28 2013        (r251058)
> @@ -983,9 +983,16 @@ buildkernel:
>  .endif
>         @echo
>         @echo "----------------------------------------------------------=
----"
> -       @echo ">>> stage 3.2: building everything"
> +       @echo ">>> stage 3.2: building the kernel"
>         @echo "----------------------------------------------------------=
----"
> -       cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} all -DNO_MODULES_OBJ
> +       cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} kernel-all -DNO_MODULES_OBJ
> +       @echo
> +.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KER=
NSRCDIR}/modules)
> +       @echo "----------------------------------------------------------=
----"
> +       @echo ">>> stage 3.3: building the modules"
> +       @echo "----------------------------------------------------------=
----"
> +       cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} modules-all -DNO_MODULES_OB=
J
> +.endif
>         @echo "----------------------------------------------------------=
----"
>         @echo ">>> Kernel build for ${_kernel} completed on `LC_ALL=3DC d=
ate`"
>         @echo "----------------------------------------------------------=
----"

Please back this out or fix it ASAP. You broke every single machine in
the freebsd.org cluster.

make: don't know how to make modules-all. Stop
*** [buildkernel] Error code 2

You are causing it to stop respecting makeoptions in the kernel config
files.  eg:

eg:

makeoptions     NO_MODULES=3Dno
or
makeoptions MODULES_OVERRIDE=3D"zfs opensolaris"

If you really want this echo here then you're going to need to reach
down into the internals and make 'modules-all' work even when
NO_MODULES is set.
--=20
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCpr17OANx-buUV==Po2RKArjMJsvfOpj4_s8zqzQO-=6w>