cross build for RELENG8 on RELENG10 now fails
Peter Wemm
peter at wemm.org
Wed Sep 10 23:44:21 UTC 2014
On Wednesday, September 10, 2014 04:30:09 PM Doug Ambrisko wrote:
> On Wed, Sep 10, 2014 at 11:52:09AM -0400, John Baldwin wrote:
> | On Wednesday, September 10, 2014 11:42:14 AM Mike Tancsa wrote:
> | > When I upgraded our cross build server to RELENG10 from 9, I lost the
> | > ability to build RELENG_8 images. Is there some magic that needs to be
> | > done in order to make this work on RELENG_10 ?
> |
> | I punted on building 8 on 10 when I ran into this (I know use bhyve vms
> | running 8 to test MFCs to 8 since I can boot-test them as well as
> | build-test them). I don't think there are any known workarounds.
>
> We've been building older releases via chroot and setting environment
> variables. I have some local hacks to set the uname etc info. in
> a jail via sysctl in the jail.
This is the only "officially" supported cross-branch mode we supported, aside
from the N -> N+1 path.
It's how we build everything at work, and how we build in the freebsd.org
cluster. It's way faster than a VM and generally no hassle.
For the freebsd.org cluster:
fetch 8.4-REL base.* -> build stage 1 -> svn checkout -> buildworld from 8.4-
REL to 8-stable -> installworld in a clean chroot -> roll tarballs.
fetch 9.3-REL base.txz -> build stage 1 -> svn checkout -> buildworld from
9.3-REL to 9-stable -> installworld in a clean chroot -> roll tarballs.
.. and so on. For 11.x we use a ftp.freebsd.org/snapshots build.
At work, we go much, much further. We even build 4-stable, 6-stable and 7-
stable on 11.x hosts this way. (Why? we modify libc.so.4 to run better on
10.x/11.x and copy it from the 4.x build environment into the compat area on
later releases during the build process)
But we *never* cross build from head. Too many moving targets, harder to
reproduce a specific build, etc.
We used to have this written down somewhere. The supported upgrade path used
to be explicitly documented as N.0 -> N-stable-> N+1.0, ie:
5-stable -> 6.0 -> 6-stable -> 7.0 -> 7-stable -> 8.0 -> 8-stable etc, and
never in reverse.
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140910/bea7f648/attachment.sig>
More information about the freebsd-stable
mailing list