Re: can i build more than one world on a buildserver?
Jonathan Horne wrote: On Wednesday 06 September 2006 19:05, Jonathan Horne wrote: On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote: On 9/6/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: is it possible to have STABLE and RELENG built on a single build server? or further, is it possible to have 5.5 and 6.1 worlds built from the same machine? buildworld and buildkernel targets are fairly sophisticated. The /usr/obj tree corresponds to the source directory, so if you have your 5.5 sources in /src/5.5 and your 6.1 sources in /src/6.1 (or /usr/src/6.1 for that matter) the world(s) would be built in /usr/obj/src/5.5/ and /usr/obj/src/6.1/ repsectively. (Or /usr/obj/usr/src/6.1) If the purpose is to buildworld on one fast machine and then export it to slower machines on th' network, this works admirably well. thank you!! this was the exact hint i was hoping for! cheers, jonathan well, so far, kinda so good. i was able to cvsup 5.5-RELENG, 6.1-STABLE, and 6.1-RELENG to my build box. i did a test kernel on the 6.1-RELENG, and that went fine, pretty much as expected. but the 5.5 will not build. i get this error: [EMAIL PROTECTED] /usr/5.5-RELENG/src]# make buildkernel KERNCONF=TYCHE -- Kernel build for TYCHE started on Thu Sep 7 06:48:26 CDT 2006 -- ===> TYCHE mkdir -p /usr/obj/usr/5.5-RELENG/src/sys -- stage 1: configuring the kernel -- cd /usr/5.5-RELENG/src/sys/i386/conf; PATH=/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/games:/usr/obj/usr/5.5-RELENG/src/i386/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/5.5-RELENG/src/sys/TYCHE /usr/5.5-RELENG/src/sys/i386/conf/TYCHE ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard *** Error code 1 Stop in /usr/5.5-RELENG/src. *** Error code 1 Stop in /usr/5.5-RELENG/src. should building parts of 5.5 from a 6.1-buildserver be possible? or should i install 5.5 on my buildserver, and compile 5.5 from there as well as the higher versions? Hi, If I were you I would cvsup the entire repository (for src-all). Then I would set up chroot-ed environments for each world you want to build. When you want to do a build checkout the version you want to your chroot-ed /usr/src directory. There are more details @ /usr/src/UPDATING. In your chroot environment you'll need everything for doing a build (libraries, headers, etc.). What worked well for me was duplicating the base system root directories. One nice thing about this, for instance, is that you can have customized /etc/make.conf files. With this setup you can even do a chroot-ed install world, make dist, etc. There are hints for this in UPDATING as well. Best Regards, Duane Whitty P.S. Your email server bounced my earlier reply which, admittedly, I forgot to CC to list thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
On Wednesday 06 September 2006 19:05, Jonathan Horne wrote: > On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote: > > On 9/6/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > > is it possible to have STABLE and RELENG built on a single build > > > server? or further, is it possible to have 5.5 and 6.1 worlds built > > > from the same machine? > > > > buildworld and buildkernel targets are > > fairly sophisticated. > > > > The /usr/obj tree corresponds to the source > > directory, so if you have your 5.5 sources in > > /src/5.5 > > and your 6.1 sources in > > /src/6.1 (or /usr/src/6.1 for that matter) > > > > the world(s) would be built in > > /usr/obj/src/5.5/ and /usr/obj/src/6.1/ > > repsectively. (Or /usr/obj/usr/src/6.1) > > > > If the purpose is to buildworld on one > > fast machine and then export it to slower > > machines on th' network, this works > > admirably well. > > thank you!! this was the exact hint i was hoping for! > > cheers, > jonathan well, so far, kinda so good. i was able to cvsup 5.5-RELENG, 6.1-STABLE, and 6.1-RELENG to my build box. i did a test kernel on the 6.1-RELENG, and that went fine, pretty much as expected. but the 5.5 will not build. i get this error: [EMAIL PROTECTED] /usr/5.5-RELENG/src]# make buildkernel KERNCONF=TYCHE -- >>> Kernel build for TYCHE started on Thu Sep 7 06:48:26 CDT 2006 -- ===> TYCHE mkdir -p /usr/obj/usr/5.5-RELENG/src/sys -- >>> stage 1: configuring the kernel -- cd /usr/5.5-RELENG/src/sys/i386/conf; PATH=/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/games:/usr/obj/usr/5.5-RELENG/src/i386/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/5.5-RELENG/src/sys/TYCHE /usr/5.5-RELENG/src/sys/i386/conf/TYCHE ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard *** Error code 1 Stop in /usr/5.5-RELENG/src. *** Error code 1 Stop in /usr/5.5-RELENG/src. should building parts of 5.5 from a 6.1-buildserver be possible? or should i install 5.5 on my buildserver, and compile 5.5 from there as well as the higher versions? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote: > On 9/6/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > is it possible to have STABLE and RELENG built on a single build server? > > or further, is it possible to have 5.5 and 6.1 worlds built from the same > > machine? > > buildworld and buildkernel targets are > fairly sophisticated. > > The /usr/obj tree corresponds to the source > directory, so if you have your 5.5 sources in > /src/5.5 > and your 6.1 sources in > /src/6.1 (or /usr/src/6.1 for that matter) > > the world(s) would be built in > /usr/obj/src/5.5/ and /usr/obj/src/6.1/ > repsectively. (Or /usr/obj/usr/src/6.1) > > If the purpose is to buildworld on one > fast machine and then export it to slower > machines on th' network, this works > admirably well. thank you!! this was the exact hint i was hoping for! cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
On 9/6/06, Jonathan Horne <[EMAIL PROTECTED]> wrote: is it possible to have STABLE and RELENG built on a single build server? or further, is it possible to have 5.5 and 6.1 worlds built from the same machine? buildworld and buildkernel targets are fairly sophisticated. The /usr/obj tree corresponds to the source directory, so if you have your 5.5 sources in /src/5.5 and your 6.1 sources in /src/6.1 (or /usr/src/6.1 for that matter) the world(s) would be built in /usr/obj/src/5.5/ and /usr/obj/src/6.1/ repsectively. (Or /usr/obj/usr/src/6.1) If the purpose is to buildworld on one fast machine and then export it to slower machines on th' network, this works admirably well. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
Jonathan Horne wrote: > is it possible to have STABLE and RELENG built on a single build server? > or further, is it possible to have 5.5 and 6.1 worlds built from the same > machine? > > just wondering. :) Take a look at misc/tinderbox, it may be just what you need. --jona ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
is it possible to have STABLE and RELENG built on a single build server? or further, is it possible to have 5.5 and 6.1 worlds built from the same machine? I realise you may have meant, use one server to build different worlds for different source trees for later installation on other machines. In which case, you can also do that by cvsup-ing your source to somewhere other that /usr/src (e.g. /usr/src-6-STABLE) and building from there. That's the theory, there may be a bit more to it in practise; I've never done it but I'm sure it can be done. hackers@ has had questions in this vein so you could try searching it's archives if no-one here replies with the info. --Alex PS Your server bounced my direct reply: [EMAIL PROTECTED] SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>: host zeus.dfwlp.com [208.11.134.127]: 550 5.7.1 Access denied ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can i build more than one world on a buildserver?
Jonathan Horne wrote: is it possible to have STABLE and RELENG built on a single build server? or further, is it possible to have 5.5 and 6.1 worlds built from the same machine? Yes. Just slice up your disk and use one of the extra slices to install your other version. AFAIK, you need one slice per system because you can only boot from the "a" partition is a slice. You have to use a real slice not a logical/extended one. Or just get an extra disk and install extra system to that. Of course, you can only *run* one at a time, but you can certainly share user data between builds (though any binaries probably require compat packages). This is generally how I upgrade between major revisions. I have extra /, /usr, /var and /usr/local (called /alt, /alt/var...) and I install new version to the "alt" partitions. Then use boot manager to pick which to boot. Once I am happy with the new version I either copy it across to the original partitions or just boot the new partitions from then on and use the old partitions as the "alt"s. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can i build more than one world on a buildserver?
is it possible to have STABLE and RELENG built on a single build server? or further, is it possible to have 5.5 and 6.1 worlds built from the same machine? just wondering. :) thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"