From owner-freebsd-stable@FreeBSD.ORG Sat Mar 30 19:48:02 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 101D9617 for ; Sat, 30 Mar 2013 19:48:02 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:16]) by mx1.freebsd.org (Postfix) with ESMTP id E9E6D8E9 for ; Sat, 30 Mar 2013 19:48:01 +0000 (UTC) Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by qmta01.emeryville.ca.mail.comcast.net with comcast id Hupk1l0040x6nqcA1vo0Eo; Sat, 30 Mar 2013 19:48:00 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta12.emeryville.ca.mail.comcast.net with comcast id Hvnz1l00H1t3BNj8Yvnz36; Sat, 30 Mar 2013 19:48:00 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8CF2273A1C; Sat, 30 Mar 2013 12:47:59 -0700 (PDT) Date: Sat, 30 Mar 2013 12:47:59 -0700 From: Jeremy Chadwick To: "Edwin L. Culp W." Subject: Re: problem building world on 9.1 stable after changing 100% to svn Message-ID: <20130330194759.GA69749@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1364672880; bh=wEmrNf4CAumjoPnpsNU9aAvCk6iiAT8bAsXHG/4gS8o=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=G3Krag1APvpmv36mflAEuldWCi+AqOHeZaEyt88Sdha0OPEqP7V4za/74ykyOcgi8 xI5SzYobQXLQQaPS5fUIXNTrOjTOyDwMuKbwIRLc+PAF8T+1FlnBemXBH6/fLqJJ0e YMB8FmltXpVPCudmw6IQgao5Q4lm7CZ6aH32fAiGtsvyZu10+ewPqbw22W7pqSTcIv R5UsW9idzr/so2/FXWpO5CTx2SLC2CyJO6ny/SBZzI0Posm+8B3RTkjv3LQzFwOE0i TTFpUhcTSreIzO1eNoWj+FMTTp2m/+glqmRLeWet+Ow6s99mE2lPg3iwuRbaWdlj7G NNaJkTzQHXXQg== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 19:48:02 -0000 On Sat, Mar 30, 2013 at 01:48:20PM -0500, Edwin L. Culp W. wrote: > I am currently tying to use the new tools that replace cvsup and then > recompile. Ports are working as expected but buildworld has been giving me > a headache . > I'm manually trying > > > # svn up /usr/src > > Updating '.': > At revision 248935. > > # cd /usr/src > # make buildworld > > It then chugs right along util it generates tha e following error: > > cc -O2 -pipe -I/usr/src/usr.bin/xinstall/../../contrib/mtree > -I/usr/src/usr.bin/xinstall/../../lib/libnetbsd > -I/usr/src/usr.bin/xinstall/../../lib/libmd -std=gnu99 -fstack-protector > -Wsystem-headers -Werror -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 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wold-style-definition -Wno-pointer-sign -c > /usr/src/usr.bin/xinstall/xinstall.c > cc1: warnings being treated as errors > /usr/src/usr.bin/xinstall/xinstall.c: In function 'metadata_log': > /usr/src/usr.bin/xinstall/xinstall.c:1331: warning: implicit declaration of > function 'strsvis' > /usr/src/usr.bin/xinstall/xinstall.c:1331: warning: nested extern > declaration of 'strsvis' > *** [xinstall.o] Error code 1 > > Stop in /usr/src/usr.bin/xinstall. > *** [all] Error code 1 > > Stop in /usr/src/usr.bin. > *** [usr.bin.all__D] Error code 1 > > Stop in /usr/src. > *** [everything] Error code 1 > > Stop in /usr/src. > *** [buildworld] Error code 1 > > Stop in /usr/src. > > I've probably missed something obvious because I can't find it and I've > been building world for years with no real problems. > > Thanks for your help, > > ed > > uname follows: > > # uname -a > FreeBSD home.encontacto.net 9.1-STABLE FreeBSD 9.1-STABLE #444 r248654M: > Wed Mar 27 05:43:15 CST 2013 > root@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO > amd64 The most likely culprit here is "old cruft" in /usr/obj, but I make no promises. rm -fr /usr/obj/* and restart your build. The recent MFC of an update install/xinstall pulls in reliance on strsvis(3), which is part of contrib/libc-vis/vis.c, so my theory is that you have old cruft in /usr/obj that the build environment is referring to which lacks strsvis. If that results in the same build failure, I recommend CC'ing brooks@freebsd.org and bring this to his attention, as it may be more fallout from the recent MFC. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |