From owner-freebsd-stable@FreeBSD.ORG Fri Sep 26 10:49:46 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4AD7106569A for ; Fri, 26 Sep 2008 10:49:46 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8408FC25 for ; Fri, 26 Sep 2008 10:49:46 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA05.westchester.pa.mail.comcast.net with comcast id KNdS1a00B0xGWP855Npl1l; Fri, 26 Sep 2008 10:49:45 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA12.westchester.pa.mail.comcast.net with comcast id KNpk1a0084v8bD73YNplmP; Fri, 26 Sep 2008 10:49:45 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=FLvhOX2l2PChZxcUq6MA:9 a=yIxuqwrlEdmwyTuNbGwA:7 a=tFBpyZjAAdhd-MKaFFL0jq_q8R4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6A327C9432; Fri, 26 Sep 2008 03:49:44 -0700 (PDT) Date: Fri, 26 Sep 2008 03:49:44 -0700 From: Jeremy Chadwick To: Tobias Roth Message-ID: <20080926104944.GA22733@icarus.home.lan> References: <48DB4E11.2060604@fsck.ch> <20080925114505.af589ce3.cyb.@gmx.net> <48DB6CC6.90402@fsck.ch> <20080925151411.5c0c4d0a.cyb.@gmx.net> <48DCAF74.3070900@fsck.ch> <20080926095910.GA20964@icarus.home.lan> <48DCB619.9020906@fsck.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48DCB619.9020906@fsck.ch> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Andreas Rudisch <"cyb."@gmx.net>, stable@freebsd.org Subject: Re: buildworld fails in csh X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 10:49:46 -0000 On Fri, Sep 26, 2008 at 12:14:49PM +0200, Tobias Roth wrote: > On 09/26/08 11:59, Jeremy Chadwick wrote: >> On Fri, Sep 26, 2008 at 11:46:28AM +0200, Tobias Roth wrote: >>> On 09/25/08 15:14, Andreas Rudisch wrote: >>>> On Thu, 25 Sep 2008 12:49:42 +0200 >>>> Tobias Roth wrote: >>>> >>>>> heh, that should be RELENG_7. >>>> Update your source tree again and clean up the build dirs. >>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q23.4.14.6. >>>> >>>> Could be caused by some left overs from a previous build. >>> That didn't work. What else could I try? >> >> Did you rm -fr /usr/obj/* before rebuilding world? "That didn't work" >> is too ambiguous. > > I followed the above URL and did what was suggested there. So "That > didn't work" was refering to > > # chflags -R noschg /usr/obj/usr > # rm -rf /usr/obj/usr > # cd /usr/src > # make cleandir > # make cleandir > >> The build is failing because it claims ICONV_CONST is undefined. >> >> ICONV_CONST is found here: >> >> $ grep -r ICONV_CONST /usr/src/contrib/tcsh /usr/src/bin/csh >> /usr/src/contrib/tcsh/config.h.in:#undef ICONV_CONST >> /usr/src/contrib/tcsh/configure:#define ICONV_CONST $am_cv_proto_iconv_arg1 >> /usr/src/contrib/tcsh/sh.func.c: ICONV_CONST char *src; >> /usr/src/bin/csh/config.h:#define ICONV_CONST const >> >> src/bin/csh/config.h declares it. >> >> The proper include files are only included if HAVE_ICONV is declared, >> which it is (in src/bin/csh/Makefile), as you can see from -DHAVE_ICONV. > > Nothing seems to be wrong here really. Being as I just rebuilt world only 2 days ago and I did not run into this problem, I'm concluding the issue must be with your system. :-) It's possible you've done some bizarre tuning in /etc/make.conf or /etc/src.conf which is somehow breaking the build. >> You might have to end up giving someone access to your box to solve this >> problem. > > That will not be possible. > > I'll wipe out /usr/src as well and re-cvsup, then build from single user > mode for minimal intervention by shells and environments and see whether > that might help. I don't see how booting single-user is going to help with any of this. And do not forget to remove /var/db/sup/src-all if you remove all of /usr/src. People often forget this fact. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |