Subject: Re: Netbsd DomU daily-08.01.2007-crashes
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Anzi <anzi@dnainternet.net>
List: port-xen
Date: 01/12/2007 14:31:48
Manuel Bouyer wrote:

>On Fri, Jan 12, 2007 at 10:37:06AM +0200, Anzi wrote:
>  
>
>>>>Now I am wondering if my DOM0 kernel is OK. There is now config file for 
>>>>DOM0 kernel in 3.1 sources? Should I use current for the dom0? or is it 
>>>>better to stick with the version I have:
>>>>/uname -a
>>>>NetBSD xenbsd 4.99.3 NetBSD 4.99.3 (XEN3_DOM0) #0: Thu Oct 26 05:44:33 
>>>>UTC 2006  
>>>>builds@pb:/home/builds/ab/HEAD/i386/200610250000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/XEN3_DOM0 
>>>>i386/
>>>>  
>>>>
>>>>        
>>>>
>>>There's not support for Xen3/dom0 in netbsd-3, you have to use current or
>>>netbsd-4 for this. I would recommend switching to NetBSD-4.0_BETA2 ...
>>>
>>>
>>>
>>>      
>>>
>>Is this correct cvs branch / version for NetBSD-4.0_BETA2 (I'm a bit 
>>confused of all version of netbsd)
>>
>>xenbsd src$ cvs status build.sh
>>===================================================================
>>File: build.sh          Status: Up-to-date
>>
>>  Working revision:    1.153
>>  Repository revision: 1.153   /cvsroot/src/build.sh,v
>>  Sticky Tag:          netbsd-4 (branch: 1.153.2)
>>  Sticky Date:         (none)
>>  Sticky Options:      (none)
>>    
>>
>
>It is
>
>  
>
>>it doesn't compile so that's the reason for asking..
>>    
>>
>
>how does it fail ?
>
>  
>

actually it is not the kernel that fails to compile (in case you were 
interested in that) it is the "/build.sh tools" script that fails:


#      link  uudecode/uudecode
cc -O -DNO_BASE64 -I/home/antti/current/src/tools/compat/obj 
-I/home/antti/current/src/tools/compat/obj/include  
-I/home/antti/current/src/tools/uudecode/../compat 
-DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64    -o uudecode 
uudecode.lo -L/home/antti/current/src/tools/compat/obj -lnbcompat -lz
dependall ===> texinfo
/home/antti/current/src/tools/texinfo/../../gnu/dist/texinfo/configure: 
1: Syntax error: ")" unexpected

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ 
CXXFLAGS=-O 
INSTALL=/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nbinstall\ 
-c\ \ -r LDFLAGS= AR=ar RANLIB=ranlib 
LEX=/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nblex 
MAKE=/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nbmake 
PATH="/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin:$PATH" 
YACC=/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nbyacc 
/bin/sh 
/home/antti/current/src/tools/texinfo/../../gnu/dist/texinfo/configure 
--program-prefix=nb 
--prefix=/home/antti/current/src/tooldir.NetBSD-4.99.3-i386)
*** Error code 2

Stop.
nbmake: stopped in /home/antti/current/src/tools/texinfo

*** Failed target:  dependall
*** Failed command: cd /home/antti/current/src/tools/texinfo; 
/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /home/antti/current/src/tools/texinfo

*** Failed target:  dependall-texinfo
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/antti/current/src/tools" ;; *) this="${dir}/"; 
real="/home/antti/current/src/tools/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/home/antti/current/src/tooldir.NetBSD-4.99.3-i386/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget texinfo dependall
*** Error code 1

Stop.
nbmake: stopped in /home/antti/current/src/tools

ERROR: Failed to make dependall tools
*** BUILD ABORTED ***