From owner-freebsd-current Wed May 29 0:50:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from evilpete.dyndns.org (12-232-26-46.client.attbi.com [12.232.26.46]) by hub.freebsd.org (Postfix) with ESMTP id E25ED37B401 for ; Wed, 29 May 2002 00:50:15 -0700 (PDT) Received: from overcee.wemm.org ([10.0.0.3]) by evilpete.dyndns.org (8.11.6/8.11.6) with ESMTP id g4T7oF162884 for ; Wed, 29 May 2002 00:50:15 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 67955380A; Wed, 29 May 2002 00:50:15 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: igorr@speechpro.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: buildworld failure In-Reply-To: <20020529064931.GA45562@sysadm.stc> Date: Wed, 29 May 2002 00:50:15 -0700 From: Peter Wemm Message-Id: <20020529075015.67955380A@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Igor Roboul wrote: > Hello, > I have trouble building world: > > -------------------------------------------------------------- > >>> stage 2: cleaning up the object tree > -------------------------------------------------------------- > cd /opt/freebsd/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i3 86 OBJFORMAT_PATH=/usr/obj/opt/freebsd/src/i386/usr/libexec GROFF_BIN_PAT H=/usr/obj/opt/freebsd/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/opt/freeb sd/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/opt/freebsd/src/ i386/usr/share/tmac DESTDIR=/usr/obj/opt/freebsd/src/i386 INSTALL="sh /op t/freebsd/src/tools/install.sh" PATH=/usr/obj/opt/freebsd/src/i386/usr/sbi n:/usr/obj/opt/freebsd/src/i386/usr/bin:/usr/obj/opt/freebsd/src/i386/usr/g ames:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 par-cleandir > ===> share/info > ===> include > ===> include/arpa > cd: getcwd() failed: No such file or directory > *** Error code 2 > > Then I have done this: > rm -fr /usr/src/* > cvsup -L 2 -g /etc/current-supfile > after downloading over 300 Mbs of sources I got same error :-( > If I repeat "make buildworld" then it fails with same error in different > directory. There is a bug in /bin/sh. You might like to try something like this: rm -rf /usr/obj/* cd /usr/src/bin/sh make clean make obj make depend make make install As long as your /usr/src is up to date, that should save you. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message