From owner-freebsd-stable Sat Sep 14 9: 4:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0159237B400 for ; Sat, 14 Sep 2002 09:04:08 -0700 (PDT) Received: from reiteration.net (pc-62-31-233-54-se.blueyonder.co.uk [62.31.233.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB8D43E6E for ; Sat, 14 Sep 2002 09:04:07 -0700 (PDT) (envelope-from jfm@fbsd.reiteration.net) Received: from localhost ([127.0.0.1] helo=fbsd.reiteration.net) by reiteration.net with esmtp (Exim 3.36 #1) id 17qFOq-000OZx-00; Sat, 14 Sep 2002 17:04:00 +0100 Received: (from jfm@localhost) by fbsd.reiteration.net (8.12.5/8.12.5/Submit) id g8EG3t1U094483; Sat, 14 Sep 2002 17:03:55 +0100 (BST) Date: Sat, 14 Sep 2002 17:03:55 +0100 From: John To: Danny Pansters Cc: freebsd-stable@freebsd.org Subject: Re: 4.6 make buildworld failure Message-ID: <20020914160355.GA93813@reiteration.net> References: <20020914105704.GB88449@reiteration.net> <200209141558.09914.danny@ricin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209141558.09914.danny@ricin.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi On Sat, Sep 14, 2002 at 03:58:09PM +0200, Danny Pansters wrote: > On Saturday 14 September 2002 12:57, John wrote: > > Hello gurus > > > > After deleting /usr/src and /usr/obj I did a cvsup yesterday evening > > with the following supfile on a system 4.6-STABLE FreeBSD 4.6-STABLE #0: > > Sun Jul 21 19:52: > > Don't delete all of /usr/src. The idea of cvsup is that it updates your > sources rather than replace everything. (I know) the reason I deleted it all is more of a reflex action when things go wrong in make buildworld. That, and deleting /usr/obj/* > > > *default host=cvsup18.freebsd.org > > *default base=/usr > > *default prefix=/usr > > *default release=cvs > > *default tag=RELENG_4 > > *default delete use-rel-suffix > > src-all > > *default tag=. > > ports-all > > doc-all > > Looks OK to me. > > > > > Running make buildworld on this gives the following error: > > > > echo ld: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend > > ===> gnu/usr.bin/perl > > ===> gnu/usr.bin/perl/libperl > > ===> gnu/usr.bin/perl/miniperl > > ===> gnu/usr.bin/perl/perl > > Extracting config.h (with variable substitutions) > > Extracting cflags (with variable substitutions) > > Extracting writemain (with variable substitutions) > > /usr/obj/usr/src/gnu/usr.bin/perl/perl/../miniperl/miniperl > > -I/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib -e 'use AutoSplit; > > autosplit_lib_modules(@ARGV)' lib/*.pm lib/*/*.pm > > Permission denied. > > *** Error code 2 > > > > Stop in /usr/src/gnu/usr.bin/perl/perl. > > *** Error code 1 > > > > Stop in /usr/src. [snip] > > > > I guess from this there must be a problem in perl! > > It's always possible that the latest commits may have broken something, but I > built world yesterday without problems. In most of these cases there's a user > error somewhere. agreed! > > Try to 'rm -rf /usr/obj/*' once more, perhaps you need to 'chflags -R noschg > /usr/obj/*' to really get rid of everything (note the "Permission denied" > above). Done that, ran both of the commands you suggested, just to make sure. It still breaks in the same place, unfortunately. Have you any other suggestions I can try? thanks for the suggestions so far. -- John - jfm@reiteration.net - http://www.reiteration.net/~jfm For PGP public key finger jfm@reiteration.net or see webpage To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message