Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 14:01:31 +1100
From:      Lawrence Stewart <lstewart@freebsd.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r210144 - head/usr.sbin/config
Message-ID:  <4D1D478B.8070105@freebsd.org>
In-Reply-To: <201007152228.o6FMSJi3019698@svn.freebsd.org>
References:  <201007152228.o6FMSJi3019698@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1D478B.8070105>