svn commit: r210144 - head/usr.sbin/config

Lawrence Stewart lstewart at freebsd.org
Fri Dec 31 03:29:44 UTC 2010


Hi Warner,

On 07/16/10 08:28, Warner Losh wrote:
> Author: imp
> Date: Thu Jul 15 22:28:19 2010
> New Revision: 210144
> URL: http://svn.freebsd.org/changeset/base/210144
> 
> Log:
>   Put warnings out to stderr rather than stdout.
>   
>   MFC after:	3 days
> 
> Modified:
>   head/usr.sbin/config/config.y
>   head/usr.sbin/config/mkmakefile.c
>   head/usr.sbin/config/mkoptions.c

Attempting to "make universe" on stable/8 without this diff currently
results in the make bailing because of config warnings ending up in make
variables when a LINT kernel is built. Building a head tree on stable/8
using the following command will demonstrate the problem:

make -v -dl universe_kernels KERNCONFS=LINT

e.g.
##########
lstewart at lstewart3:head> sudo make -v -dl universe_kernels KERNCONFS=LINT

(cd /work/svn/freebsd_mirror/head && env __MAKE_CONF=/dev/null  make
buildkernel  TARGET=amd64  TARGET_ARCH=WARNING: duplicate option
`GEOM_PART_BSD' encountered. WARNING: duplicate option `GEOM_PART_EBR'
encountered. WARNING: duplicate option `GEOM_PART_EBR_COMPAT'
encountered. WARNING: duplicate option `GEOM_PART_MBR' encountered.
WARNING: duplicate option `DEV_MEM' encountered. WARNING: duplicate
device `mem' encountered. WARNING: duplicate option `DEV_ISA'
encountered. WARNING: duplicate device `isa' encountered. amd64
KERNCONF=LINT  > _.amd64.LINT 2>&1 ||  (echo "amd64 LINT kernel failed,"
 "check _.amd64.LINT for details"| cat))
Syntax error: Unterminated quoted string
*** Error code 2

Stop in /work/svn/freebsd_mirror/head.
##########


Jilles deserves the credit for doing all the detective work after I
complained about this problem on IRC today.

Is there a reason the MFC was never done? Assuming not, I would
appreciate if you could do it when you have a sec or give me the green
light to do it instead.

Cheers,
Lawrence


More information about the svn-src-all mailing list