Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 16:58:52 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   make release fails on find
Message-ID:  <CAPS9%2BSvVQgZNV=YvBvw39Vo4gmoYVEfNoOBJ_JxeOC41uGxP0g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to build some images for 9-stable ( r242349 ) and 9.1-RC3, but
using the release tools doesn't really work.

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_ARCH=
=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:/usr/=
obj/tank/cvs/9.1/src/tmp/usr/sbin:/usr/obj/tank/cvs/9.1/src/tmp/usr/bin:/us=
r/obj/tank/cvs/9.1/src/tmp/usr/games:/usr/obj/tank/cvs/9.1/src/tmp/legacy/u=
sr/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/ta=
nk/cvs/9.1/src/tmp/usr/bin:/usr/obj/tank/cvs/9.1/src/tmp/usr/games:/tmp/ins=
tall.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=3Dcore=
2
-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

Stop in /tank/cvs/9.1/src.
*** [distributeworld] Error code 1

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

Is anyone having the same problems?

Build machine is amd64 9.1-PRERELASE. Source trees are in separate zfs
datasets (tank/cvs/9/src and tank/cvs/9.1/src).

Regards
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSvVQgZNV=YvBvw39Vo4gmoYVEfNoOBJ_JxeOC41uGxP0g>