Build fails on NetBSD 1.6 (i386)

Build fails on NetBSD 1.6 (i386)

Post by Ulrich Hobelman » Thu, 20 Feb 2003 02:56:26



I did a "cvs checkout -rnetbsd-1-6 src" and ran ./build.sh after
creating /usr/obj.
The build fails I think in some gnu subdirectory in some cvs stuff with
a message like 'unbalanced #endif in source' (and tons of that).  I also
looked at the info on www.netbsd.org about how to build -current and
tried ./build.sh tools and stuff, but that failed as well.  BTW what is
the official way to erbuild 1.6?  ./build.sh tools, then kernel, then
distribution, or just ./build.sh or even something else?

BTW is there a simple way to rerun the script _without_ it cleaning
everything first.  On my slow machine a build takes really long and I
don't want it to redo everything just to reproduce the error or whatever.

Ulrich

 
 
 

Build fails on NetBSD 1.6 (i386)

Post by Dave Uhrin » Thu, 20 Feb 2003 03:18:22



> I did a "cvs checkout -rnetbsd-1-6 src" and ran ./build.sh after
> creating /usr/obj.
> The build fails I think in some gnu subdirectory in some cvs stuff with
> a message like 'unbalanced #endif in source' (and tons of that).  I also
> looked at the info on www.netbsd.org about how to build -current and
> tried ./build.sh tools and stuff, but that failed as well.  BTW what is
> the official way to erbuild 1.6?  ./build.sh tools, then kernel, then
> distribution, or just ./build.sh or even something else?

You will probably have better success using the netbsd-1-6-PATCH001-RC2
tag.  

Build your system with ./build.sh -u

Quote:> BTW is there a simple way to rerun the script _without_ it cleaning
> everything first.  On my slow machine a build takes really long and I
> don't want it to redo everything just to reproduce the error or whatever.

Either define NOCLEANDIR or comment the line which invokes cleandir in
/usr/src/Makefile.

 
 
 

Build fails on NetBSD 1.6 (i386)

Post by Ulrich Hobelman » Thu, 20 Feb 2003 19:38:32




>>I did a "cvs checkout -rnetbsd-1-6 src" and ran ./build.sh after
>>creating /usr/obj.
>>The build fails I think in some gnu subdirectory in some cvs stuff with
>>a message like 'unbalanced #endif in source' (and tons of that).  I also
>>looked at the info on www.netbsd.org about how to build -current and
>>tried ./build.sh tools and stuff, but that failed as well.  BTW what is
>>the official way to erbuild 1.6?  ./build.sh tools, then kernel, then
>>distribution, or just ./build.sh or even something else?

> You will probably have better success using the netbsd-1-6-PATCH001-RC2
> tag.  

> Build your system with ./build.sh -u

Can 1.6.1-RC2 be considered as stable as the 1.6 patch branch (well,
though in my case the 1.6 compile doesn't work that stable...)?
I really only want to track 1.6 (maybe 1.6.1 when it's final).

Quote:

>>BTW is there a simple way to rerun the script _without_ it cleaning
>>everything first.  On my slow machine a build takes really long and I
>>don't want it to redo everything just to reproduce the error or whatever.

> Either define NOCLEANDIR or comment the line which invokes cleandir in
> /usr/src/Makefile.

Thanks very much,
   Ulrich
 
 
 

Build fails on NetBSD 1.6 (i386)

Post by Dave Uhrin » Thu, 20 Feb 2003 22:29:34



> Can 1.6.1-RC2 be considered as stable as the 1.6 patch branch (well,
> though in my case the 1.6 compile doesn't work that stable...)?
> I really only want to track 1.6 (maybe 1.6.1 when it's final).

I have had a number of difficulties in building the sources tagged
"netbsd-1-6".  Yesterday I checked out the netbsd-1-6-PATCH001-RC2 source
tree and it built with only one error; a single file had got corrupted
either in transit or within my system.  I replaced the file from the CVS
repository, restarted the build and it went to completion without error.

Last login: Tue Feb 11 05:35:34 2003
NetBSD 1.6.1_RC2 (dave) #0: Tue Feb 18 17:54:57 UTC 2003

Welcome to NetBSD!

[root]# ls -l /bin
total 6889
-r-xr-xr-x    2 root     wheel       49000 Feb 18 18:48 [
-rwxr-xr-x    1 root     wheel      750768 Jan 30 12:35 bash
-r-xr-xr-x    1 root     wheel       66788 Feb 18 18:48 cat
-r-xr-xr-x    1 root     wheel       69568 Feb 18 18:48 chio
-r-xr-xr-x    1 root     wheel       79544 Feb 18 18:48 chmod
-r-xr-xr-x    1 root     wheel       82600 Feb 18 18:48 cp

 
 
 

Build fails on NetBSD 1.6 (i386)

Post by Mishk » Fri, 21 Feb 2003 05:01:30


On Tue, 18 Feb 2003 18:56:26 +0100


> I did a "cvs checkout -rnetbsd-1-6 src" and ran ./build.sh after

Try "cd /usr/src && cvs co -rnetbsd-1-6 -P -d" instead

--
BR, Mishka.