From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 07:20:10 2004 Return-Path: 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 AE95616A4CE for ; Wed, 10 Nov 2004 07:20:10 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D94AF43D39 for ; Wed, 10 Nov 2004 07:20:09 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAA7K8ju069359 for ; Wed, 10 Nov 2004 09:20:08 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 82230-06 for ; Wed, 10 Nov 2004 09:20:08 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAA7K7GD069356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Nov 2004 09:20:07 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAA7JhLM083527 for freebsd-stable@freebsd.org; Wed, 10 Nov 2004 09:19:43 +0200 (EET) (envelope-from ru) Date: Wed, 10 Nov 2004 09:19:42 +0200 From: Ruslan Ermilov To: freebsd-stable@freebsd.org Message-ID: <20041110071942.GC65475@ip.net.ua> References: <20041109190057.GA99585@grummit.biaix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: <20041109190057.GA99585@grummit.biaix.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua Subject: Re: buildworld needs root privileges? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 07:20:10 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 09, 2004 at 08:00:57PM +0100, Joan Picanyol wrote: > Hi, >=20 > I've recvsuped and removed /usr/src and /usr/obj, same symtoms in > RELENG_5 and RELENG_5_3. Is this expected/known? >=20 > -------------------------------------------------------------- > >>> stage 1.2: bootstrap tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/i386 INSTALL=3D"sh /usr= /src/tools/install.sh" PATH=3D/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/o= bj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin= :/bin:/usr/sbin:/usr/bin WORLDTMP=3D/usr/obj/usr/src/i386 MAKEFLAGS=3D"-m= /usr/src/tools/build/mk -D ALWAYS_CHECK_MAKE -m /usr/src/share/mk" make -= f Makefile.inc1 DESTDIR=3D BOOTSTRAPPING=3D503001 -DNOHTML -DNOINFO -DNO= LINT -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS boo= tstrap-tools > =3D=3D=3D> 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/sr= c/games/fortune/strfile/strfile.c > echo strfile: /usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libega= cy.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/o= bj/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/ob= j/usr/src/i386/legacy/usr/games > install: /usr/obj/usr/src/i386/legacy/usr/games/strfile: chown/chgrp: Ope= ration not permitted > *** Error code 71 >=20 > Stop in /usr/src/games/fortune/strfile. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. >=20 > How do I get it to work again? Why is strfile a needed to boostrap the > build? >=20 This is due to you overriding the STRIP variable to ""; this causes src/tools/install.sh to *not* ignore the -o and -g options, as expected. If you really don't want to strip, just define STRIP to an empty value. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBkcEOqRfpzJluFF4RAunQAJ9SfZhCvMAC8ZMQVMr0n6twbWL0mACggY9I XjKIOqdYZCWem+Xms7h+vK8= =X8YB -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--