make release fails
Igor Pokrovsky
ip at doom.homeunix.org
Thu Mar 31 08:59:35 PST 2005
On Tue, Mar 29, 2005 at 04:41:55PM +0400, Michael Lednev wrote:
> hello
>
> i'm trying to build my own release cd for 4-STABLE branch. doing make
> release BUILDNAME=4-STABLE-20050328-0300 CHROOTDIR=/usr/release
> CVSROOT=/home/ncvs RELEASETAG=RELENG_4 -DSEPARATE_LIVEFS in
> /usr/src/release results in error like this
>
> cd /usr/src/release/../etc && make distrib-dirs DESTDIR=/R/stage/trees/bin
> set - `grep "^[a-zA-Z]" /usr/src/etc/locale.deprecated`; while [ $# -gt 0
> ] ; do for dir in /usr/share/locale /usr/share/nls
> /usr/local/share/nls; do test -d /R/stage/trees/bin/${dir} && cd
> /R/stage/trees/bin/${dir}; test -L "$2" && rm -rf "$2"; test \! -L "$1"
> && test -d "$1" && mv "$1" "$2"; done; shift; shift; done
> mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /R/stage/trees/bin/
> mtree: /R/stage/trees/bin/: No such file or directory
> *** Error code 1
>
> Stop in /usr/src/etc.
> *** Error code 1
>
> Stop in /usr/src/release.
> + umount /dev
> *** Error code 1
>
> Stop in /usr/src/release.
>
> what to change in my make command or in system to build release? host
> system is 5.3-STABLE
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
This is not an officially supported way of building releases.
That's why there is some magic to finish this procedure.
Even if it will complete successfully it won't neccessary mean it will work
correctly. You'd better try building 4.x release on RELENG_4 box.
However if you don't have an opportunity to do so maybe I'll be able
to provide you with some help. I did built RELENG_5 release on RELENG_4
box successfully some time ago. Contact me offline if you are still interested.
-ip
--
You can lead a horse to water, but if you can get him to
float on his back, you've really got something.
More information about the freebsd-stable
mailing list