Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 11:03:17 +0100
From:      Joan Picanyol <lists-freebsd-stable@biaix.org>
To:        freebsd-stable@freebsd.org
Subject:   [SOLVED] Re: buildworld needs root privileges?
Message-ID:  <20041110100317.GA89843@grummit.biaix.org>
In-Reply-To: <20041110071942.GC65475@ip.net.ua>
References:  <20041109190057.GA99585@grummit.biaix.org> <20041110071942.GC65475@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ruslan Ermilov <ru@freebsd.org> [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



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