Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 12:08:04 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: make release fails on find
Message-ID:  <20121030160804.GB1371@glenbarber.us>
In-Reply-To: <CAPS9%2BSvVQgZNV=YvBvw39Vo4gmoYVEfNoOBJ_JxeOC41uGxP0g@mail.gmail.com>
References:  <CAPS9%2BSvVQgZNV=YvBvw39Vo4gmoYVEfNoOBJ_JxeOC41uGxP0g@mail.gmail.com>

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

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 30, 2012 at 04:58:52PM +0100, Andreas Nilsson wrote:
> I'm trying to build some images for 9-stable ( r242349 ) and 9.1-RC3, but
> using the release tools doesn't really work.
>=20
> 9.1-RC3 fails with:
> ...
> cd /tank/cvs/9.1/src/libexec/rtld-elf;  make install -DNO_SUBDIR
> DESTDIR=3D/tmp/newdist/lib32 SHARED=3Dcopies
> install -s -o root -g wheel -m 555  -C -b -fschg -S ld-elf32.so.1
> /tmp/newdist/lib32/libexec
> /tmp/newdist/lib32/usr/libexec/ld-elf32.so.1 -> /libexec/ld-elf32.so.1
> cd /tank/cvs/9.1/src/usr.bin/ldd; PROG=3Dldd32 MACHINE=3Di386 MACHINE_ARC=
H=3Di386
> MACHINE_CPU=3D"i686 mmx sse sse2" LD=3D"ld -m elf_i386_fbsd -Y
> P,/usr/obj/tank/cvs/9.1/src/lib32/usr/lib32" AS=3D"as --32"
> MAKEOBJDIRPREFIX=3D/usr/obj/lib32
> _SHLIBDIRPREFIX=3D/usr/obj/tank/cvs/9.1/src/lib32 VERSION=3D"FreeBSD
> 9.1-PRERELEASE amd64 901501"
> PATH=3D/usr/obj/tank/cvs/9.1/src/tmp/legacy/usr/sbin:/usr/obj/tank/cvs/9.=
1/src/tmp/legacy/usr/bin:/usr/obj/tank/cvs/9.1/src/tmp/legacy/usr/games:/us=
r/obj/tank/cvs/9.1/src/tmp/usr/sbin:/usr/obj/tank/cvs/9.1/src/tmp/usr/bin:/=
usr/obj/tank/cvs/9.1/src/tmp/usr/games:/usr/obj/tank/cvs/9.1/src/tmp/legacy=
/usr/sbin:/usr/obj/tank/cvs/9.1/src/tmp/legacy/usr/bin:/usr/obj/tank/cvs/9.=
1/src/tmp/legacy/usr/games:/usr/obj/tank/cvs/9.1/src/tmp/usr/sbin:/usr/obj/=
tank/cvs/9.1/src/tmp/usr/bin:/usr/obj/tank/cvs/9.1/src/tmp/usr/games:/tmp/i=
nstall.SgiYOaRS
> CC=3D"cc -m32 -march=3Dcore2 -DCOMPAT_32BIT  -isystem
> /usr/obj/tank/cvs/9.1/src/lib32/usr/include/
>  -L/usr/obj/tank/cvs/9.1/src/lib32/usr/lib32
>  -B/usr/obj/tank/cvs/9.1/src/lib32/usr/lib32" CXX=3D"c++ -m32 -march=3Dco=
re2
> -DCOMPAT_32BIT  -isystem /usr/obj/tank/cvs/9.1/src/lib32/usr/include/
>  -L/usr/obj/tank/cvs/9.1/src/lib32/usr/lib32
>  -B/usr/obj/tank/cvs/9.1/src/lib32/usr/lib32" LIBDIR=3D/usr/lib32
> SHLIBDIR=3D/usr/lib32 make -DNO_CPU_CFLAGS -DCOMPAT_32BIT -DWITHOUT_BIND
> -DWITHOUT_MAN -DWITHOUT_INFO -DWITHOUT_HTML -DNO_CTF -DNO_LINT -ECC -ECXX
> -EAS -ELD -DNO_INCS distribute
> cd /tank/cvs/9.1/src/usr.bin/ldd;  make install -DNO_SUBDIR
> DESTDIR=3D/tmp/newdist/lib32 SHARED=3Dcopies
> install -s -o root -g wheel -m 555   ldd32 /tmp/newdist/lib32/usr/bin
> find //tmp/newdist/doc -empty -delete
> find //tmp/newdist/games -empty -delete
> find: -delete: //tmp/newdist/games: relative path potentially not safe
> *** [distributeworld] Error code 1
>=20
> Stop in /tank/cvs/9.1/src.
> *** [distributeworld] Error code 1
>=20

Are you defining WITH*_GAMES in src.conf or make.conf?  If this looks
like what I think it looks like, I fixed this a few months ago.

> And 9-stable ends up recursing when generating tarballs. The sources have
> already been added to a tarball. The tarballs themselfs are also included.
>=20

I have seen many reports on this, and cannot reproduce it.  How exactly
are you running the release build?  What specific make(1) targets are
you using, and what is your make.conf/src.conf contents?

Glen


--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJQj/tkAAoJEFJPDDeguUajDIsIAJqPrjOHVT1GSqswEWRal4hs
4Rckmgmif57HqEteXnm1eQ3VWcSWC+SQpt690fHC75ubo+9c3TdO8bTkeGZwJqqo
tXvT46III60/uD5I97HzEcTA09o/Ka/dDfy7FQk0rQgiMFVX8XXg132yRTfKl68C
am1Z+XjfHhunSgD/ELuzTX6liDEP5TZ9w5lx7mKiQSVUzV0zvdnF6p7xTGvhVLYw
VNJibRh4RsZzR+By/KOqWCjX5ytr4GdyVDNH58SFDMoxobpDG3klD/bTAwbuEBZ1
onGJTi1EsTAHxNqPRDIbx+xzyRcxUgGN62rLxWH4VbhddoB2QvKsm7VUHpjhSIo=
=YgTS
-----END PGP SIGNATURE-----

--mxv5cy4qt+RJ9ypb--



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