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 - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message