El día Sunday, August 02, 2015 a las 03:47:53PM +0200, Matthias Apitz escribió:
El día Sunday, August 02, 2015 a las 11:29:32AM +0200, Matthias Apitz
escribió:
# make installworld DESTDIR=/mnt
but this time the installworld failes after some time with:
...
install -s -o root -g wheel -m 555 primes /mnt/usr/bin/primes
=== games/random (install)
install -s -o root -g wheel -m 555 random /mnt/usr/bin/random
install -o root -g wheel -m 444 random.6.gz /mnt/usr/share/man/man6
=== games/tests (install)
install -o root -g wheel -m 444 /usr/home/guru/r285885/src/tests/Kyuafile
/mnt/usr/tests/games/Kyuafile
=== cddl (install)
=== cddl/lib (install)
=== cddl/lib/drti (install)
make[6]:
/usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti/.depend,
79: ignoring stale .depend for
/home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h
...
I found the problem: The system where the 'make installworld' was
running, have had no sym link from /home -- usr/home and that's why the
file /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h
from .depend could not be checked. A big pitfall :-(
I was asking me, why that happened (for the 1st time) and investigated
one of the older boot keys which I always produce nearly the same way to
pollute other hardware with new systems/kernels...
I always compile/install world and kernel into some DESTDIR and make from that a
bootable USB key with the script /usr/src/release/amd64/make-memstick.sh
The fundamental mistake I did this time was having the src and obj below
/usr/home/guru/r285885/[src|obj] and not below /usr/local//[src|obj]. This
way
the .depend files contain references to /usr/home/... and to /home/...
files, which will not work if /home does not exist as a sym link to
usr/home
Lesion learned.
matthias
--
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org