From owner-freebsd-stable@FreeBSD.ORG Tue Nov 9 23:00:39 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 1333D16A4E9 for ; Tue, 9 Nov 2004 23:00:39 +0000 (GMT) Received: from tensor.xs4all.nl (tensor.xs4all.nl [194.109.160.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FB543D2D for ; Tue, 9 Nov 2004 23:00:38 +0000 (GMT) (envelope-from dimitry@andric.com) Received: from kilgore.dim (kilgore.dim [192.168.0.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.xs4all.nl (Postfix) with ESMTP id 8C2EF22851; Wed, 10 Nov 2004 00:00:35 +0100 (CET) Date: Wed, 10 Nov 2004 00:00:26 +0100 From: Dimitry Andric X-Mailer: The Bat! (v3.0.2.4 Rush) Professional X-Priority: 3 (Normal) Message-ID: <1194477750.20041110000026@andric.com> To: Joan Picanyol In-Reply-To: <20041109190057.GA99585@grummit.biaix.org> References: <20041109190057.GA99585@grummit.biaix.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="----------E7B9662639A916" cc: freebsd-stable@freebsd.org 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: Tue, 09 Nov 2004 23:00:39 -0000 ------------E7B9662639A916 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On 2004-11-09 at 20:00:57 Joan Picanyol wrote: >=3D=3D=3D>> games/fortune/strfile ... > 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 This is actually a quirk of the install.sh script that is used. It discards any unwanted install options (see the script itself for the details), but that fails if the first argument is "", as it is in your case. It seems install.sh is run from bsd.prog.mk, as follows: ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR} So I guess that you've managed to set ${STRIP} to "", for some reason. Try unsetting it, or setting it to -s if you like, and run buildworld again. As a comparison, here's part of a (successful) buildworld log from one of my machines, from today: =3D=3D=3D> games/fortune/strfile /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/ga= mes/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/f= ortune/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 -le sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 strfile /usr/obj/= usr/src/i386/legacy/usr/games ------------E7B9662639A916 Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFBkUwJsF6jCi4glqMRAvplAKC+58suuTXXzo3CXekSvzLmGt3yzQCgtDVo uTMV3l/xhcde3hSblDv36t4= =26Nz -----END PGP MESSAGE----- ------------E7B9662639A916--