Date: Wed, 29 May 2002 00:50:15 -0700 From: Peter Wemm <peter@wemm.org> To: igorr@speechpro.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: buildworld failure Message-ID: <20020529075015.67955380A@overcee.wemm.org> In-Reply-To: <20020529064931.GA45562@sysadm.stc>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529075015.67955380A>
