[SOLVED] Re: buildworld needs root privileges?

Joan Picanyol lists-freebsd-stable at biaix.org
Wed Nov 10 02:05:52 PST 2004


* Ruslan Ermilov <ru at 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


More information about the freebsd-stable mailing list