Re: Problems with Build World

2010-03-02 Thread Ron McDowell
Sorry, my mistake in wording. I am indeed wanting to follow -stable here. Replace all my uses of 'world' below with 'build' and the same questions apply. I was following http://www.openbsd.org/faq/faq5.html#Bld which appears to be a superset of the link you sent. -- Ron McDowell San Antonio

Re: Problems with Build World

2010-03-02 Thread Scott McEachern
Ron McDowell wrote: I'm relatively new to OpenBSD but have been working with FreeBSD for 15+ years and ATT/USL before that. Welcome. Rebuilt the kernel, reboot, build World, reboot. make clean make depend make install is used for kernels, and make build is used for userland. I do not know

Re: Problems with Build World

2010-03-02 Thread Stuart Henderson
On 2010-03-02, Ron McDowell r...@fuzzwad.org wrote: I'm relatively new to OpenBSD but have been working with FreeBSD for 15+ years and ATT/USL before that. I have installed OpenBSD i386 v4.6 via a boot floppy and ftp. Installed the src and sys tarballs. Rebuilt the kernel, reboot, build

Re: Problems with Build World

2010-03-02 Thread Tomas Bodzar
If you will follow exactly this manual http://www.openbsd.org/stable.html then no problem for sure. On Tue, Mar 2, 2010 at 9:04 AM, Ron McDowell r...@fuzzwad.org wrote: Sorry, my mistake in wording. B I am indeed wanting to follow -stable here. Replace all my uses of 'world' below with 'build'

Re: Problems with Build World

2010-03-02 Thread Ron McDowell
My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes on 2 copies of 4.6-stable pulled today. As I've said, I don't care about the error at this point, I want to know how the build process works. Restating my question: Does 'make build' install each subdirectory as it

Re: Problems with Build World

2010-03-02 Thread Ron McDowell
[Not sure if netiquette on this list says trim off excess stuff or leave it on...I'm leaving it on here this time. --rcm] Scott McEachern wrote: Ron McDowell wrote: I'm relatively new to OpenBSD but have been working with FreeBSD for 15+ years and ATT/USL before that. Welcome. Rebuilt the

Re: Problems with Build World

2010-03-02 Thread Tomas Bodzar
Oh so, then post your script. And looks like you may be interested in this too http://www.openbsd.org/cgi-bin/man.cgi?query=releasesektion=8 On Tue, Mar 2, 2010 at 10:15 AM, Ron McDowell r...@fuzzwad.org wrote: My script builds the 4.6-release and 4.6-stable pulled 1/26. B It chokes on 2 copies

Re: Problems with Build World

2010-03-02 Thread Tobias Ulmer
On Tue, Mar 02, 2010 at 03:15:30AM -0600, Ron McDowell wrote: My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes on 2 copies of 4.6-stable pulled today. As I've said, I don't care about the error at this point, I want to know how the build process works. Restating my

Re: Problems with Build World

2010-03-02 Thread Stuart Henderson
On 2010-03-02, Ron McDowell r...@fuzzwad.org wrote: My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes on 2 copies of 4.6-stable pulled today. As I've said, I don't care about the error at this point, I want to know how the build process works. Restating my question:

Re: Problems with Build World

2010-03-02 Thread Marc Espie
On Tue, Mar 02, 2010 at 03:15:30AM -0600, Ron McDowell wrote: My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes on 2 copies of 4.6-stable pulled today. As I've said, I don't care about the error at this point, I want to know how the build process works. Restating my

Re: Problems with Build World

2010-03-02 Thread Bryan
On 3/2/2010 12:32 PM, Marc Espie wrote: No, it's more complicated than that. It obviously installs mk stuff, then include, then it builds libs and install them, then it builds everything else and installs it. It's not a complicated bootstrap procedure like in freebsd land, it assumes you

Re: Problems with Build World

2010-03-02 Thread Otto Moerbeek
On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote: On 3/2/2010 12:32 PM, Marc Espie wrote: No, it's more complicated than that. It obviously installs mk stuff, then include, then it builds libs and install them, then it builds everything else and installs it. It's not a complicated

Re: Problems with Build World

2010-03-02 Thread Bryan
On 3/2/2010 1:22 PM, Otto Moerbeek wrote: ugh is ee bad scripting habits. what happens if /usr/obj or one of the other dirs does not exist? -Otto I know Otto... I didn't write it for production purposes... yes, I'd screw the pooch mightily if those directories did not

Re: Problems with Build World

2010-03-02 Thread Bryan Irvine
On Tue, Mar 2, 2010 at 11:17 AM, Bryan bra...@gmail.com wrote: On 3/2/2010 12:32 PM, Marc Espie wrote: No, it's more complicated than that. It obviously installs mk stuff, then include, then it builds libs and install them, then it builds everything else and installs it. It's not a

Re: Problems with Build World

2010-03-02 Thread Marc Espie
On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote: #!/bin/sh cd /usr/obj rm -rf * cd /usr/xobj rm -rf * cd /usr/build rm -rf * cp /usr/src/sys/arch/i386/conf/GENERIC.MP . config -s /usr/src/sys -b . GENERIC.MP make clean make depend make make install Never *ever* write this,

Re: Problems with Build World

2010-03-02 Thread Bryan
On 3/2/2010 1:40 PM, Marc Espie wrote: Never *ever* write this, even for your own purposes. #! /bin/sh set -e cd /usr/obj rm -rf * cd /usr/xobj rm -rf * cd /usr/build rm -rf * cp /usr/src/sys/arch/i386/conf/GENERIC.MP . config -s /usr/src/sys -b . GENERIC.MP make clean make depend make

Re: Problems with Build World

2010-03-02 Thread Miod Vallat
That's why I don't get paid the big bucks... :) I will make the changes, so I don't have to pull my hair out later... I can't stress enough how important it is to prevent things, especially computers, from causing severe loss of hair. Miod

