From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 10:05:52 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 6F8CB16A4CE for ; Wed, 10 Nov 2004 10:05:52 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 3EDA743D1D for ; Wed, 10 Nov 2004 10:05:51 +0000 (GMT) (envelope-from lists-freebsd-stable@biaix.org) Received: (qmail 90118 invoked by uid 1000); 10 Nov 2004 10:03:17 -0000 Date: Wed, 10 Nov 2004 11:03:17 +0100 From: Joan Picanyol To: freebsd-stable@freebsd.org Message-ID: <20041110100317.GA89843@grummit.biaix.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <20041109190057.GA99585@grummit.biaix.org> <20041110071942.GC65475@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041110071942.GC65475@ip.net.ua> User-Agent: Mutt/1.5.6i Subject: [SOLVED] 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 10:05:52 -0000 * Ruslan Ermilov [20041110 08:17]: > On Tue, Nov 09, 2004 at 08:00:57PM +0100, Joan Picanyol wrote: [...] > > 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? > > > 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. Thanks, that was it. > If you really don't want to strip, just define STRIP to an empty value. Actually what I'd really like would be support for -add-gnu-debuglink in objcopy, possibly with --only-keep-debug in strip. Is there any support for that? tks -- pica