Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 20:00:57 +0100
From:      Joan Picanyol <lists-freebsd-stable@biaix.org>
To:        freebsd-stable@freebsd.org
Subject:   buildworld needs root privileges?
Message-ID:  <20041109190057.GA99585@grummit.biaix.org>

next in thread | raw e-mail | index | archive | help
Hi,

I've recvsuped and removed /usr/src and /usr/obj, same symtoms in
RELENG_5 and RELENG_5_3. Is this expected/known?

--------------------------------------------------------------
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  -D ALWAYS_CHECK_MAKE -m /usr/src/share/mk" make -f Makefile.inc1  DESTDIR=  BOOTSTRAPPING=503001  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools
===> games/fortune/strfile
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile
rm -f .depend
mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c
echo strfile: /usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend
cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c
cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include  -static -L/usr/obj/usr/src/i386/legacy/usr/lib -o strfile strfile.o -legacy
sh /usr/src/tools/install.sh "" -o root -g wheel -m 555   strfile /usr/obj/usr/src/i386/legacy/usr/games
install: /usr/obj/usr/src/i386/legacy/usr/games/strfile: chown/chgrp: Operation not permitted
*** Error code 71

Stop in /usr/src/games/fortune/strfile.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

How do I get it to work again? Why is strfile a needed to boostrap the
build?

tks
-- 
pica



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041109190057.GA99585>