Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-24 Thread Glen Barber
Trimmed CC a bit. On Mon, Jun 23, 2014 at 11:42:20PM -0600, Warner Losh wrote: On Jun 23, 2014, at 8:24 PM, Glen Barber g...@freebsd.org wrote: I sort of typed what I meant a bit backwards from what I intended to write. What I meant (sort of) is, I would like to discuss our forward

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-24 Thread Warner Losh
On Jun 24, 2014, at 8:43 AM, Glen Barber g...@freebsd.org wrote: Trimmed CC a bit. On Mon, Jun 23, 2014 at 11:42:20PM -0600, Warner Losh wrote: On Jun 23, 2014, at 8:24 PM, Glen Barber g...@freebsd.org wrote: I sort of typed what I meant a bit backwards from what I intended to write.

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Simon J. Gerraty
On Sat, 21 Jun 2014 18:55:40 -0400, Glen Barber writes: make make make -j8 -DNO_CLEAN buildworld This is, IMHO, the worst solution I've heard on this topic so far. I didn't say it was a good solution - but if you want -j you may not have a choice (unless you fix src/Makefile).

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Craig Rodrigues
On Thu, Jun 19, 2014 at 9:00 PM, Warner Losh i...@bsdimp.com wrote: OK. I must be daft, or maybe just missing something. But I can build 9.3 almost branch point on a current jail running on a 10.x system (to simulate the 9 on current case). I don't see the problem being talked about at all.

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Warner Losh
On Jun 23, 2014, at 5:02 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Thu, Jun 19, 2014 at 9:00 PM, Warner Losh i...@bsdimp.com wrote: OK. I must be daft, or maybe just missing something. But I can build 9.3 almost branch point on a current jail running on a 10.x system (to

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Craig Rodrigues
On Mon, Jun 23, 2014 at 4:13 PM, Warner Losh i...@bsdimp.com wrote: Which bombing out are you seeing (two or three have been sighted in this thread)? And is this a nanobsd build, or a straight buildworld? When building FreeNAS, with a hacked the nanobsd script to does make make buildworld,

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Warner Losh
On Jun 23, 2014, at 5:19 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Mon, Jun 23, 2014 at 4:13 PM, Warner Losh i...@bsdimp.com wrote: Which bombing out are you seeing (two or three have been sighted in this thread)? And is this a nanobsd build, or a straight buildworld? When

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Craig Rodrigues
Hi, OK, I think I see the issue. I looked here: http://svnweb.freebsd.org/base/stable/9/share/mk/bsd.prog.mk?view=log and saw that dim@ MFC'd his EARLY_BUILD stuff in r257812. That is why you can build stable/9 on a stable/10 host. I am building FreeBSD 9.2 which doesn't have that change.

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Warner Losh
On Jun 23, 2014, at 6:15 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, OK, I think I see the issue. I looked here: http://svnweb.freebsd.org/base/stable/9/share/mk/bsd.prog.mk?view=log and saw that dim@ MFC'd his EARLY_BUILD stuff in r257812. That is why you can build stable/9

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Glen Barber
On Mon, Jun 23, 2014 at 06:57:15PM -0600, Warner Losh wrote: On Jun 23, 2014, at 6:15 PM, Craig Rodrigues rodr...@freebsd.org wrote: So, I guess that stable/9 can build properly on a stable/10 box. For FreeBSD 9.2, there is no easy way out. You’ll have to back port the patch then. We don’t

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Warner Losh
On Jun 23, 2014, at 7:12 PM, Glen Barber g...@freebsd.org wrote: On Mon, Jun 23, 2014 at 06:57:15PM -0600, Warner Losh wrote: On Jun 23, 2014, at 6:15 PM, Craig Rodrigues rodr...@freebsd.org wrote: So, I guess that stable/9 can build properly on a stable/10 box. For FreeBSD 9.2, there is no

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Glen Barber
On Mon, Jun 23, 2014 at 07:42:27PM -0600, Warner Losh wrote: On Jun 23, 2014, at 7:12 PM, Glen Barber g...@freebsd.org wrote: On Mon, Jun 23, 2014 at 06:57:15PM -0600, Warner Losh wrote: On Jun 23, 2014, at 6:15 PM, Craig Rodrigues rodr...@freebsd.org wrote: So, I guess that stable/9

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-23 Thread Warner Losh
On Jun 23, 2014, at 8:24 PM, Glen Barber g...@freebsd.org wrote: On Mon, Jun 23, 2014 at 07:42:27PM -0600, Warner Losh wrote: On Jun 23, 2014, at 7:12 PM, Glen Barber g...@freebsd.org wrote: On Mon, Jun 23, 2014 at 06:57:15PM -0600, Warner Losh wrote: On Jun 23, 2014, at 6:15 PM, Craig

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-21 Thread Glen Barber
On Sat, Jun 21, 2014 at 03:05:05PM -0700, Simon J. Gerraty wrote: Removal of EARLY_BUILD is not the issue here, I have no idea where the hell the came into play. It is a race in the chain with what make(1) gets built for the stable/9 userland. It is why the 'make make buildworld' thing I

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-21 Thread Simon J. Gerraty
Removal of EARLY_BUILD is not the issue here, I have no idea where the hell the came into play. It is a race in the chain with what make(1) gets built for the stable/9 userland. It is why the 'make make buildworld' thing I mentioned works. IIRC all the fixes I put into src/Makefile to ensure

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-19 Thread Julian Elischer
On 6/18/14, 4:05 AM, Simon J. Gerraty wrote: On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes: Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built on a FreeBSD 10/stable, or FreeBSD CURRENT host with bmake? You would

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-19 Thread Warner Losh
On Jun 18, 2014, at 4:32 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric d...@freebsd.org wrote: See r257658 which had fixed this, but it was reverted by Warner, unfortunately. This was one of the uses of the EARLY_BUILD flag which was *not*

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-19 Thread Glen Barber
On Thu, Jun 19, 2014 at 10:00:03PM -0600, Warner Losh wrote: On Jun 18, 2014, at 4:32 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric d...@freebsd.org wrote: See r257658 which had fixed this, but it was reverted by Warner,

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-18 Thread Dimitry Andric
On 18 Jun 2014, at 01:33, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber g...@freebsd.org wrote: For what it is worth, I'm working around this problem by running: # make

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-18 Thread Craig Rodrigues
On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric d...@freebsd.org wrote: See r257658 which had fixed this, but it was reverted by Warner, unfortunately. This was one of the uses of the EARLY_BUILD flag which was *not* redundant. :-/ Warner, Is there a way to bring back the behavior of

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-18 Thread Warner Losh
On Jun 18, 2014, at 12:59 AM, Dimitry Andric d...@freebsd.org wrote: On 18 Jun 2014, at 01:33, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber g...@freebsd.org wrote: For

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-18 Thread Warner Losh
On Jun 18, 2014, at 4:32 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric d...@freebsd.org wrote: See r257658 which had fixed this, but it was reverted by Warner, unfortunately. This was one of the uses of the EARLY_BUILD flag which was *not*

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Craig Rodrigues
Simon, Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built on a FreeBSD 10/stable, or FreeBSD CURRENT host with bmake? I'm trying to build a FreeBSD stable/9 jail on a FreeBSD 10/stable host, so that I can build ports inside the jail

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Simon J. Gerraty
On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes: Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built on a FreeBSD 10/stable, or FreeBSD CURRENT host with bmake? You would likely need to apply many of the changes made in

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Craig Rodrigues
On Tue, Jun 17, 2014 at 1:05 PM, Simon J. Gerraty s...@juniper.net wrote: On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes: Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built on a FreeBSD 10/stable, or FreeBSD CURRENT host

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Lowell Gilbert
Craig Rodrigues rodr...@freebsd.org writes: On Tue, Jun 17, 2014 at 1:05 PM, Simon J. Gerraty s...@juniper.net wrote: On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes: Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Luigi Rizzo
On Tue, Jun 17, 2014 at 8:35 PM, Craig Rodrigues rodr...@freebsd.org wrote: Simon, Do you know if there is some sort of patch that can be applied to FreeBSD stable/9 sources so that it can be built on a FreeBSD 10/stable, or FreeBSD CURRENT host with bmake? I'm trying to build a FreeBSD

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Glen Barber
On Tue, Jun 17, 2014 at 01:43:55PM -0700, Craig Rodrigues wrote: On Tue, Jun 17, 2014 at 1:05 PM, Simon J. Gerraty s...@juniper.net wrote: Why not use fmake in that scenario? That might work. Is using the devel/fmake port sufficient for using fmake? If I typed make something, is there a

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Warner Losh
On Jun 17, 2014, at 3:14 PM, Glen Barber g...@freebsd.org wrote: On Tue, Jun 17, 2014 at 01:43:55PM -0700, Craig Rodrigues wrote: On Tue, Jun 17, 2014 at 1:05 PM, Simon J. Gerraty s...@juniper.net wrote: Why not use fmake in that scenario? That might work. Is using the devel/fmake port

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Craig Rodrigues
On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber g...@freebsd.org wrote: For what it is worth, I'm working around this problem by running: # make make buildworld -jN [...] Note the extra 'make', which rather than relying on the bootstrap-tools to determine which make to build, I am

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Simon J. Gerraty
Sorry, I didn't speak to the problem you hit... On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes: If I build like this: env TARGET=amd64 TARGET_ARCH=amd64 make -j 9 SRCCONF=/dev/null __MAKE_CONF=/opt/local/branches/freenas/os-base/amd64/make.conf.build NO_CLEAN=1 buildworld I get

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Simon J. Gerraty
Why not use fmake in that scenario? That might work. Is using the devel/fmake port sufficient for using fmake? So long as it is recent enough to have :tu and :tl I would expect so. If I typed make something, is there a way inside the make environment to detect if bmake or fmake was invoked,

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Craig Rodrigues
On Tue, Jun 17, 2014 at 2:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber g...@freebsd.org wrote: For what it is worth, I'm working around this problem by running: # make make buildworld -jN [...] Note the extra 'make', which rather than

Re: Problems building FreeBSD 9.2 on FreeBSD 10

2014-06-17 Thread Glen Barber
On Tue, Jun 17, 2014 at 04:33:11PM -0700, Craig Rodrigues wrote: On Tue, Jun 17, 2014 at 2:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber g...@freebsd.org wrote: For what it is worth, I'm working around this problem by running: # make

Problems building FreeBSD 9.2 on FreeBSD 10

2014-05-19 Thread Craig Rodrigues
Hi, On a FreeBSD 10 host, I am trying to build this: https://github.com/trueos/trueos which is derived from FreeBSD 9.2. If I build like this: env TARGET=amd64 TARGET_ARCH=amd64 make -j 9 SRCCONF=/dev/null __MAKE_CONF=/opt/local/branches/freenas/os-base/amd64/make.conf.build NO_CLEAN=1