From owner-freebsd-current@FreeBSD.ORG Wed Aug 10 14:13:30 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CB18106564A; Wed, 10 Aug 2011 14:13:30 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id D2A718FC13; Wed, 10 Aug 2011 14:13:29 +0000 (UTC) Received: by pzk33 with SMTP id 33so3921823pzk.18 for ; Wed, 10 Aug 2011 07:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RB9GWoz/7Ajx28Lsx+wKEJ1ES5G/bUTj0DvfIyhq/TY=; b=HvAnBnvIVnsmWVPPZzAY6MivClz3T4gX7pxJTpK5pTncj1D7jwEtqrvrY/ruX3FwG6 xlxG7zgW+gdxl7rl8lGcRqwOfGnXU+qSKEArW99f67n2GUADGBP9GPC9Er7TcWaHnatC EXdD1Jj9twvApiC713YZwFfmqW7izI26nBofY= MIME-Version: 1.0 Received: by 10.142.152.23 with SMTP id z23mr7366036wfd.186.1312985609339; Wed, 10 Aug 2011 07:13:29 -0700 (PDT) Sender: r.c.ladan@gmail.com Received: by 10.142.199.16 with HTTP; Wed, 10 Aug 2011 07:13:29 -0700 (PDT) In-Reply-To: <20110810114859.GA68081@freebsd.org> References: <20110810114859.GA68081@freebsd.org> Date: Wed, 10 Aug 2011 16:13:29 +0200 X-Google-Sender-Auth: hm6GKWFCBAoffcbTlMPWGaV-rik Message-ID: From: =?ISO-8859-1?Q?Ren=E9_Ladan?= To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: HEAD after 9-BETA1 broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 14:13:30 -0000 2011/8/10 Alexander Best : > On Wed Aug 10 11, Ren=E9 Ladan wrote: >> Hi, >> >> it seems that HEAD is broken somewhere after 9.0-BETA1 amd64: >> >> acer % pwd >> /usr/src >> acer % svn info >> Path: . >> URL: svn+ssh://svn.freebsd.org/base/head >> Repository Root: svn+ssh://svn.freebsd.org/base >> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f >> Revision: 224747 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: kevlo >> Last Changed Rev: 224747 >> Last Changed Date: 2011-08-10 08:17:06 +0200 (wo, 10 aug 2011) >> >> acer % svn diff >> Index: sys/modules/Makefile >> =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 >> --- sys/modules/Makefile =A0 =A0 =A0(revision 224747) >> +++ sys/modules/Makefile =A0 =A0 =A0(working copy) >> @@ -335,6 +335,7 @@ >> =A0 =A0 =A0 ${_xe} \ >> =A0 =A0 =A0 xfs \ >> =A0 =A0 =A0 xl \ >> + =A0 =A0 xtaf \ >> =A0 =A0 =A0 ${_zfs} \ >> =A0 =A0 =A0 zlib \ >> >> Index: sys/modules/geom/Makefile >> =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 >> --- sys/modules/geom/Makefile (revision 224747) >> +++ sys/modules/geom/Makefile (working copy) >> @@ -28,6 +28,7 @@ >> =A0 =A0 =A0 geom_vinum \ >> =A0 =A0 =A0 geom_virstor \ >> =A0 =A0 =A0 geom_vol_ffs \ >> + =A0 =A0 geom_xbox360 \ >> =A0 =A0 =A0 geom_zero >> >> =A0.include >> >> acer % cat /usr/src/sys/amd64/conf/ACER >> include GENERIC >> options =A0 =A0 =A0 CAPABILITIES >> >> acer % make buildkernel >> >> -------------------------------------------------------------- >> >>> Kernel build for ACER started on Wed Aug 10 08:21:53 CEST 2011 >> -------------------------------------------------------------- >> =3D=3D=3D> ACER >> mkdir -p /usr/obj/usr/src/sys >> >> [...] >> >> -------------------------------------------------------------- >> >>> stage 2.3: build tools >> -------------------------------------------------------------- >> cd /usr/obj/usr/src/sys/ACER; >> MAKESRCPATH=3D/usr/src/sys/dev/aic7xxx/aicasm =A0make SSP_CFLAGS=3D >> -DNO_CPU_CFLAGS -DNO_CTF =A0-f /usr/src/sys/dev/aic7xxx/aicasm/Makefile >> Warning: Object directory not changed from original /usr/obj/usr/src/sys= /ACER >> yacc -b aicasm_gram =A0-d -o aicasm_gram.c >> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y >> yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c >> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y >> clang -O2 -pipe -nostdinc -I/usr/include -I. >> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr= or >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c >> clang -O2 -pipe -nostdinc -I/usr/include -I. >> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr= or >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c >> clang -O2 -pipe -nostdinc -I/usr/include -I. >> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr= or >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wno-pointer-sign -c aicasm_gram.c >> clang -O2 -pipe -nostdinc -I/usr/include -I. >> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr= or >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wno-pointer-sign -c aicasm_macro_gram.c >> lex -t =A0 /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c >> clang -O2 -pipe -nostdinc -I/usr/include -I. >> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr= or >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wno-pointer-sign -c aicasm_scan.c >> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:843:12: error: function 'i= nput' is >> =A0 =A0 =A0 not needed and will not be emitted >> =A0 =A0 =A0 [-Werror,-Wunneeded-internal-declaration] >> static int input(void) >> =A0 =A0 =A0 =A0 =A0 =A0^ > > problem here is that -Werror got set. could you try removing the followin= g > part from your make.conf: > > .if !empty(.CURDIR:M/usr/src*) > # Don't die on warnings > NO_WERROR=3D > WERROR=3D > .endif > > and add > > # Don't die on warnings > NO_WERROR=3D > WERROR=3D > > to your src.conf? > This works, but why did the conditional version work for buildworld and for earlier buildkernel invocations? Ren=E9 -- http://www.rene-ladan.nl/ GPG fingerprint =3D E738 5471 D185 7013 0EE0=A0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)