Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 09:19:42 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: buildworld needs root privileges?
Message-ID:  <20041110071942.GC65475@ip.net.ua>
In-Reply-To: <20041109190057.GA99585@grummit.biaix.org>
References:  <20041109190057.GA99585@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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