Re: Problems with Build World

2010-03-02 Thread Otto Moerbeek
On Tue, Mar 02, 2010 at 08:09:58PM +, Miod Vallat wrote: That's why I don't get paid the big bucks... :) I will make the changes, so I don't have to pull my hair out later... I can't stress enough how important it is to prevent things, especially computers, from causing severe loss

Re: Problems with Build World

2010-03-02 Thread Ron McDowell
Thanks to everyone on-list and off- for their hints; snide remark silently ignored. Today the entire build went fine using the same scripts as yesterday... Tomas asked to see my scripts, here they are. Note that /usr/obj is symlinked to /Stash/Sources/obj, and /usr/src is symlinked to

Re: Problems with Build World

2010-03-02 Thread Hugo Villeneuve
On Tue, Mar 02, 2010 at 08:40:47PM +0100, Marc Espie wrote: On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote: [...] #! /bin/sh set -e cd /usr/obj rm -rf * cd /usr/xobj rm -rf * Stupid question: Is that even necessary before building a kernel on i386? I know mac68k/m68k archs

Re: Problems with Build World

2010-03-02 Thread Woodchuck
On Tue, Mar 2, 2010 at 4:30 PM, Hugo Villeneuve harpa...@jwales.eintr.net wrote: On Tue, Mar 02, 2010 at 08:40:47PM +0100, Marc Espie wrote: On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote: [...] #! /bin/sh set -e cd /usr/obj rm -rf * cd /usr/xobj rm -rf * Stupid question: Is

Re: Problems with Build World

2010-03-02 Thread Woodchuck
#!/bin/sh -x ver=46stable VER=OPENBSD_4_6 root=/Stash/Sources DESTDIR=/ Is this necessary or desirable? I ask because it is my impression that on NetBSD, DESTDIR=/ and DESTDIR unset is used to discriminate between a full installation, including /etc and what we're trying to do here, which

Re: Problems with Build World

2010-03-02 Thread Theo de Raadt
#!/bin/sh -x ver=46stable VER=OPENBSD_4_6 root=/Stash/Sources DESTDIR=/ Is this necessary or desirable? I ask because it is my impression that on NetBSD, DESTDIR=/ and DESTDIR unset is used to discriminate between a full installation, including /etc and what we're trying to do

Re: Problems with Build World

2010-03-02 Thread Woodchuck
On Tue, Mar 2, 2010 at 10:27 PM, Ron McDowell r...@fuzzwad.org wrote: the $ver $VER and $ROOT are my own. For $DESTDIR, see http://openbsd.org/faq/faq5.html#Bld section 5.3.5: Make sure all the appropriate directories are created. # cd /usr/src/etc env DESTDIR=/ make distrib-dirs As a

Problems with Build World

2010-03-01 Thread Ron McDowell
I'm relatively new to OpenBSD but have been working with FreeBSD for 15+ years and ATT/USL before that. I have installed OpenBSD i386 v4.6 via a boot floppy and ftp. Installed the src and sys tarballs. Rebuilt the kernel, reboot, build World, reboot. cvs -d

Re: Problems with Build World

2010-03-01 Thread Tomas Bodzar
What are you trying to accomplish? If you want to follow -stable then use this http://www.openbsd.org/stable.html (no make world anywhere in text). If you want your own kernel then it's not supported. You can do that, but you are on your own. Still -current or snapshots are best way with OpenBSD